Article View: gnu.emacs.vm.bug
Article #9459Re: Saving and restoring messages (was Re: dead.letter capability in VM)
From: Joe Wells
Date: Fri, 16 Aug 1991 23:38
Date: Fri, 16 Aug 1991 23:38
25 lines
2212 bytes
2212 bytes
Boris 'codetermine' Goldowsky writes:
> 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?
This is the kind of functionality that belongs in saveconf.el. Perhaps it
is in Dirk Grunwald's enhanced saveconf or Bob Weiner's em-config.
--
Enjoy,
Joe Wells <jbw@uswest.com>
Technical Details
Message-ID:
<JBW.91Aug16163853@maverick.uswest.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!csn!cherokee!newsat!jbwReferences:
<1991Aug14.211452.13585@galileo.cc.rochester.edu> <9108121800.AA05212@wendy-fate.UU.NET> <9108141842.AA20013@wendy-fate.UU.NET> <JBW.91Aug13163021@maverick.uswest.com> <9108162018.AA08517@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-16 21:14:33 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!csn!cherokee!newsat!jbw From: jbw@maverick.uswest.com (Joe Wells) Newsgroups: gnu.emacs.vm.bug Subject: Re: Saving and restoring messages (was Re: dead.letter capability in VM) Message-ID: <JBW.91Aug16163853@maverick.uswest.com> Date: 16 Aug 91 23:38:53 GMT References: <1991Aug14.211452.13585@galileo.cc.rochester.edu> <9108121800.AA05212@wendy-fate.UU.NET> <9108141842.AA20013@wendy-fate.UU.NET> <JBW.91Aug13163021@maverick.uswest.com> <9108162018.AA08517@wendy-fate.UU.NET> Sender: news@cherokee.uswest.com (Telegraph Row) Organization: U S West Advanced Technologies Lines: 25 In-Reply-To: kyle@wendy-fate.uu.net's message of 16 Aug 91 20: 18:19 GMT Nntp-Posting-Host: maverick.uswest.com