Re: [PATCH 2/2] emacs: make modifications to message Fcc vars buffer-local

Subject: Re: [PATCH 2/2] emacs: make modifications to message Fcc vars buffer-local

Date: Fri, 07 Aug 2015 07:11:19 +0300

To: David Bremner, Mark Walters, notmuch@notmuchmail.org

Cc:

From: Tomi Ollila


On Thu, Aug 06 2015, David Bremner <david@tethera.net> wrote:

> Tomi Ollila <tomi.ollila@iki.fi> writes:
>
>>
>> One thing come to my mind: would it be possible to use buffer-local
>> variable message-fcc-handler-function in notmuch-message-mode buffers so
>> that such wrapper functions defined below would not be needed. i.e.
>>
>>   (make-local-variable 'message-fcc-handler-function)
>>   (setq message-fcc-handler-function #'notmuch-fcc-handler)
>>
>
> This was my first approach, and I actually filed
>
>      http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21174
>
> about why it doesn't work.
>
> Great minds think alike / Fools seldom differ, as they say ;)

Uh ;/ You could add some note about buffer-local variables not
applicable in this context for future archeologists to understand ;)
-- either in commit message or in comment..

>
> d

Tomi

Thread: