From: David Edmondson Date: Tue, 8 Mar 2016 17:12:57 +0000 (+0000) Subject: [PATCH v1 1/3] emacs: `notmuch-show-insert-part-multipart/encrypted' should not assum... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=98e13ac4107e92b94a726a02578bfb95a0946fdd;p=notmuch-archives.git [PATCH v1 1/3] emacs: `notmuch-show-insert-part-multipart/encrypted' should not assume the presence of a button. --- diff --git a/4d/ce81e70c51edbca7631879e4f833ec5675c6da b/4d/ce81e70c51edbca7631879e4f833ec5675c6da new file mode 100644 index 000000000..8b6901bab --- /dev/null +++ b/4d/ce81e70c51edbca7631879e4f833ec5675c6da @@ -0,0 +1,102 @@ +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 60A856DE13CC + for ; Tue, 8 Mar 2016 09:13:08 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.378 +X-Spam-Level: +X-Spam-Status: No, score=0.378 tagged_above=-999 required=5 tests=[AWL=0.445, + DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, + RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_NEUTRAL=0.652, + UNPARSEABLE_RELAY=0.001] 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 XJhImosiTABm for ; + Tue, 8 Mar 2016 09:13:05 -0800 (PST) +Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com + [74.125.82.65]) by arlo.cworth.org (Postfix) with ESMTPS id 5752F6DE0B22 for + ; Tue, 8 Mar 2016 09:13:05 -0800 (PST) +Received: by mail-wm0-f65.google.com with SMTP id 1so5335495wmg.2 + for ; Tue, 08 Mar 2016 09:13:05 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=dme-org.20150623.gappssmtp.com; s=20150623; + h=from:to:subject:date:message-id:in-reply-to:references; + bh=yEviyL3HnzFwioEaU5ixRQjJtRfhDpYqznvy0qZZVv4=; + b=WfUKWVIrBZqyFCQB83Y+0V4xat4IJ2P3qdaOTfdUwONvMJXwkO+mWt545jWaKTDAx6 + Mh6E/TSN9UqpCof67J96C2GNQnlYLNcpQ7TQ0UkLsccmwgqAx8MLDmYVHVe6wK7H4n5Z + gv5VpnqX2h8lBK3nPjZNBxNkpNjrP0+rg0WcLOnzGUAHxpkin1yKr+SUGxcFLA6iTQCI + UXKh1oamELXKFiPjk/gCSX6Fahzv1o65p5/hTGwnwEhDL1CRxnbQ3w0vvFcFNMc/Jv0z + OUV6ngbmmLHwYPxHEo94j2R/cMBrbLiNBv3b8/CqNj/zwedibM6YzRFNuEK7qvyGXBR9 + IyUQ== +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to + :references; + bh=yEviyL3HnzFwioEaU5ixRQjJtRfhDpYqznvy0qZZVv4=; + b=i4VN0ukOITOzX3mZArlFJfWxwU47Jo5vK8YXRBouv+cGCJ3eJwXZO7JgLQlu9TRUnm + L0W5m72t7bDBhkHBN26+VsT2IcjdUZ5WMw606r8vjWx0ORuXALIhG6idtNzQEjDQ99mw + FkeY/0KgWv0n2u+NSkejI+MBXxhBr0z2VjCXdqPDANkp68x4MrIrKD7p7Oyw4fCwXRMZ + dioeU5a7FbRYRgeb1SFfw+wI+cios8P1su2xj0m3NxIMR0n8ukYblsiaH99V09RH9b4E + A0Vwc91G5ZOcj3sTNCpk+t/5AO4UucObPKk8T+FJQr6Z0zCHvl7oqqcexOpPjxSPeJKa + /FNg== +X-Gm-Message-State: + AD7BkJIYrIcULvQwmN5EpvkR4v5ZoUXGMDhi3zsdkLacHq2R7Po9eUaUkrCyM2FI0sRAfg== +X-Received: by 10.28.130.6 with SMTP id e6mr20869924wmd.71.1457457184105; + Tue, 08 Mar 2016 09:13:04 -0800 (PST) +Received: from disaster-area.hh.sledj.net (disaster-area.hh.sledj.net. + [81.149.164.25]) + by smtp.gmail.com with ESMTPSA id l135sm4369544wmb.13.2016.03.08.09.13.02 + for + (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Tue, 08 Mar 2016 09:13:02 -0800 (PST) +Received: from localhost (disaster-area.hh.sledj.net [local]) + by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id 65f22d11 + for ; Tue, 8 Mar 2016 17:12:59 +0000 (UTC) +From: David Edmondson +To: notmuch@notmuchmail.org +Subject: [PATCH v1 1/3] emacs: `notmuch-show-insert-part-multipart/encrypted' + should not assume the presence of a button. +Date: Tue, 8 Mar 2016 17:12:57 +0000 +Message-Id: <1457457179-4707-2-git-send-email-dme@dme.org> +X-Mailer: git-send-email 2.1.4 +In-Reply-To: <1457457179-4707-1-git-send-email-dme@dme.org> +References: <1457457179-4707-1-git-send-email-dme@dme.org> +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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: Tue, 08 Mar 2016 17:13:08 -0000 + +Missed in c802d12a1e43fe69f2fcf7a2f7d44018a55bfb65. +--- + emacs/notmuch-show.el | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el +index 371e62d..6e268f9 100644 +--- a/emacs/notmuch-show.el ++++ b/emacs/notmuch-show.el +@@ -678,7 +678,8 @@ will return nil if the CID is unknown or cannot be retrieved." + (notmuch-crypto-insert-sigstatus-button sigstatus from)))) + ;; If we're not adding the encryption status, tell the user how + ;; they can get it. +- (button-put button 'help-echo "Set notmuch-crypto-process-mime to process cryptographic MIME parts.")) ++ (when button ++ (button-put button 'help-echo "Set notmuch-crypto-process-mime to process cryptographic MIME parts."))) + + (let ((inner-parts (plist-get part :content)) + (start (point))) +-- +2.1.4 +