1 Return-Path: <markwalters1009@gmail.com>
\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 arlo.cworth.org (Postfix) with ESMTP id 3FD986DE1744
\r
6 for <notmuch@notmuchmail.org>; Sat, 7 Nov 2015 03:05:05 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-0.145 tagged_above=-999 required=5 tests=[AWL=0.425,
\r
12 DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7,
\r
14 RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001]
\r
16 Received: from arlo.cworth.org ([127.0.0.1])
\r
17 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
18 with ESMTP id AIEEqRYGe3iu for <notmuch@notmuchmail.org>;
\r
19 Sat, 7 Nov 2015 03:05:03 -0800 (PST)
\r
20 Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com
\r
22 by arlo.cworth.org (Postfix) with ESMTPS id 8A0126DE1916
\r
23 for <notmuch@notmuchmail.org>; Sat, 7 Nov 2015 03:04:51 -0800 (PST)
\r
24 Received: by wikq8 with SMTP id q8so43978314wik.1
\r
25 for <notmuch@notmuchmail.org>; Sat, 07 Nov 2015 03:04:50 -0800 (PST)
\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
27 h=from:to:cc:subject:date:message-id:in-reply-to:references;
\r
28 bh=JENGZov6KU97kg39mFI3k+XMtL72CPFJ5HLoSW6v6u8=;
\r
29 b=IcIpx8BYY0z97ccF+QTJ5bDhbw1EEiaOeBklYbuO5uGXlYsxtABbpAwwC6DSWHCTmy
\r
30 a/icgGFA827x/9ICZ5mrh4mO10cfqnsBoJnkRvq1/zakY4y824ecRj5Cc13yOWmRteBS
\r
31 Kvs0dZUYKcB+nkDwjRYUYSLXVa2bGl4LDe72STAttI3kkMQpxmg9INyOPZnPdRMbuUSi
\r
32 qGDqCfjZ1t33Co78S1fPvNlOERj2DZpjE0dn1qZWF7/IfYnZ3aSCNiY9zdelYbcmy+2e
\r
33 BtSqr3QKVN9lAlujxTsl8gx4xJFfzyR+t+x8j5UyN+lM+2VxZlTgIkLvkOE2iSTJujgX
\r
35 X-Received: by 10.194.105.38 with SMTP id gj6mr18731440wjb.130.1446894290017;
\r
36 Sat, 07 Nov 2015 03:04:50 -0800 (PST)
\r
37 Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162])
\r
38 by smtp.gmail.com with ESMTPSA id vr10sm4538429wjc.38.2015.11.07.03.04.48
\r
39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
\r
40 Sat, 07 Nov 2015 03:04:49 -0800 (PST)
\r
41 From: Mark Walters <markwalters1009@gmail.com>
\r
42 To: notmuch@notmuchmail.org
\r
43 Subject: [PATCH v4 4/7] emacs/show: Remove the 'no-buttons option of
\r
44 `notmuch-show-insert-bodypart'
\r
45 Date: Sat, 7 Nov 2015 11:04:33 +0000
\r
46 Message-Id: <1446894276-7814-5-git-send-email-markwalters1009@gmail.com>
\r
47 X-Mailer: git-send-email 2.1.4
\r
48 In-Reply-To: <1446894276-7814-1-git-send-email-markwalters1009@gmail.com>
\r
49 References: <1446894276-7814-1-git-send-email-markwalters1009@gmail.com>
\r
50 X-BeenThere: notmuch@notmuchmail.org
\r
51 X-Mailman-Version: 2.1.20
\r
53 List-Id: "Use and development of the notmuch mail system."
\r
54 <notmuch.notmuchmail.org>
\r
55 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
\r
56 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
58 List-Post: <mailto:notmuch@notmuchmail.org>
\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
60 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
\r
61 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
62 X-List-Received-Date: Sat, 07 Nov 2015 11:05:05 -0000
\r
64 From: David Edmondson <dme@dme.org>
\r
66 No code uses the 'no-buttons argument to
\r
67 `notmuch-show-insert-bodypart', so remove it.
\r
69 emacs/notmuch-show.el | 7 ++-----
\r
70 1 file changed, 2 insertions(+), 5 deletions(-)
\r
72 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
73 index 9fc79e0..f8184e2 100644
\r
74 --- a/emacs/notmuch-show.el
\r
75 +++ b/emacs/notmuch-show.el
\r
76 @@ -956,9 +956,7 @@ (defun notmuch-show-insert-bodypart (msg part depth &optional hide)
\r
78 HIDE determines whether to show or hide the part and the button
\r
79 as follows: If HIDE is nil, show the part and the button. If HIDE
\r
80 -is t, hide the part initially and show the button. If HIDE is
\r
81 -'no-buttons, show the part but do not add any buttons (this is
\r
82 -useful for quoting in replies)."
\r
83 +is t, hide the part initially and show the button."
\r
85 (let* ((content-type (downcase (plist-get part :content-type)))
\r
86 (mime-type (notmuch-show-mime-type part))
\r
87 @@ -969,8 +967,7 @@ (defun notmuch-show-insert-bodypart (msg part depth &optional hide)
\r
89 ;; We omit the part button for the first (or only) part if
\r
90 ;; this is text/plain, or HIDE is 'no-buttons.
\r
91 - (button (when (and (not (equal hide 'no-buttons))
\r
92 - (notmuch-show-insert-header-p part hide))
\r
93 + (button (when (notmuch-show-insert-header-p part hide)
\r
94 (notmuch-show-insert-part-header nth mime-type content-type (plist-get part :filename))))
\r
95 ;; Hide the part initially if HIDE is t, or if it is too long
\r
96 ;; and we have a button to allow toggling (thus reply which
\r