Article View: gnu.emacs.vm.bug
Article #8932Problem with vm-visit-virtual-folder
From: Rainer Schoepf
Date: Tue, 02 Mar 1993 20:25
Date: Tue, 02 Mar 1993 20:25
34 lines
1698 bytes
1698 bytes
I encountered a problem with vm-visit-virtual-folder in vm 5.32beta:
It complains about "Args out of range: 6492, 7827" when trying to
generate the summary. virtual-folder-alist is set to
'(("AMS"
( ("~/mail/AMS")
(any) )
))
where "~/mail/AMS" is a directory. I traced the problem down to the
following portion of vm-do-summary:
(set-buffer vm-mail-buffer)
(setq summary (vm-sprintf 'vm-summary-format (car mp)))
(set-buffer vm-summary-buffer)
While visiting a virtual folder, vm-mail-buffer is bound to the
summary buffer and not to the buffer containing the mail folder in
question. I changed that piece of code to
(save-excursion
(set-buffer (marker-buffer (vm-start-of (car mp))))
(setq summary (vm-sprintf 'vm-summary-format (car mp))))
Has anybody else encountered the problem?
--
Rainer Schoepf
Konrad-Zuse-Zentrum
fuer Informationstechnik Berlin
Heilbronner Strasse 10
W-1000 Berlin 31
Federal Republic of Germany
<Schoepf@sc.ZIB-Berlin.de> or <Schoepf@sc.ZIB-Berlin.dbp.de>
Technical Details
Message-ID:
<SCHOEPF.93Mar2202551@quattro.sc.zib-berlin.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!mailgzrz.tu-berlin.de!SchoepfShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f6829,4653b94f2636f8d2,start X-Google-Attributes: gidf6829,public X-Google-ArrivalTime: 1993-03-02 13:58:21 PST Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!mailgzrz.tu-berlin.de!Schoepf From: Schoepf@sc.zib-berlin.de (Rainer Schoepf) Newsgroups: gnu.emacs.vm.bug Subject: Problem with vm-visit-virtual-folder Date: 2 Mar 93 20:25:51 Organization: Konrad-Zuse-Zentrum Lines: 34 Distribution: gnu Message-ID: <SCHOEPF.93Mar2202551@quattro.sc.zib-berlin.de> Reply-To: Schoepf@sc.ZIB-Berlin.de NNTP-Posting-Host: quattro.zib-berlin.de