From: David Bremner <david@tethera.net>
To: inwit <inwit@sindominio.net>
Cc: notmuch@notmuchmail.org
Subject: Re: [PATCH] emacs: add global tag history
Date: Thu, 27 Jan 2022 08:28:26 -0400 [thread overview]
Message-ID: <87czkd9xcl.fsf@tethera.net> (raw)
In-Reply-To: <950e8c5ec7ca93f9d21c9c0855971511@sindominio.net>
inwit <inwit@sindominio.net> 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
large.
next prev parent reply other threads:[~2022-01-27 12:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-26 15:32 [PATCH] emacs: add global tag history inwit
2022-01-26 15:40 ` David Bremner
2022-01-26 16:08 ` inwit
2022-01-26 16:29 ` Carl Worth
2022-01-26 17:43 ` Jose Antonio Ortega Ruiz
2022-01-27 12:23 ` inwit
2022-01-26 17:48 ` David Bremner
2022-01-26 18:00 ` David Bremner
2022-01-27 12:28 ` David Bremner [this message]
2023-01-06 11:36 ` David Bremner
2023-01-10 15:29 ` inwit
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=87czkd9xcl.fsf@tethera.net \
--to=david@tethera.net \
--cc=inwit@sindominio.net \
--cc=notmuch@notmuchmail.org \
/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).