Re: notmuch.el and replying to multiple emails at once

Subject: Re: notmuch.el and replying to multiple emails at once

Date: Tue, 08 Nov 2022 18:36:54 +0100

To: Matt Armstrong, Notmuch Mail

Cc:

From: Alexander Adolf


Matt Armstrong <matt@rfc20.org> writes:

> A feature I miss from Gnus is being able to reply to multiple emails at
> once.  Has anyone else found to be a missing feature?

I have, and support your request.

But not only to reply, but more generally to act on (tag, reply,
forward) multiple emails.

Of course I can select multiple _contiguous_ lines in a search result
list, or tree view, and do something with these messages
(`notmuch-search-tag` being an obvious example). But not when my
selection is (or would be) non-contiguous.

> I wonder if it would be easy to add to notmuch's Emacs MUA.
> [...]
> Problem is, I can't think of an unobtrusive way to add this to notmuch
> without adding a lot of machinery.

Perhaps the problem can be split into smaller pieces?

I think one piece could be to enable the user to select multiple regions
(think e.g. zones.el [1]), which could be a problem entirely separate
from notmuch.el?

[1] https://www.emacswiki.org/emacs/Zones

The second piece could be to extend notmuch.el to make use of multiple
regions, and implement more functions that act on such regions. Since
there doesn't seem to be a "standard way" of doing non-contiguous
regions in Emacs, one third-party "multi-region package" (e.g. zones.el)
would need to be picked, and notmuch.el made to detect it's availability
and make use of it.


Looking forward to your thoughts,

  --alex
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: