unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Sandra Snan <sandra.snan@idiomdrottning.org>
To: David Bremner <david@tethera.net>,
	Tomi Ollila <tomi.ollila@iki.fi>,
	notmuch@notmuchmail.org
Subject: Re: [PATCH] Add hook inside notmuch-mua-reply
Date: Mon, 11 Dec 2023 23:26:27 +0100	[thread overview]
Message-ID: <87o7ews7e4.fsf@ellen.idiomdrottning.org> (raw)
In-Reply-To: <877clkc3dm.fsf@tethera.net>

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?

      reply	other threads:[~2023-12-11 22:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-10 22:40 [PATCH] Add hook inside notmuch-mua-reply Sandra Snan
2023-12-11 12:03 ` David Bremner
2023-12-11 12:14   ` Tomi Ollila
2023-12-11 12:47     ` David Bremner
2023-12-11 22:26       ` Sandra Snan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o7ews7e4.fsf@ellen.idiomdrottning.org \
    --to=sandra.snan@idiomdrottning.org \
    --cc=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    --cc=tomi.ollila@iki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).