--- /dev/null
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id CB2E56DE1416\r
+ for <notmuch@notmuchmail.org>; Mon, 31 Aug 2015 16:12:30 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.115\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.115 tagged_above=-999 required=5 tests=[AWL=0.115]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id dicvUcUZAIso for <notmuch@notmuchmail.org>;\r
+ Mon, 31 Aug 2015 16:12:29 -0700 (PDT)\r
+Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id CC5FE6DE0B7C\r
+ for <notmuch@notmuchmail.org>; Mon, 31 Aug 2015 16:12:28 -0700 (PDT)\r
+Received: from remotemail by gitolite.debian.net with local (Exim 4.80)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1ZWYEd-0004jT-I1; Mon, 31 Aug 2015 23:11:31 +0000\r
+Received: (nullmailer pid 26344 invoked by uid 1000); Mon, 31 Aug 2015\r
+ 23:11:10 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH 2/2] emacs: add function to resend message to new\r
+ recipients\r
+In-Reply-To: <m2si6zffjx.fsf@guru.guru-group.fi>\r
+References: <1440619626-18768-1-git-send-email-tomi.ollila@iki.fi>\r
+ <1440619626-18768-2-git-send-email-tomi.ollila@iki.fi>\r
+ <87vbbxrl3g.fsf@maritornes.cs.unb.ca> <m2a8t8257b.fsf@guru.guru-group.fi>\r
+ <87lhcss06e.fsf@maritornes.cs.unb.ca> <m2si6zffjx.fsf@guru.guru-group.fi>\r
+User-Agent: Notmuch/0.20.2+60~gcb08a2e (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Mon, 31 Aug 2015 20:11:10 -0300\r
+Message-ID: <87r3mjqcj5.fsf@maritornes.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 31 Aug 2015 23:12:30 -0000\r
+\r
+Tomi Ollila <tomi.ollila@iki.fi> writes:\r
+\r
+> That is interesting in a sense that I could not reproduce. I think I know\r
+> exactly why this happens: notmuch-view-raw-message creates read-only buffer\r
+> which is not removed after message is resent: re-running\r
+> notmuch-view-raw-message on same message will `get-buffer-create' with\r
+> same name and pick the old read-only buffer; inserting data to that buffer\r
+> fails -- just that in my tests (V C-x b RET V) I could not get the same\r
+> outcome.\r
+\r
+This test actually reproduces the problem for me. Maybe it's emacs\r
+version specific? I mainly 24.5.1, but I can't duplicate the problem in\r
+emacs23.\r
+\r
+d\r