1 Return-Path: <amdragon@mit.edu>
\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 0E746431FC7
\r
6 for <notmuch@notmuchmail.org>; Sat, 12 Jul 2014 20:50:23 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id zwf9KS8-PtmG for <notmuch@notmuchmail.org>;
\r
16 Sat, 12 Jul 2014 20:50:15 -0700 (PDT)
\r
17 Received: from dmz-mailsec-scanner-6.mit.edu (dmz-mailsec-scanner-6.mit.edu
\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 ACA0E431FBD
\r
22 for <notmuch@notmuchmail.org>; Sat, 12 Jul 2014 20:50:15 -0700 (PDT)
\r
23 X-AuditID: 12074423-f79bf6d000007580-98-53c201f7b8e4
\r
24 Received: from mailhub-auth-2.mit.edu ( [18.7.62.36])
\r
25 (using TLS with cipher AES256-SHA (256/256 bits))
\r
26 (Client did not present a certificate)
\r
27 by dmz-mailsec-scanner-6.mit.edu (Symantec Messaging Gateway) with SMTP
\r
28 id 81.E2.30080.7F102C35; Sat, 12 Jul 2014 23:50:15 -0400 (EDT)
\r
29 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11])
\r
30 by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id s6D3oDMd015925;
\r
31 Sat, 12 Jul 2014 23:50:14 -0400
\r
32 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91])
\r
33 (authenticated bits=0)
\r
34 (User authenticated as amdragon@ATHENA.MIT.EDU)
\r
35 by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s6D3oBO6023083
\r
36 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT);
\r
37 Sat, 12 Jul 2014 23:50:13 -0400
\r
38 Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.80)
\r
39 (envelope-from <amdragon@mit.edu>)
\r
40 id 1X6Ani-0005tR-Io; Sat, 12 Jul 2014 23:50:11 -0400
\r
41 Date: Sat, 12 Jul 2014 23:50:09 -0400
\r
42 From: Austin Clements <amdragon@MIT.EDU>
\r
43 To: David Bremner <david@tethera.net>
\r
44 Subject: Re: [PATCH v2] emacs: Add support for saved search accelerators
\r
45 Message-ID: <20140713035009.GZ4660@mit.edu>
\r
46 References: <1399385776-19918-1-git-send-email-dme@dme.org>
\r
47 <1399461694-25350-1-git-send-email-dme@dme.org>
\r
48 <1399461694-25350-2-git-send-email-dme@dme.org>
\r
49 <87ion2gyqo.fsf@maritornes.cs.unb.ca>
\r
51 Content-Type: text/plain; charset=us-ascii
\r
52 Content-Disposition: inline
\r
53 In-Reply-To: <87ion2gyqo.fsf@maritornes.cs.unb.ca>
\r
54 User-Agent: Mutt/1.5.21 (2010-09-15)
\r
55 X-Brightmail-Tracker:
\r
56 H4sIAAAAAAAAA+NgFuplleLIzCtJLcpLzFFi42IRYrdT0f3OeCjY4N4+Tosbrd2MFvvubGGy
\r
57 uH5zJrMDs8eu53+ZPJ6tusXsseXQe+YA5igum5TUnMyy1CJ9uwSujK7m6cwFG7kqZn/7w9bA
\r
58 uJqji5GTQ0LAROLvqgksELaYxIV769m6GLk4hARmM0msP/uLHcLZyChx7sYSFgjnNJPEhOXz
\r
59 mCCcJYwSv+auYexi5OBgEVCVuDRdHWQUm4CGxLb9yxlBbBGg8NVtk9lAbGYBK4mLz/awg9jC
\r
60 Ah4Sz5v2sIK08gpoS3xcxAgx8jijxKev08B6eQUEJU7OfMIC0aslcePfSyaQemYBaYnl/8A+
\r
61 4BQwkmi6+48ZxBYVUJGYcnIb2wRGoVlIumch6Z6F0L2AkXkVo2xKbpVubmJmTnFqsm5xcmJe
\r
62 XmqRrplebmaJXmpK6SZGcKi7KO9g/HNQ6RCjAAejEg/vg/UHg4VYE8uKK3MPMUpyMCmJ8mp+
\r
63 AQrxJeWnVGYkFmfEF5XmpBYfYpTgYFYS4RWUBsrxpiRWVqUW5cOkpDlYlMR531pbBQsJpCeW
\r
64 pGanphakFsFkZTg4lCR4/zAcChYSLEpNT61Iy8wpQUgzcXCCDOcBGQ5MDUK8xQWJucWZ6RD5
\r
65 U4yKUuK8s0CaBUASGaV5cL2wVPSKURzoFWHetyBVPMA0Btf9CmgwE9Dg7f37QQaXJCKkpBoY
\r
66 C2p4xB8/47ULm2Zx3ivnfHQdr/0Mn7RkxQ+a+7dtj+iRyFBjN2nd2TDV8pHh9YXiX977fV/d
\r
67 fFBN9euFgECX6+k7nIIXTykQsbLYeHTCNDeDuWXmcy/ZienHnrBxX+bxj9d8bW62RJDq8QSz
\r
68 Ji11oQL9u60T8+c3FM9kX6+ltYs1ruaY/0slluKMREMt5qLiRACbwu1IIAMAAA==
\r
69 Cc: notmuch@notmuchmail.org
\r
70 X-BeenThere: notmuch@notmuchmail.org
\r
71 X-Mailman-Version: 2.1.13
\r
73 List-Id: "Use and development of the notmuch mail system."
\r
74 <notmuch.notmuchmail.org>
\r
75 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
76 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
77 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
78 List-Post: <mailto:notmuch@notmuchmail.org>
\r
79 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
80 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
81 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
82 X-List-Received-Date: Sun, 13 Jul 2014 03:50:23 -0000
\r
84 Quoth David Bremner on Jul 12 at 4:31 pm:
\r
85 > David Edmondson <dme@dme.org> writes:
\r
87 > > Extended the saved search definition to allow the inclusion of an
\r
88 > > accelerator key for the search. Bind 'j' in the common mode map as a
\r
89 > > leader for such accelerator keys.
\r
91 > I was trying this out without configuring any accelerators and it seemed
\r
92 > a bit unfriendly. After hitting 'j' I more or less get stuck until I hit
\r
93 > C-g. Even hitting ? did not produce any output. I think at minimum the
\r
94 > user who hits j by mistake should not get stuck in a state she needs to
\r
97 Have you tried notmuch-go?
\r
99 https://github.com/aclements/notmuch/blob/go-hack/emacs/notmuch-go.el
\r
101 Once you load it, it's bound to 'g' everywhere. It shows all of the
\r
102 available bindings/searches above the minibuffer as soon as you hit
\r
103 'g'. I've been using notmuch-go happily for months (it's completely
\r
104 supplanted hello for me).
\r
106 The right answer might be something between notmuch-go and dme's
\r
107 patch. Currently notmuch-go uses a hard-coded set of searches, while
\r
108 dme's patch derives them from the saved searches. notmuch-go may also
\r
109 be more complicated than necessary; I had originally intended to do
\r
110 some other things with it that never materialized and, now that I've
\r
111 used it, I don't think they're necessary.
\r