[notmuch] [PATCH -V2] notmuch.el: Support for customizing search result display
[notmuch-archives.git] / 98 / 46500459c8bf645ceaa8402c9206b8ecb50a48
1 Return-Path: <jrollins@phys.columbia.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 E1787431FBC\r
6         for <notmuch@notmuchmail.org>; Mon, 28 Dec 2009 13:18:15 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id rr57YL06Vq+Y for <notmuch@notmuchmail.org>;\r
11         Mon, 28 Dec 2009 13:18:14 -0800 (PST)\r
12 Received: from serrano.cc.columbia.edu (serrano.cc.columbia.edu [128.59.29.6])\r
13         by olra.theworths.org (Postfix) with ESMTP id 15E18431FAE\r
14         for <notmuch@notmuchmail.org>; Mon, 28 Dec 2009 13:18:14 -0800 (PST)\r
15 Received: from servo.finestructure.net (cpe-74-75-106-183.maine.res.rr.com\r
16         [74.75.106.183])\r
17         (user=jgr2110 author=jrollins@finestructure.net mech=PLAIN bits=0)\r
18         by serrano.cc.columbia.edu (8.14.3/8.14.3) with ESMTP id nBSLICa0000037\r
19         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT)\r
20         for <notmuch@notmuchmail.org>; Mon, 28 Dec 2009 16:18:13 -0500 (EST)\r
21 Received: from jrollins by servo.finestructure.net with local (Exim 4.71)\r
22         (envelope-from <jrollins@phys.columbia.edu>) id 1NPMyi-0003l6-HP\r
23         for notmuch@notmuchmail.org; Mon, 28 Dec 2009 16:18:12 -0500\r
24 Date: Mon, 28 Dec 2009 16:18:12 -0500\r
25 From: Jameson Graef Rollins <jrollins@phys.columbia.edu>\r
26 To: notmuch@notmuchmail.org\r
27 Message-ID: <20091228211812.GA10885@finestructure.net>\r
28 MIME-Version: 1.0\r
29 Content-Type: multipart/signed; micalg=pgp-sha256;\r
30         protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO"\r
31 Content-Disposition: inline\r
32 User-Agent: Mutt/1.5.20 (2009-06-14)\r
33 X-No-Spam-Score: Local\r
34 X-Scanned-By: MIMEDefang 2.68 on 128.59.29.6\r
35 Subject: [notmuch] modifying emacs keymap\r
36 X-BeenThere: notmuch@notmuchmail.org\r
37 X-Mailman-Version: 2.1.12\r
38 Precedence: list\r
39 List-Id: "Use and development of the notmuch mail system."\r
40         <notmuch.notmuchmail.org>\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
42         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
44 List-Post: <mailto:notmuch@notmuchmail.org>\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
48 X-List-Received-Date: Mon, 28 Dec 2009 21:18:16 -0000\r
49 \r
50 \r
51 --2oS5YaxWCcQjTEyO\r
52 Content-Type: text/plain; charset=us-ascii\r
53 Content-Disposition: inline\r
54 \r
55 Hey, folks.  This is the first in what is surely to be a long line of\r
56 requests for help customizing the notmuch emacs UI.\r
57 \r
58 In this episode, I'm trying to add a function to the default keymap in\r
59 notmuch-search-mode.  Here's what I tried to do:\r
60 \r
61 (add-hook 'notmuch-search-mode\r
62   (define-key notmuch-search-mode-map "A" 'notmuch-show-mark-read-then-archive-thread)\r
63 )\r
64 \r
65 However, when I tried to use it, I got the following error (from *Messages*):\r
66 \r
67 notmuch-show-get-tags: Search failed: "^Lmessage{"\r
68 \r
69 Does anyone know where this error is coming from, and how to get\r
70 around it?  I could just be going about modifying the keymap the wrong\r
71 way, so if anyone has better suggestions about how to do it, I would\r
72 love to hear it.  If there's a different way to *modify* a keymap, as\r
73 opposed to adding a key to the map, I would be interested in seeing\r
74 that as well.\r
75 \r
76 Thanks for the help.\r
77 \r
78 jamie.\r
79 \r
80 --2oS5YaxWCcQjTEyO\r
81 Content-Type: application/pgp-signature; name="signature.asc"\r
82 Content-Description: Digital signature\r
83 Content-Disposition: attachment\r
84 \r
85 -----BEGIN PGP SIGNATURE-----\r
86 Version: GnuPG v1.4.10 (GNU/Linux)\r
87 \r
88 iQIcBAEBCAAGBQJLOSCPAAoJEO00zqvie6q8s7UP/1GS6DPqJ3SsjAPYYYTpozPc\r
89 qZqC8umufEAVo3U4EmcrFCIjyci2u5RJQiISUG3Ad8bpuM9C99dRanHoH5xHd7vh\r
90 jZpkjeHlf0vyXQvGfDra+nFDnMjXitjjpJSKlb5kmOUokteM1PuMHztTIWF62Fn7\r
91 HCVpqs88vnDawkGSN8yC4SDC3flaCF1ymiBYp1F+COStLhD1vxy03uYzNnhf69lR\r
92 0eyD2qHn3otKL43k4f/OQ3rjbYo1yT9Ez4j/VzF9idRWRxKN/g/jUHzE1EeMrYCP\r
93 bOiSEPxGzSgaUCKy5F+Zo91Tzw0Huo+82r0CCeWJTE7A13rubpO+MSscQ7xmjNeq\r
94 cNU14zuyNPWpqEToVOdwNVaQ5OtTfXoNq2Sg+p30K0qhaL2weuoUqAS1C6Ur6cgg\r
95 6vTL+NbL+O9hz0A+rd24Z49sZZogot6FUp9rf3eGrVxLoUalzZP82seWs/ftMyyS\r
96 338sIeelsvSyvdwT0h4VZC/w9ym8V34BJtbo85AvgDSc+nDbZPmsM+WM32nA7TkD\r
97 6uyfhkOjbZmrVMzp/fEk/vp++npZZLz8sYwWSGTm8LRiceWKTHFPhe2J3pzjsddF\r
98 Jo/citum6y1rJ7pD1fh+US9zzmWF0cnso+mnoasuoOPgduxl9mlId25l64lkcL2y\r
99 Y2nZ03PeQMSSBJKisHZP\r
100 =3p6F\r
101 -----END PGP SIGNATURE-----\r
102 \r
103 --2oS5YaxWCcQjTEyO--\r