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 671786DE01EE for ; Wed, 21 Sep 2016 08:49:25 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.022 X-Spam-Level: X-Spam-Status: No, score=-0.022 tagged_above=-999 required=5 tests=[AWL=-0.152, 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_NONE=-0.0001, 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 qi07KLESumou for ; Wed, 21 Sep 2016 08:49:25 -0700 (PDT) Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by arlo.cworth.org (Postfix) with ESMTPS id 98BF76DE0130 for ; Wed, 21 Sep 2016 08:49:24 -0700 (PDT) Received: by mail-wm0-f66.google.com with SMTP id 133so9341954wmq.2 for ; Wed, 21 Sep 2016 08:49:24 -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; bh=2gaILIH1vgIYiDNGSVb6lKFJJZE4+1vmBSaC1tDrIdk=; b=SJcQQkuYiXn41Yz+eFMLs1qTSSD3Is7LTa98q3kGjsx+3Xm9pDv91A0DvhVuP7LPiH KXsqaHMKiAPjNvF1JSG0ya1L6+PZtKgrzj+ex49570zrh3XaKmAarJy8+xcV0k1Iwzhk 982rCSAuYDol0Lym9fsL7auI2cbtDJg7AQF7/Z6fKlj7qlnGj3Ju9Ut1IUnJ25n/OV2y hwar+jAEdDh5FYgE4DjDe02a/dSvLiO4njk//OB5zTDAPO+nXNFlBO9LpREa35DrzBje EbkHybcjqaTH4T2QM+8It8Sp3NwNi8f1/zGh+LfF5/PxsqD093iyh1K4TH95fLWCquyq 52IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=2gaILIH1vgIYiDNGSVb6lKFJJZE4+1vmBSaC1tDrIdk=; b=XaPmr33uHSR4nObkyfdu5oFgxPrUGs9t0pY3Sd+5N3DcQo+CsLQxhgNn2zUk982AMA 8SMR3KpSreHMHXK+t7KVKGzefEJswYIYAN9ueeA/sPYQqSgxzYah47k+mmfHgmh8/fXk fXq9FXqMqneUV5oYIknbDMwyCu465bzvebsdrE78L2MJNFIUqf6f3cT1NQN+dBrPFQ0L Ys5uASs0L55ipGi47MgyWiJhQRSwcMMk52Nhv/bMAk/MvUqwuANTnDoG+H/8gehW8hDM 6I58wnhhVx9lHCV/8XHD9p/r4ve3rawhikSidd28w1SF6fEDfuZAyAYSIlWQRV0wkLL+ IUOw== X-Gm-Message-State: AE9vXwNiO0G9Bx8qBxPZ+ytr05soXG0NxejWaMz/qh4zxlIhN/z6VlDL1Tk8NLV2an7D1g== X-Received: by 10.194.142.244 with SMTP id rz20mr22313441wjb.69.1474472962799; Wed, 21 Sep 2016 08:49:22 -0700 (PDT) Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162]) by smtp.gmail.com with ESMTPSA id w138sm10437657wmd.1.2016.09.21.08.49.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Sep 2016 08:49:22 -0700 (PDT) From: Mark Walters To: notmuch@notmuchmail.org Subject: [PATCH 1/2] emacs: tree: allow the user to decrypt the message pane Date: Wed, 21 Sep 2016 16:49:18 +0100 Message-Id: <1474472959-8739-1-git-send-email-markwalters1009@gmail.com> X-Mailer: git-send-email 2.1.4 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 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: Wed, 21 Sep 2016 15:49:25 -0000 This makes $ in the tree pane toggle decryption in the message pane. Without this the user can only decrypt the message pane by switching to it, or by setting decryption on globally by setting notmuch-crypto-process-mime to t. --- This seems an obvious extension. It may not be very useful as most people who get encrypted messages probably set notmuch-crypto-process-mime to t. As an aside might it be worth making that the default (notmuch-crypto-process-mime equal to t)? Best wishes Mark emacs/notmuch-tree.el | 1 + 1 file changed, 1 insertion(+) diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el index 5431384..8285354 100644 --- a/emacs/notmuch-tree.el +++ b/emacs/notmuch-tree.el @@ -255,6 +255,7 @@ FUNC." (define-key map (kbd "") (notmuch-tree-to-message-pane #'notmuch-show-previous-button)) (define-key map (kbd "TAB") (notmuch-tree-to-message-pane #'notmuch-show-next-button)) (define-key map "e" (notmuch-tree-to-message-pane #'notmuch-tree-button-activate)) + (define-key map "$" (notmuch-tree-to-message-pane #'notmuch-show-toggle-process-crypto)) ;; bindings from show (or elsewhere) but we close the message pane first. (define-key map "f" (notmuch-tree-close-message-pane-and #'notmuch-show-forward-message)) -- 2.1.4