unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Alexander Adolf <alexander.adolf@condition-alpha.com>
To: Matt Armstrong <matt@rfc20.org>, Notmuch Mail <notmuch@notmuchmail.org>
Subject: Re: notmuch.el and replying to multiple emails at once
Date: Tue, 08 Nov 2022 18:36:54 +0100	[thread overview]
Message-ID: <92326b6c8463cf91cee04cfe49155273@condition-alpha.com> (raw)
In-Reply-To: <87k046ofcp.fsf@rfc20.org>

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

  reply	other threads:[~2022-11-08 17:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-07 17:15 notmuch.el and replying to multiple emails at once Matt Armstrong
2022-11-08 17:36 ` Alexander Adolf [this message]
2022-11-08 18:09   ` Jose A Ortega Ruiz
2022-11-09 16:18     ` Dan Čermák

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=92326b6c8463cf91cee04cfe49155273@condition-alpha.com \
    --to=alexander.adolf@condition-alpha.com \
    --cc=matt@rfc20.org \
    --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).