1 Return-Path: <dme@dme.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 3990E431FB6
\r
6 for <notmuch@notmuchmail.org>; Sun, 15 Jun 2014 22:30:27 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id WbIvuWjkoTSd for <notmuch@notmuchmail.org>;
\r
16 Sun, 15 Jun 2014 22:30:21 -0700 (PDT)
\r
17 Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com
\r
18 [74.125.82.46]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
19 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
20 80E5A431FAE for <notmuch@notmuchmail.org>; Sun, 15 Jun 2014 22:30:21 -0700
\r
22 Received: by mail-wg0-f46.google.com with SMTP id y10so5059531wgg.5
\r
23 for <notmuch@notmuchmail.org>; Sun, 15 Jun 2014 22:30:19 -0700 (PDT)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=1e100.net; s=20130820;
\r
26 h=x-gm-message-state:content-type:mime-version:subject:from
\r
27 :in-reply-to:date:cc:content-transfer-encoding:message-id:references
\r
28 :to; bh=L8iIPG9j6WTJu4GK9cxO7A1vLqJ/mdcw1upg5N68y0M=;
\r
29 b=eOZKK+RvwpI4IRfVbO5ZjQNUGM8/YtK8jzc26Q8pZJpFxgsueiLc/AFpL/+/uxSTy/
\r
30 8VImscBq4MhDwAzBAL6fa4Xsco4mPbAC6K45JP1ps8B8wHDJIGwtYCDIQ58idfmFANZv
\r
31 Yfx4E/g6sgMWjO0n2P9+RaWFk5zouIEPXReFZwve+a6ib2CFXl4AlDFap0/XcBF2BEdh
\r
32 fNL7D2AncveH3sl4oWMTueltBj4lozeMNW0d43TdlC9RyGQvHfwoBJmf7HlEoJIWEPBx
\r
33 P1DNcseVw1mgYImRYJA9i+48Aap8Hw8FslRXI+X8GKpz+4TzIo6Dz+TK76ExU17KWXYz
\r
36 ALoCoQmVvcZPI20lWLkesYrOTM1TN0YWJFEYdezEGQ0F5lQ32+1foZ0LY4y7G0s3LCsjb5xysjfb
\r
37 X-Received: by 10.180.160.205 with SMTP id xm13mr24333243wib.13.1402896618836;
\r
38 Sun, 15 Jun 2014 22:30:18 -0700 (PDT)
\r
39 Received: from fenchurch.hh.sledj.net (disaster-area.hh.sledj.net.
\r
40 [81.149.164.25]) by mx.google.com with ESMTPSA id
\r
41 do5sm12456981wib.16.2014.06.15.22.30.14 for <multiple recipients>
\r
42 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
\r
43 Sun, 15 Jun 2014 22:30:15 -0700 (PDT)
\r
44 Content-Type: text/plain; charset=us-ascii
\r
45 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\))
\r
46 Subject: [PATCH v1] emacs: Forwarded messages should not have modified buffers
\r
47 From: David Edmondson <dme@dme.org>
\r
48 In-Reply-To: <87wqch5309.fsf@zancas.localnet>
\r
49 Date: Mon, 16 Jun 2014 06:30:11 +0100
\r
50 Content-Transfer-Encoding: quoted-printable
\r
51 Message-Id: <1E19E1E0-044E-4616-B951-FC8FEFA49071@dme.org>
\r
52 References: <cunzjhv1wa5.fsf@gargravarr.hh.sledj.net>
\r
53 <87wqch5309.fsf@zancas.localnet>
\r
54 To: David Bremner <david@tethera.net>
\r
55 X-Mailer: Apple Mail (2.1878.2)
\r
56 Cc: notmuch@notmuchmail.org
\r
57 X-BeenThere: notmuch@notmuchmail.org
\r
58 X-Mailman-Version: 2.1.13
\r
60 List-Id: "Use and development of the notmuch mail system."
\r
61 <notmuch.notmuchmail.org>
\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
63 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
65 List-Post: <mailto:notmuch@notmuchmail.org>
\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
68 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
69 X-List-Received-Date: Mon, 16 Jun 2014 05:30:27 -0000
\r
71 When the user begins forwarding a message, the resulting composition
\r
72 buffer should not be marked as modified, in order that it can
\r
73 immediately be killed without prompting.
\r
75 emacs/notmuch-mua.el | 3 ++-
\r
76 1 file changed, 2 insertions(+), 1 deletion(-)
\r
78 diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
\r
79 index 95e4a4d..2c58886 100644
\r
80 --- a/emacs/notmuch-mua.el
\r
81 +++ b/emacs/notmuch-mua.el
\r
82 @@ -346,7 +346,8 @@ the From: address first."
\r
83 (message-forward-make-body cur)
\r
84 ;; `message-forward-make-body' shows the User-agent header. Hide
\r
86 - (message-hide-headers)))
\r
87 + (message-hide-headers)
\r
88 + (set-buffer-modified-p nil)))
\r
90 (defun notmuch-mua-new-reply (query-string &optional prompt-for-sender =
\r
92 "Compose a reply to the message identified by QUERY-STRING.
\r