1 Return-Path: <m.walters@qmul.ac.uk>
\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 4079B431FD5
\r
6 for <notmuch@notmuchmail.org>; Fri, 23 Aug 2013 13:26:01 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.098 tagged_above=-999 required=5
\r
12 tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001,
\r
13 NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id ug5PzjeLmofB for <notmuch@notmuchmail.org>;
\r
17 Fri, 23 Aug 2013 13:25:55 -0700 (PDT)
\r
18 Received: from mail2.qmul.ac.uk (mail2.qmul.ac.uk [138.37.6.6])
\r
19 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 299A3431FCF
\r
22 for <notmuch@notmuchmail.org>; Fri, 23 Aug 2013 13:25:55 -0700 (PDT)
\r
23 Received: from smtp.qmul.ac.uk ([138.37.6.40])
\r
24 by mail2.qmul.ac.uk with esmtp (Exim 4.71)
\r
25 (envelope-from <m.walters@qmul.ac.uk>)
\r
26 id 1VCxvX-00038E-8t; Fri, 23 Aug 2013 21:25:49 +0100
\r
27 Received: from 93-97-24-31.zone5.bethere.co.uk ([93.97.24.31] helo=localhost)
\r
28 by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71)
\r
29 (envelope-from <m.walters@qmul.ac.uk>)
\r
30 id 1VCxvW-0002Gi-Th; Fri, 23 Aug 2013 21:25:47 +0100
\r
31 From: Mark Walters <markwalters1009@gmail.com>
\r
32 To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org
\r
33 Subject: Re: [DRAFT PATCH] emacs: describe-prefix-bindings...
\r
34 In-Reply-To: <1377275783-16948-1-git-send-email-tomi.ollila@iki.fi>
\r
35 References: <1377275783-16948-1-git-send-email-tomi.ollila@iki.fi>
\r
36 User-Agent: Notmuch/0.15.2+192~g8222af3 (http://notmuchmail.org) Emacs/23.4.1
\r
37 (x86_64-pc-linux-gnu)
\r
38 Date: Fri, 23 Aug 2013 21:25:45 +0100
\r
39 Message-ID: <871u5k17ee.fsf@qmul.ac.uk>
\r
41 Content-Type: text/plain; charset=us-ascii
\r
42 X-Sender-Host-Address: 93.97.24.31
\r
43 X-QM-SPAM-Info: Sender has good ham record. :)
\r
44 X-QM-Body-MD5: 6cdbcc1c2790d39c99ff03e407a3a52a (of first 20000 bytes)
\r
45 X-SpamAssassin-Score: 0.0
\r
46 X-SpamAssassin-SpamBar: /
\r
47 X-SpamAssassin-Report: The QM spam filters have analysed this message to
\r
49 spam. We require at least 5.0 points to mark a message as spam.
\r
50 This message scored 0.0 points. Summary of the scoring:
\r
51 * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
\r
52 provider * (markwalters1009[at]gmail.com)
\r
53 * 0.0 AWL AWL: From: address is in the auto white-list
\r
54 X-QM-Scan-Virus: ClamAV says the message is clean
\r
55 Cc: tomi.ollila@iki.fi
\r
56 X-BeenThere: notmuch@notmuchmail.org
\r
57 X-Mailman-Version: 2.1.13
\r
59 List-Id: "Use and development of the notmuch mail system."
\r
60 <notmuch.notmuchmail.org>
\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
64 List-Post: <mailto:notmuch@notmuchmail.org>
\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
67 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
68 X-List-Received-Date: Fri, 23 Aug 2013 20:26:01 -0000
\r
71 Yes this is nice. Particularly for less common things like "open with"
\r
72 for attachments and some of the stash commands.
\r
74 A notmuch--describe-prefix-bindings would make it even nicer.
\r
76 But I think the current version is enough of an improvement it could go
\r
77 in without much change: as a first step a "stub"
\r
78 notmuch--describe-prefix-bindings just doing describe-prefix-bindings
\r
79 (but with a docstring :-) would be fine.
\r
87 On Fri, 23 Aug 2013, Tomi Ollila <tomi.ollila@iki.fi> wrote:
\r
90 > I plan to do `notmuch--describe-prefix-bindings' if there is support
\r
91 > for this functionality (or no better solution exists -- I recall
\r
92 > there is specific C functionality doing C-h handling...)
\r
95 > emacs/notmuch-show.el | 2 ++
\r
96 > emacs/notmuch.el | 1 +
\r
97 > 2 files changed, 3 insertions(+)
\r
99 > diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
100 > index 82b70ba..6fd1f73 100644
\r
101 > --- a/emacs/notmuch-show.el
\r
102 > +++ b/emacs/notmuch-show.el
\r
103 > @@ -1248,6 +1248,7 @@ reset based on the original query."
\r
104 > (define-key map "t" 'notmuch-show-stash-to)
\r
105 > (define-key map "l" 'notmuch-show-stash-mlarchive-link)
\r
106 > (define-key map "L" 'notmuch-show-stash-mlarchive-link-and-go)
\r
107 > + (define-key map "?" (lambda () (interactive) (describe-prefix-bindings)))
\r
109 > "Submap for stash commands")
\r
110 > (fset 'notmuch-show-stash-map notmuch-show-stash-map)
\r
111 > @@ -1258,6 +1259,7 @@ reset based on the original query."
\r
112 > (define-key map "v" 'notmuch-show-view-part)
\r
113 > (define-key map "o" 'notmuch-show-interactively-view-part)
\r
114 > (define-key map "|" 'notmuch-show-pipe-part)
\r
115 > + (define-key map "?" (lambda () (interactive) (describe-prefix-bindings)))
\r
117 > "Submap for part commands")
\r
118 > (fset 'notmuch-show-part-map notmuch-show-part-map)
\r
119 > diff --git a/emacs/notmuch.el b/emacs/notmuch.el
\r
120 > index f3ce840..ac6a712 100644
\r
121 > --- a/emacs/notmuch.el
\r
122 > +++ b/emacs/notmuch.el
\r
123 > @@ -245,6 +245,7 @@ For a mouse binding, return nil."
\r
124 > (defvar notmuch-search-stash-map
\r
125 > (let ((map (make-sparse-keymap)))
\r
126 > (define-key map "i" 'notmuch-search-stash-thread-id)
\r
127 > + (define-key map "?" (lambda () (interactive) (describe-prefix-bindings)))
\r
129 > "Submap for stash commands")
\r
130 > (fset 'notmuch-search-stash-map notmuch-search-stash-map)
\r
133 > _______________________________________________
\r
134 > notmuch mailing list
\r
135 > notmuch@notmuchmail.org
\r
136 > http://notmuchmail.org/mailman/listinfo/notmuch
\r