Re: [PATCH] emacs: add global tag history

Subject: Re: [PATCH] emacs: add global tag history

Date: Thu, 27 Jan 2022 08:28:26 -0400

To: inwit


From: David Bremner

inwit <> writes:

> On 2022-01-26 16:40, David Bremner wrote:
>> I guess for undo you will need to save the query as well?
>> Even that will not be perfect (since the messages matching the query
>> could change behind emacs back), but close enough for most interactive
>> use, maybe?
> I was thinking about saving the IDs of the messages affected by the 
> change, but I still don't know how would I go about that or if it's 
> sensible.

Absent some new feature in notmuch tag, you'd need to do another query
to get the set of message-ids. That set would still be subject to change
between that query and tagging operation, so that is a bit
unsatisfactory. Also the set of message-ids could be impractically
notmuch mailing list --
To unsubscribe send an email to