From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 4031A6DE1512 for ; Sun, 30 Aug 2015 08:00:24 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 1.204 X-Spam-Level: * X-Spam-Status: No, score=1.204 tagged_above=-999 required=5 tests=[AWL=-0.192, SPF_NEUTRAL=0.652, URIBL_SBL=0.644, URIBL_SBL_A=0.1] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y5mbZp5K8qK8 for ; Sun, 30 Aug 2015 08:00:22 -0700 (PDT) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by arlo.cworth.org (Postfix) with ESMTP id B8AC76DE14FD for ; Sun, 30 Aug 2015 08:00:20 -0700 (PDT) Received: from guru.guru-group.fi (localhost [IPv6:::1]) by guru.guru-group.fi (Postfix) with ESMTP id 4DAE710005A; Sun, 30 Aug 2015 17:58:49 +0300 (EEST) From: Tomi Ollila To: David Bremner , notmuch@notmuchmail.org Subject: Re: [PATCH 2/2] emacs: add function to resend message to new recipients In-Reply-To: <87vbbxrl3g.fsf@maritornes.cs.unb.ca> References: <1440619626-18768-1-git-send-email-tomi.ollila@iki.fi> <1440619626-18768-2-git-send-email-tomi.ollila@iki.fi> <87vbbxrl3g.fsf@maritornes.cs.unb.ca> User-Agent: Notmuch/0.20.2+68~g0c35549 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2015 15:00:24 -0000 On Sun, Aug 30 2015, David Bremner wrote: > Tomi Ollila 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? Nope. both of the above should work -- and worked for me just now (this is how I tested just now: emacs -q -L $PWD/emacs -l emacs/notmuch.el -f notmuch --eval '(progn (setq notmuch-address-command "nottoomuch-addresses.sh") (notmuch-address-message-insinuate))' ) >> 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. I agree that we don't want to to multi-letter sequences (early). I personally would be fine w/ 'b'... Tomi