Article View: gnu.emacs.vm.bug
Article #8854vm-5.32 bug/misfeature in vm-visit-folder
From: Nelson Minar
Date: Sat, 08 May 1993 00:26
Date: Sat, 08 May 1993 00:26
21 lines
1709 bytes
1709 bytes
This isn't necessarily a bug but it was causing me a lot of grief.
The fourth argument to the call of read-file-name in vm-visit-folder
is t, which tells read-file-name to silently complete the filename.
This was a problem for a particular thing I was doing: to facilitate
interaction with procmail, I have a bunch of spool files named
"inbox.mbox" and "root.mbox". Each spool file is linked to a mailbox.
The problem is if the file "root" doesn't exist and I try to visit the
"root" folder, read-file-name will silently complete to "root.mbox"
and vm will end up visiting that file instead. And, because vm deletes
files if the mailbox is empty, this problem was occurring fairly
frequently.
What I want vm to do is to create a new file "root" and incorporate
mail from the file root.mbox. Changing the fourth argument in the
read-file-name call to "nil" accomplishes this. You lose automatic
filename completion, but I'm not sure that's such a bad thing. You can
still hit tab.
__
nelson@reed.edu \/ Fortune presents gifts not according to the book
Technical Details
Message-ID:
<1993May8.002613.28568@reed.edu>Path:
arc1-ca.pugleaf.net!gmd.de!ira.uka.de!howland.reston.ans.net!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!reed!nelsonShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f6829,4f1b8b8f54f5700c,start X-Google-Attributes: gidf6829,public X-Google-ArrivalTime: 1993-05-07 18:43:32 PST Path: arc1-ca.pugleaf.net!gmd.de!ira.uka.de!howland.reston.ans.net!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!reed!nelson From: nelson@reed.edu (Nelson Minar) Newsgroups: gnu.emacs.vm.bug Subject: vm-5.32 bug/misfeature in vm-visit-folder Message-ID: <1993May8.002613.28568@reed.edu> Date: 8 May 93 00:26:13 GMT Article-I.D.: reed.1993May8.002613.28568 Reply-To: nelson@reed.edu (Nelson Minar) Organization: Reed College, Portland, OR Lines: 21