From: David Bremner Date: Mon, 31 Aug 2015 01:42:49 +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=5da03acd066ef23cbb28c8ae946bb56370eea7b6;p=notmuch-archives.git Re: [PATCH 2/2] emacs: add function to resend message to new recipients --- diff --git a/01/03ca970de7a5557707ae23c403ce26f4933289 b/01/03ca970de7a5557707ae23c403ce26f4933289 new file mode 100644 index 000000000..6f91e7a8d --- /dev/null +++ b/01/03ca970de7a5557707ae23c403ce26f4933289 @@ -0,0 +1,71 @@ +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 962F86DE0173 + for ; Sun, 30 Aug 2015 18:44:11 -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 Ka1SBQQF8KR9 for ; + Sun, 30 Aug 2015 18:44:09 -0700 (PDT) +Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224]) + by arlo.cworth.org (Postfix) with ESMTPS id 4D11B6DE00CB + for ; Sun, 30 Aug 2015 18:44:08 -0700 (PDT) +Received: from remotemail by gitolite.debian.net with local (Exim 4.80) + (envelope-from ) + id 1ZWE7p-00016P-OG; Mon, 31 Aug 2015 01:43:09 +0000 +Received: (nullmailer pid 17218 invoked by uid 1000); Mon, 31 Aug 2015 + 01:42:49 -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: +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+60~gcb08a2e (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Sun, 30 Aug 2015 22:42:49 -0300 +Message-ID: <87lhcss06e.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: Mon, 31 Aug 2015 01:44:11 -0000 + +Tomi Ollila writes: + +> +> emacs -q -L $PWD/emacs -l emacs/notmuch.el -f notmuch --eval '(progn (setq notmuch-address-command "nottoomuch-addresses.sh") (notmuch-address-message-insinuate))' +> +Ah, I missed notmuch-address-message-insinuate; it does work if I run +that. I wonder if this can be simplified at all now that +notmuch-message-mode exists. In general I'm leery of running code when +we load notmuch*.el, as this has a history of causing problems for +people using notmuch e.g. as a search tool for gnus. + +The completion interface takes a little getting used to, but it's +definitely usable. And of course much better than what we have now ;). + +One thing I noticed which I _think_ is a bug, is that after calling +notmuch-show-resend-message, notmuch-view-raw-message doesn't work +anymore, complaining about a read-only buffer. + +d