From: Mark Walters Date: Fri, 3 Jun 2016 17:49:53 +0000 (+0100) Subject: [PATCH v2 1/3] emacs: tree: move binding for pressing button in message pane to g X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e07b7eb3c6ab2b4b533c8bc93cf0a471df42bbd6;p=notmuch-archives.git [PATCH v2 1/3] emacs: tree: move binding for pressing button in message pane to g --- diff --git a/60/18798dca8342fd3994db8ca95638f388dae78b b/60/18798dca8342fd3994db8ca95638f388dae78b new file mode 100644 index 000000000..3b895338a --- /dev/null +++ b/60/18798dca8342fd3994db8ca95638f388dae78b @@ -0,0 +1,101 @@ +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 346076DE02C4 + for ; Fri, 3 Jun 2016 10:50:54 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.325 +X-Spam-Level: +X-Spam-Status: No, score=-0.325 tagged_above=-999 required=5 tests=[AWL=0.245, + 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 SODruE1-S7tJ for ; + Fri, 3 Jun 2016 10:50:46 -0700 (PDT) +Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com + [74.125.82.52]) by arlo.cworth.org (Postfix) with ESMTPS id 45B5C6DE0243 for + ; Fri, 3 Jun 2016 10:50:23 -0700 (PDT) +Received: by mail-wm0-f52.google.com with SMTP id a136so6686269wme.0 + for ; Fri, 03 Jun 2016 10:50:23 -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=fN6OSFldeRp6IZIGIDSTDm2Kbvh9Vd0++y9QCV1Ii8E=; + b=X89p86eecZFkd0M7kKgfdll0jtTYsWwoD7bnN5yPVP7+qPGnn0fM2UwdN2uixV+ZyI + Xd2aVooD4FWQUaBPs+VRKP7hzdPfCJri+zRkKZhq9klXNbHwYmbfq06YJ6xrVK5W8Nd4 + T0cfJbG1O+4rMzYu8u0G6sg5V5Zt6nEixYy9Jjk9BLi9gJ8JuE/h2VN/4khj+c0YZwF/ + qUVgsSdJTPpUtlHfGkp8ZV42BrttzMSDLKAq8a3VvUtdZpqkdotrymZ2J7n9UPq/hKwa + Eq9xXgdHfabkx5Fm8CYzwa3sB1xuP8+JYv2I0PYbAdkoRWnmWPAl/efikxR6QJcphtd+ + TNgQ== +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:in-reply-to + :references; + bh=fN6OSFldeRp6IZIGIDSTDm2Kbvh9Vd0++y9QCV1Ii8E=; + b=Rv2mPMB6qqQKBgr2/9WF0hoKw1jat19Ac5lv9N3fUjbaqOkzuWDjWXJFbuy0cDy9Rr + +5zzC3aqiBHMyKGMkPcBZYzlBwzOroAH0plqM3eYckQNh22DAblytq3FfKaeoLQY5JP+ + E+CjkvpUdP2HGO4jOSenViQeYhXl3JQBrZEqxyPRegm7DLyYR1pUU0pHK6OYeIBuP4m5 + BJMvUnPMw4+Yg1KDomg2O8xWfvahrFLBxG3LOuiToa5gJQj4WcWuhoQHjq07eTqrbcmP + kLpyVXAxeTiztgr53rkPjDSlmCIt17Rp7MYxl9/XVlP2qXP+E09iCef1FpAJZ2EIguA1 + cPPg== +X-Gm-Message-State: + ALyK8tKkKOfSQliGT2HPu5mr+G1LVUg6B/6zaCUUzzDEyy+/Lo0tiRHqRCVMDo9TkKquNg== +X-Received: by 10.28.7.69 with SMTP id 66mr631735wmh.87.1464976221541; + Fri, 03 Jun 2016 10:50:21 -0700 (PDT) +Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162]) + by smtp.gmail.com with ESMTPSA id s9sm6759384wjh.48.2016.06.03.10.50.12 + (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Fri, 03 Jun 2016 10:50:14 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH v2 1/3] emacs: tree: move binding for pressing button in + message pane to g +Date: Fri, 3 Jun 2016 18:49:53 +0100 +Message-Id: <1464976195-23134-2-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 2.1.4 +In-Reply-To: <1464976195-23134-1-git-send-email-markwalters1009@gmail.com> +References: <1464976195-23134-1-git-send-email-markwalters1009@gmail.com> +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: Fri, 03 Jun 2016 17:50:54 -0000 + +We want to use "e" for editting postponed messages in show, and in +tree view, so bind the function which does + + (In message pane) Activate BUTTON or button at point + +to "g" (go) instead. +--- + emacs/notmuch-tree.el | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el +index 4f9ca2d..6c35543 100644 +--- a/emacs/notmuch-tree.el ++++ b/emacs/notmuch-tree.el +@@ -254,7 +254,7 @@ FUNC." + (define-key map (kbd "M-TAB") (notmuch-tree-to-message-pane #'notmuch-show-previous-button)) + (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 "g" (notmuch-tree-to-message-pane #'notmuch-tree-button-activate)) + + ;; 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 +