Article View: gnu.emacs.vm.bug
Article #9457Saving and restoring messages (was Re: dead.letter capability in VM)
From: Boris 'codetermine' Goldowsky
Date: Wed, 14 Aug 1991 21:14
Date: Wed, 14 Aug 1991 21:14
27 lines
2335 bytes
2335 bytes
One nice, related feature would be the ability to save a message with some
indication (ie, a .msg suffix) that tells emacs that it is a
partially-completed message and should therefore be edited in mail-mode.
Unsent mail buffers should, by the same token, be associated with files so
that if you exit emacs you are given the option of saving them for
completion later. Similar tactics could be used to pick up a dead.letter
for fixing and sending.
I use a mail-mode-hook and auto-mode-alist that accomplish the above---if I
exit with modified but un-sent messages, it asks me whether to save them in
~/mail/username.msg, and when these files are visited they are in
mail-mode, ready to be sent with C-c C-c. The code is embarrassingly
kludgy, though, so I will not post it :-) It could be much cleaner if it
were incorporated into VM itself... or am I the only one who ever leaves a
message unfinished overnight?
On a related note, I would also enjoy seeing folders that, when visited,
can put themselves in the correct mode, so I can use C-x C-f to visit
folders as well as other files.
Bng
--
Boris Goldowsky The only way you'll end up in a corner
Is by walking in too straight of a li
boris@prodigal.psych.rochester.edu --Claudia Schmidt n
57 Glasgow Street, Rochester, NY 14608 e
Technical Details
Message-ID:
<1991Aug14.211452.13585@galileo.cc.rochester.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!ub!galileo.cc.rochester.edu!prodigal.psych.rochester.edu!borisReferences:
<9108121800.AA05212@wendy-fate.UU.NET> <JBW.91Aug13163021@maverick.uswest.com> <9108141842.AA20013@wendy-fate.UU.NET>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f6829,32d8982dad751f51 X-Google-Attributes: gidf6829,public X-Google-ArrivalTime: 1991-08-14 21:24:15 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!ub!galileo.cc.rochester.edu!prodigal.psych.rochester.edu!boris From: boris@prodigal.psych.rochester.edu (Boris 'codetermine' Goldowsky) Newsgroups: gnu.emacs.vm.bug Subject: Saving and restoring messages (was Re: dead.letter capability in VM) Summary: my quick hack Message-ID: <1991Aug14.211452.13585@galileo.cc.rochester.edu> Date: 14 Aug 91 21:14:52 GMT References: <9108121800.AA05212@wendy-fate.UU.NET> <JBW.91Aug13163021@maverick.uswest.com> <9108141842.AA20013@wendy-fate.UU.NET> Sender: news@galileo.cc.rochester.edu Reply-To: boris@prodigal.psych.rochester.edu Organization: University of Rochester, Rochester NY Lines: 27