Re: [PATCH] Add hook inside notmuch-mua-reply

Subject: Re: [PATCH] Add hook inside notmuch-mua-reply

Date: Mon, 11 Dec 2023 23:26:27 +0100

To: David Bremner, Tomi Ollila, notmuch@notmuchmail.org

Cc:

From: Sandra Snan


I missed the other notes. I'll do a v3 renaming to 
notmuch-mua-reply-functions.

The reason I need message-id is because I need to call notmuch 
again to get other headers beyond what's included in the sexp, 
including autocrypt.

But the suggestion to jam the entire sexp is good. I did that for 
v2.  It's not more expensive for Emacs to do that since it's all 
cons cells anyway. I can just as easily grab it from the plist in 
the hooked function as I could in notmuch-mua-reply itself.

David Bremner <david@tethera.net> writes:

> Tomi Ollila <tomi.ollila@iki.fi> writes:
>>
>> another thing what should be the parameters passed, and why. this change
>> adds (just) message-id but no reasoning (nor documentation) there...
>>
>
> I wonder if we should pass the whole (parsed) original message, for
> maximum flexibility?
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: