<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #2061: wish: mail composition crash recovery



#2061: wish: mail composition crash recovery

Old description:

> {{{
> if your tty gets a HUP while composing a mail (say, your inet conn breaks
> or x crashes or whatever), it is tedious to continue composing the mail.
> of course it works at all only if your editor has built-in crash
> recovery, but most reasonable ones have.
> >How-To-Repeat:
> >Fix:
> when starting to compose a mail, create a state file with the name of the
> file passed to the editor (and all headers if edit_headers is unset).
> when sending, postponing or discarding the mail, delete the file. if mutt
> starts up and the file is still there, resume the mail composition (after
> a confirmation).
> }}}

New description:

 if your tty gets a HUP while composing a mail (say, your inet conn breaks
 or x crashes or whatever), it is tedious to continue composing the mail.
 of course it works at all only if your editor has built-in crash recovery,
 but most reasonable ones have.
 >Fix:
 when starting to compose a mail, create a state file with the name of the
 file passed to the editor (and all headers if edit_headers is unset). when
 sending, postponing or discarding the mail, delete the file. if mutt
 starts up and the file is still there, resume the mail composition (after
 a confirmation).

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/2061#comment:1>