From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id AC8C26DE0B64 for ; Thu, 15 Oct 2015 11:47:08 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.713 X-Spam-Level: X-Spam-Status: No, score=0.713 tagged_above=-999 required=5 tests=[AWL=1.283, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-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 aQVKUBqEt7Y0 for ; Thu, 15 Oct 2015 11:47:07 -0700 (PDT) Received: from mail-lf0-f49.google.com (mail-lf0-f49.google.com [209.85.215.49]) by arlo.cworth.org (Postfix) with ESMTPS id 7EB456DE0B27 for ; Thu, 15 Oct 2015 11:47:06 -0700 (PDT) Received: by lffy185 with SMTP id y185so42019674lff.2 for ; Thu, 15 Oct 2015 11:47:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=L+P9+qzwjtov0oraEZsk/GKpTL0PJntFufa6+KvfbDg=; b=K4rfyxf9ye7GMiwJc/WB4UiS4zGHtj9EWOTTevTHBcpgUV9vgki5bwrjvuDyKchC6S 44sXtNMkwYNrotS488G66Sz7/1H+yF0WDtQPBvRRfxgk7pKxqF/08vIS0hAcX+qualZV wn5TRgIIYWY6tqUozjsFvC7x+XUBgu8+uA/NuENkHaR3jKE/ADUfAswnytRFaSYq3eH8 laUuCImbFD3UYtB7ZumHZUjvMXIsIK3N9nRCulm1AZ5jDJOcvYDnQDnOIZDx2+b9NgaC g69V+yRYqX4hxqO4M9i0ShnlG67ml7+G78599u2rwh9oh5az3yGeMV1KXu0cjr14yo7f p2+g== X-Received: by 10.194.103.194 with SMTP id fy2mr12113198wjb.10.1444934824138; Thu, 15 Oct 2015 11:47:04 -0700 (PDT) Received: from localhost (94.196.204.192.threembb.co.uk. [94.196.204.192]) by smtp.gmail.com with ESMTPSA id pl7sm215886wic.4.2015.10.15.11.47.02 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Oct 2015 11:47:03 -0700 (PDT) From: Mark Walters To: notmuch@notmuchmail.org Subject: [PATCH] emacs: tree bugfix Date: Thu, 15 Oct 2015 19:46:34 +0100 Message-Id: <1444934794-27968-1-git-send-email-markwalters1009@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1439622493-18191-1-git-send-email-markwalters1009@gmail.com> References: <1439622493-18191-1-git-send-email-markwalters1009@gmail.com> 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: Thu, 15 Oct 2015 18:47:08 -0000 Formerly replying to an encrypted message in tree-view did not work: the message was not decrypted. This commit makes notmuch-tree respect the setting of notmuch-crypto-process-mime. In particular, if notmuch-crypto-process-mime is set to t, then replying to encrypted messages in tree mode will now decrypt the reply (as it already did in show mode). --- The same patch as before but with an updated commit message. Best wishes Mark emacs/notmuch-tree.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el index 182235e..5695b68 100644 --- a/emacs/notmuch-tree.el +++ b/emacs/notmuch-tree.el @@ -867,6 +867,11 @@ the same as for the function notmuch-tree." (setq notmuch-tree-query-context query-context) (setq notmuch-tree-target-msg target) (setq notmuch-tree-open-target open-target) + ;; Set the default value for `notmuch-show-process-crypto' in this + ;; buffer. Although we don't use this some of the functions we call + ;; (such as reply) do. It is a buffer local variable so setting it + ;; will not affect genuine show buffers. + (setq notmuch-show-process-crypto notmuch-crypto-process-mime) (erase-buffer) (goto-char (point-min)) -- 2.1.4