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 olra.theworths.org (Postfix) with ESMTP id 24B3F429E52
\r
6 for <notmuch@notmuchmail.org>; Fri, 5 Jul 2013 11:12:32 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0.201 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,
\r
14 RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
15 Received: from olra.theworths.org ([127.0.0.1])
\r
16 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id xN3E4VJ8h7SV for <notmuch@notmuchmail.org>;
\r
18 Fri, 5 Jul 2013 11:12:24 -0700 (PDT)
\r
19 Received: from mail-ea0-f172.google.com (mail-ea0-f172.google.com
\r
20 [209.85.215.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
21 (No client certificate requested)
\r
22 by olra.theworths.org (Postfix) with ESMTPS id 04CFD429E3C
\r
23 for <notmuch@notmuchmail.org>; Fri, 5 Jul 2013 11:11:44 -0700 (PDT)
\r
24 Received: by mail-ea0-f172.google.com with SMTP id q10so1623003eaj.17
\r
25 for <notmuch@notmuchmail.org>; Fri, 05 Jul 2013 11:11:43 -0700 (PDT)
\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:x-mailer:in-reply-to:references;
\r
28 bh=rSLhG5PTcgNY4QdJOzxpOUmpfFK9rTwa4pHrAErECYE=;
\r
29 b=GNzGrAcAxt2IHIQX0nb6b+ZGMR37lYsisGoKEacXVbq6nD7nhCb/+QJULGDMb2x/O3
\r
30 4SioB2JgzL0CMQ4IMA0hdFpycC6LnY+7hcgpZSOg4hdd0ZvNjWEXIIdXSu4c24HZ5TtR
\r
31 xoFsZ+M+UyDP6b6lHcRe4NccFgrfcdZx8wnjLdVQ3ieA+kFH8aT2YyZLi/MEZXfP7h+/
\r
32 QqwtPatnWplxWAnqxxsbxLEMXNh1j2gjM4QgJoCsYvhqCkMZwBV6yzp1azNv1pJI+cAO
\r
33 X2y4GxgrwNm8q8uWC4c7P0Qrw8Tq17g3TCH+NESB84pZ2coXUAyaAxuo6tu7tfwVyNqn
\r
35 X-Received: by 10.15.102.68 with SMTP id bq44mr13503376eeb.89.1373047903861;
\r
36 Fri, 05 Jul 2013 11:11:43 -0700 (PDT)
\r
37 Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])
\r
38 by mx.google.com with ESMTPSA id c44sm15942322eeb.8.2013.07.05.11.11.42
\r
39 for <multiple recipients>
\r
40 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
41 Fri, 05 Jul 2013 11:11:43 -0700 (PDT)
\r
42 From: Mark Walters <markwalters1009@gmail.com>
\r
43 To: notmuch@notmuchmail.org
\r
44 Subject: [PATCH 07/11] contrib: pick: pass tab through to the message pane
\r
45 Date: Fri, 5 Jul 2013 19:11:14 +0100
\r
46 Message-Id: <1373047878-20822-8-git-send-email-markwalters1009@gmail.com>
\r
47 X-Mailer: git-send-email 1.7.9.1
\r
48 In-Reply-To: <1373047878-20822-1-git-send-email-markwalters1009@gmail.com>
\r
49 References: <1373047878-20822-1-git-send-email-markwalters1009@gmail.com>
\r
50 X-BeenThere: notmuch@notmuchmail.org
\r
51 X-Mailman-Version: 2.1.13
\r
53 List-Id: "Use and development of the notmuch mail system."
\r
54 <notmuch.notmuchmail.org>
\r
55 List-Unsubscribe: <http://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: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
61 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
62 X-List-Received-Date: Fri, 05 Jul 2013 18:12:32 -0000
\r
64 This makes tab move to next button in the message pane and binds
\r
65 button activate (in message pane) to "/". This means that is easy to
\r
66 toggle hidden parts or hidden citations etc in the message pane.
\r
68 contrib/notmuch-pick/notmuch-pick.el | 6 ++++++
\r
69 1 files changed, 6 insertions(+), 0 deletions(-)
\r
71 diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el
\r
72 index 775b783..77b257d 100644
\r
73 --- a/contrib/notmuch-pick/notmuch-pick.el
\r
74 +++ b/contrib/notmuch-pick/notmuch-pick.el
\r
75 @@ -217,6 +217,12 @@ This function does not give an error if there is no button."
\r
76 (define-key map "v" 'notmuch-show-view-all-mime-parts)
\r
77 (define-key map "c" 'notmuch-show-stash-map)
\r
79 + ;; these apply to the message pane
\r
80 + (define-key map (kbd "M-TAB") (notmuch-pick-to-message-pane #'notmuch-show-previous-button))
\r
81 + (define-key map (kbd "<backtab>") (notmuch-pick-to-message-pane #'notmuch-show-previous-button))
\r
82 + (define-key map (kbd "TAB") (notmuch-pick-to-message-pane #'notmuch-show-next-button))
\r
83 + (define-key map "/" (notmuch-pick-to-message-pane #'notmuch-pick-button-activate))
\r
85 ;; The main pick bindings
\r
86 (define-key map "q" 'notmuch-pick-quit)
\r
87 (define-key map "x" 'notmuch-pick-quit)
\r