From: David Bremner Date: Mon, 31 Aug 2015 23:11:10 +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=58ba40e856a4fcf14a41d5a510461bb1906322e5;p=notmuch-archives.git Re: [PATCH 2/2] emacs: add function to resend message to new recipients --- diff --git a/ff/003c9d1306667b21d83f2c86b360c368c923f6 b/ff/003c9d1306667b21d83f2c86b360c368c923f6 new file mode 100644 index 000000000..a26d19d7a --- /dev/null +++ b/ff/003c9d1306667b21d83f2c86b360c368c923f6 @@ -0,0 +1,68 @@ +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 CB2E56DE1416 + for ; Mon, 31 Aug 2015 16:12:30 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.115 +X-Spam-Level: +X-Spam-Status: No, score=0.115 tagged_above=-999 required=5 tests=[AWL=0.115] + 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 dicvUcUZAIso for ; + Mon, 31 Aug 2015 16:12:29 -0700 (PDT) +Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224]) + by arlo.cworth.org (Postfix) with ESMTPS id CC5FE6DE0B7C + for ; Mon, 31 Aug 2015 16:12:28 -0700 (PDT) +Received: from remotemail by gitolite.debian.net with local (Exim 4.80) + (envelope-from ) + id 1ZWYEd-0004jT-I1; Mon, 31 Aug 2015 23:11:31 +0000 +Received: (nullmailer pid 26344 invoked by uid 1000); Mon, 31 Aug 2015 + 23:11:10 -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> + <87lhcss06e.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: Mon, 31 Aug 2015 20:11:10 -0300 +Message-ID: <87r3mjqcj5.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 23:12:30 -0000 + +Tomi Ollila writes: + +> That is interesting in a sense that I could not reproduce. I think I know +> exactly why this happens: notmuch-view-raw-message creates read-only buffer +> which is not removed after message is resent: re-running +> notmuch-view-raw-message on same message will `get-buffer-create' with +> same name and pick the old read-only buffer; inserting data to that buffer +> fails -- just that in my tests (V C-x b RET V) I could not get the same +> outcome. + +This test actually reproduces the problem for me. Maybe it's emacs +version specific? I mainly 24.5.1, but I can't duplicate the problem in +emacs23. + +d