Re: [PATCH 2/2] emacs: add function to resend message to new recipients

Subject: Re: [PATCH 2/2] emacs: add function to resend message to new recipients

Date: Sun, 30 Aug 2015 09:56:19 -0300

To: Tomi Ollila, notmuch@notmuchmail.org

Cc:

From: David Bremner


Tomi Ollila <tomi.ollila@iki.fi> writes:

> The new function notmuch-show-message-resend re-sends
> message to new recipients using #'message-resend.
>
> Recipients are read from minibuffer as a comma-separated
> string (with some keyboard support including tab completion).
>

I couldn't get the tab completion to work, at least if I go

  M-x notmuch-show-resend-message

nor when evaluating (notmuch-address-from-minibuffer "foo:")

Do I need to bind a key to test this?

> I remember that Emacs VM might have had 'b' bound to this functionality
> but I cannot be sure. A few weeks ago I looked gnus, rmail & mh-e to
> figure out whether 'b' would have been bound to similar functionality
> there but I cannot find it...

mutt uses 'b'. AFAICT, gnus uses some sequence ending in b to resend
bounced messages (i.e. from mailer-daemon).

quoting the manual:

S D b

    If you have sent a mail, but the mail was bounced back to you for
    some reason (wrong address, transient failure), you can use this
    command to resend that bounced mail
    (gnus-summary-resend-bounced-mail). [...]
    
S D r

    Not to be confused with the previous command,
    gnus-summary-resend-message will prompt you for an address to send
    the current message off to, and then send it to that place. [...]

Be that as it may, we already use 'r' for reply, and I'm not sure we
want to go (more) in the way of multi-letter sequences.


Thread: