From: David Bremner Date: Sun, 30 Aug 2015 12:56:19 +0000 (+2100) Subject: Re: [PATCH 2/2] emacs: add function to resend message to new recipients X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0de8fe57c2a290cff614d4453622e38c748e4153;p=notmuch-archives.git Re: [PATCH 2/2] emacs: add function to resend message to new recipients --- diff --git a/07/2eb361e91be2e1318c887fda5c65af1d9fc51e b/07/2eb361e91be2e1318c887fda5c65af1d9fc51e new file mode 100644 index 000000000..edff821b5 --- /dev/null +++ b/07/2eb361e91be2e1318c887fda5c65af1d9fc51e @@ -0,0 +1,94 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id A13196DE18FD + for ; Sun, 30 Aug 2015 05:57:39 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.116 +X-Spam-Level: +X-Spam-Status: No, score=0.116 tagged_above=-999 required=5 tests=[AWL=0.116] + 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 ORj40ituW-zN for ; + Sun, 30 Aug 2015 05:57:38 -0700 (PDT) +Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224]) + by arlo.cworth.org (Postfix) with ESMTPS id E01A06DE18FC + for ; Sun, 30 Aug 2015 05:57:37 -0700 (PDT) +Received: from remotemail by gitolite.debian.net with local (Exim 4.80) + (envelope-from ) + id 1ZW2A4-0007Pl-Dg; Sun, 30 Aug 2015 12:56:40 +0000 +Received: (nullmailer pid 16253 invoked by uid 1000); Sun, 30 Aug 2015 + 12:56:19 -0000 +From: David Bremner +To: Tomi Ollila , notmuch@notmuchmail.org +Subject: Re: [PATCH 2/2] emacs: add function to resend message to new + recipients +In-Reply-To: <1440619626-18768-2-git-send-email-tomi.ollila@iki.fi> +References: <1440619626-18768-1-git-send-email-tomi.ollila@iki.fi> + <1440619626-18768-2-git-send-email-tomi.ollila@iki.fi> +User-Agent: Notmuch/0.20.2+60~gcb08a2e (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Sun, 30 Aug 2015 09:56:19 -0300 +Message-ID: <87vbbxrl3g.fsf@maritornes.cs.unb.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 12:57:39 -0000 + +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? + +> 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. +