Re: When exactly is the post-insert hook called?

2024-10-03 Thread Ralph Seichter
Oops, looks like I somehow hijacked a thread instead of creating a new one. Sorry, my bad. I guess switching one's MUA is not easily done without small hiccups along the way. -Ralph ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send

When exactly is the post-insert hook called?

2024-10-03 Thread Ralph Seichter
I have been using a post-new hook for ages without problems, and today I got curious about post-insert. I set up ~/.maildir/.notmuch/hooks/post-insert like I previously did with post-new. Whenever invoked manually, post-insert notes an event in a log file. The issue is that I don't see post-insert

Re: Hooks for sending/replying to set a custom header

2024-10-03 Thread Xiyue Deng
Hi David, David Bremner writes: > Xiyue Deng writes: > >> Let me start by saying that I have been enjoying notmuch recently and >> wish I had tried notmuch much earlier. >> >> I do encounter a small issue on managing multiple email accounts: I set >> `message-default-mail-headers' with the SMTP

Re: Hooks for sending/replying to set a custom header

2024-10-03 Thread David Bremner
Xiyue Deng writes: > Let me start by saying that I have been enjoying notmuch recently and > wish I had tried notmuch much earlier. > > I do encounter a small issue on managing multiple email accounts: I set > `message-default-mail-headers' with the SMTP settings and email address > so that smtpm

Re: [PATCH v2 2/4] cli: start remote helper for git.

2024-10-03 Thread David Bremner
David Bremner writes: > David Bremner writes: > >> +EXPECTED=$NOTMUCH_SRCDIR/test/git-remote.expected-output >> +MAKE_EXPORT_PY=$NOTMUCH_SRCDIR/test/make-export.py > > I see I lost the script make-export.py going from v1 to v2. I will > re-roll the series to include it, but I want try a refactor

Re: [PATCH v2 2/4] cli: start remote helper for git.

2024-10-03 Thread David Bremner
David Bremner writes: > +EXPECTED=$NOTMUCH_SRCDIR/test/git-remote.expected-output > +MAKE_EXPORT_PY=$NOTMUCH_SRCDIR/test/make-export.py I see I lost the script make-export.py going from v1 to v2. I will re-roll the series to include it, but I want try a refactor that puts the URL parsing into th

Hooks for sending/replying to set a custom header

2024-10-03 Thread Xiyue Deng
Hi, Let me start by saying that I have been enjoying notmuch recently and wish I had tried notmuch much earlier. I do encounter a small issue on managing multiple email accounts: I set `message-default-mail-headers' with the SMTP settings and email address so that smtpmail can send the mail throu