1 Return-Path: <jrollins@finestructure.net>
\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 AC439431FAF
\r
6 for <notmuch@notmuchmail.org>; Wed, 18 Jan 2012 10:50:56 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 b7duySdUOuc5 for <notmuch@notmuchmail.org>;
\r
16 Wed, 18 Jan 2012 10:50:56 -0800 (PST)
\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu
\r
19 by olra.theworths.org (Postfix) with ESMTP id 23DD6431FAE
\r
20 for <notmuch@notmuchmail.org>; Wed, 18 Jan 2012 10:50:56 -0800 (PST)
\r
21 Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])
\r
22 by earth-doxen-postvirus (Postfix) with ESMTP id A632666E011C;
\r
23 Wed, 18 Jan 2012 10:50:55 -0800 (PST)
\r
24 X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new
\r
25 Received: from finestructure.net (gwave-212.ligo.caltech.edu
\r
26 [131.215.114.212]) (Authenticated sender: jrollins) by earth-doxen-submit
\r
27 (Postfix) with ESMTP id BDC7B66E01AE; Wed, 18 Jan 2012 10:50:52 -0800 (PST)
\r
28 Received: by finestructure.net (Postfix, from userid 1000)
\r
29 id 9AB45506; Wed, 18 Jan 2012 10:50:52 -0800 (PST)
\r
30 From: Jameson Graef Rollins <jrollins@finestructure.net>
\r
31 To: David Bremner <david@tethera.net>, Notmuch Mail <notmuch@notmuchmail.org>
\r
32 Subject: Re: RFC: tag macros
\r
33 In-Reply-To: <874nvtvzm5.fsf@convex-new.cs.unb.ca>
\r
34 References: <874nvtvzm5.fsf@convex-new.cs.unb.ca>
\r
35 User-Agent: Notmuch/0.11+63~g6965a07 (http://notmuchmail.org) Emacs/23.3.1
\r
36 (x86_64-pc-linux-gnu)
\r
37 Date: Wed, 18 Jan 2012 10:50:50 -0800
\r
38 Message-ID: <87vco8q1yt.fsf@servo.finestructure.net>
\r
40 Content-Type: multipart/signed; boundary="=-=-=";
\r
41 micalg=pgp-sha256; protocol="application/pgp-signature"
\r
42 X-BeenThere: notmuch@notmuchmail.org
\r
43 X-Mailman-Version: 2.1.13
\r
45 List-Id: "Use and development of the notmuch mail system."
\r
46 <notmuch.notmuchmail.org>
\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
50 List-Post: <mailto:notmuch@notmuchmail.org>
\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
54 X-List-Received-Date: Wed, 18 Jan 2012 18:50:56 -0000
\r
58 On Wed, 18 Jan 2012 10:45:06 -0400, David Bremner <david@tethera.net> wrote:
\r
59 > The advantage of this rather than just writing lots of little lambdas is
\r
60 > that it combines adding and deleting, and it could be done via
\r
63 Is all of this really easier than just adding the following to your
\r
66 (define-key notmuch-search-mode-map "o"
\r
69 (notmuch-show-add-tag "notmuch::patch")
\r
70 (notmuch-show-add-tag "notmuch::obsolete")
\r
71 (notmuch-show-remove-tag "notmuch::needs-review")))
\r
73 That seems really simple to me, and doesn't require us to support a
\r
74 bunch of code to do complicated customization stuff.
\r
76 Rather than have protracted conversations about key bindings or continue
\r
77 to make more complicated configuration setups, I would like to push the
\r
78 idea that we support a bunch of nice simple functions to do common,
\r
79 useful operations (like tagging and navigation), and let users build
\r
80 macros as they see fit. I think this is a lot more flexible, and takes
\r
81 a lot of the maintenance burden off of us.
\r
83 I've been wanting to put together a wiki page that lists all the useful
\r
84 functions and has examples of how to put them together into useful
\r
90 Content-Type: application/pgp-signature
\r
92 -----BEGIN PGP SIGNATURE-----
\r
93 Version: GnuPG v1.4.11 (GNU/Linux)
\r
95 iQIcBAEBCAAGBQJPFxSKAAoJEO00zqvie6q8zIgP/RQlmiTSXCtnajdR/OvWoHjv
\r
96 GA8XS3GHWgfIk7UXm4M4h580mxKi4qWitgMP1qkost9oZGU5Vpf/1uR6gOWhCyEz
\r
97 H9eQfY0CtMgSywQJZ/RCceYQOCaygy8BTtVD+KZJyBEbIn4jgVRW/FLwn5kSqaBb
\r
98 xEEkEkfWTIpOcuF5qCoW1W3OF7rw1MxVBNtB1n8wptNmkjl9EI42P/W3SKfB8LpZ
\r
99 3ZwBSNHpB4tuW0S/70/q9jY8X/H7rM38gp09GfcIWL+aVjq8nEe9pQqcTQ8JVIoN
\r
100 FAYHGcrN2sBSPqmJgrebI2k9IEJvn3eaFm5DJ/1E83V3Ww66kjNyXwaDKCe6woVi
\r
101 w2wZ4/F+4gesxAiPbh7gm/oLCfqDxfe9esx9SNFgZAkkSw2RgC3ZiQFrqNVMPqLP
\r
102 1YXbSM+fi9QrxzoL9VO7lCYrlLHCxk92ftjUVFgylNK04JLO+nbGs/pXDy8Z2qlN
\r
103 jUJvgboD+T113hoVRPgRoaaZKnwnHSFY/4HoNCIluFf+1G8cK/jG/i3Kgva1I8Tl
\r
104 xfoM6Weyn4wx/0ANsKUgoNjMD5XeUFaUgHmHg0BkvhONlDWsA5ZyhaWT3xs7zhGJ
\r
105 9gwRwQlASJGef2Pe6qsYwSu6jQfib6KmsQuxXhQZJCgU4R3J/E2tsFtKgr2WuWiG
\r
106 3Ec9+/bvJmBz7KgTNzth
\r
108 -----END PGP SIGNATURE-----
\r