Re: [PATCH] emacs: Remove notmuch-mua-message-send-hook

Subject: Re: [PATCH] emacs: Remove notmuch-mua-message-send-hook

Date: Mon, 14 Sep 2020 09:56:33 +1000

To: Tomi Ollila, notmuch@notmuchmail.org

Cc:

From: Tim Quelch


> Looks good to me. everyone who rewrote notmuch-mua-message-send-hook
> (i hope none) have to find better solution (or just...)

I think that would be an incredibly small minority of people who did
that. The obvious (and easiest) customisation point has been to add a
function to `notmuch-message-send-hook` or to `message-send-hook` rather
than actually relying on overwriting or advising
`notmuch-mua-message-send-hook`


> Hmm, this is defcustom. If that (old default) is stored in 
> custom-set-variables have to remove it -- at least my  
> custom-set-variables does not reference to this hook variable, so
> most probably the effect (if any) is small...

A safer route I guess would be to just change the default value of the
hook and mark the function as obsolete.


Tim Quelch
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: