🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #803

vm-delete-empty-folders feature request

#803
From: John W. Eaton
Date: Thu, 07 Aug 2003 16:33
34 lines
2118 bytes
Hi,

I have vm-delete-empty-folders set to t because usually I don't want
empty folders hanging around.  However, I often find myself emptying
out folders which have corresponding spool files.  Then when I try to
visit these folders again using file name completion, Emacs sees the
spool file and completes the entire spool file name, so I end up
having to delte the ".spool" part of the completed folder name.

Would it be possible to have vm-delete-empty-folders only delete empty
folders for which there is no corresponding spool file?

If this behavior is easily achieved now (I'm using VM 7.17) it is not
obvious to me.

Or, is there an easy way to modify the folder name completion so that
this works the way I want (i.e., if ~/VM/foo.spool exists and I type

  v f TAB

then completion stops at ~/VM/foo)?  I would probably only want this
behavior when using vm-visit-folder.

Or, is there a better solution (I'd really rather not set
vm-delete-empty-folders to nil)?

Thanks,

jwe

-- 
www.octave.org        | Unfortunately we were hopelessly optimistic in 1954
www.che.wisc.edu/~jwe | about the problems of debugging FORTRAN programs.
                      |                                       -- J. Backus
Technical Details
Message-ID: <85k79pig1p.fsf@ricotta.che.wisc.edu>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!uwm.edu!news.doit.wisc.edu!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6829,a0440c47d0e1857b,start
X-Google-Attributes: gidf6829,public
X-Google-ArrivalTime: 2003-08-07 09:45:06 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!uwm.edu!news.doit.wisc.edu!not-for-mail
From: jwe@bevo.che.wisc.edu (John W. Eaton)
Newsgroups: gnu.emacs.vm.bug
Subject: vm-delete-empty-folders feature request
Date: 07 Aug 2003 11:33:06 -0500
Organization: University of Wisconsin, Madison
Lines: 34
Sender: jwe@ricotta.che.wisc.edu
Message-ID: <85k79pig1p.fsf@ricotta.che.wisc.edu>
NNTP-Posting-Host: ricotta.che.wisc.edu
X-Trace: news.doit.wisc.edu 1060273985 4637 128.104.179.160 (7 Aug 2003 16:33:05 GMT)
X-Complaints-To: abuse@doit.wisc.edu
NNTP-Posting-Date: Thu, 7 Aug 2003 16:33:05 +0000 (UTC)
X-Newsreader: Gnus v5.7/Emacs 20.7