[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: message.el patch
From: |
Geoff Greene |
Subject: |
Re: message.el patch |
Date: |
Sat, 2 Mar 2002 11:45:22 -0500 (EST) |
i just realized that it would have been better (i think) to put the check
for buffer-file-name in the message-mode function itself rather than the
message-set-auto-save-name function. here's a revised patch.
On Fri, 1 Mar 2002, Geoff Greene wrote:
> i just wrote a quick patch for lisp/gnus/message.el to fix an issue i have
> with it. it resets the filename of the buffer to *message* in your drafts
> directory, even if the buffer already has an associate file.
>
> this patch fixes it so that the filename will only be reset if the buffer
> is not already associated with a file. this way you can edit an email on
> disk, rather than sending it, posting it to usenet, or whatever. this is
> good for people who use newsreaders like tin that start up $EDITOR to
> compose messages, and want to write them using message-mode.
>
> i'm only just teaching myself elisp, so i might not have done it the best
> way, but it seems to work for me.
>