Re: [PATCH v1 0/3] emacs: Allow saving of threads and messages
[notmuch-archives.git] / 6f / b7b4f810af6cf297c9b5c53b0736cd05ab8439
1 Return-Path: <cworth@cworth.org>\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 0A46F40DBE4\r
6         for <notmuch@notmuchmail.org>; Thu, 11 Nov 2010 17:35:02 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.89\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5\r
12         tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01]\r
13         autolearn=ham\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 0MYP9APYVqhu; Thu, 11 Nov 2010 17:34:50 -0800 (PST)\r
17 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
18         by olra.theworths.org (Postfix) with ESMTP id A111940DBE8;\r
19         Thu, 11 Nov 2010 17:34:50 -0800 (PST)\r
20 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
21         id 4BF7925412B; Thu, 11 Nov 2010 17:34:50 -0800 (PST)\r
22 From: Carl Worth <cworth@cworth.org>\r
23 To: Rob Browning <rlb@defaultvalue.org>, notmuch@notmuchmail.org\r
24 Subject: Re: Strings vs symbols in notmuch-search-result-format\r
25 In-Reply-To: <87mxrnn964.fsf@raven.defaultvalue.org>\r
26 References: <87mxrnn964.fsf@raven.defaultvalue.org>\r
27 User-Agent: Notmuch/0.4 (http://notmuchmail.org) Emacs/23.2.1\r
28         (i486-pc-linux-gnu)\r
29 Date: Thu, 11 Nov 2010 17:34:50 -0800\r
30 Message-ID: <878w0zmiit.fsf@yoom.home.cworth.org>\r
31 MIME-Version: 1.0\r
32 Content-Type: multipart/signed; boundary="=-=-=";\r
33         micalg=pgp-sha1; protocol="application/pgp-signature"\r
34 X-BeenThere: notmuch@notmuchmail.org\r
35 X-Mailman-Version: 2.1.13\r
36 Precedence: list\r
37 List-Id: "Use and development of the notmuch mail system."\r
38         <notmuch.notmuchmail.org>\r
39 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
40         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
41 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
42 List-Post: <mailto:notmuch@notmuchmail.org>\r
43 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
44 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
46 X-List-Received-Date: Fri, 12 Nov 2010 01:35:02 -0000\r
47 \r
48 --=-=-=\r
49 Content-Transfer-Encoding: quoted-printable\r
50 \r
51 On Sat, 11 Sep 2010 18:37:55 -0500, Rob Browning <rlb@defaultvalue.org> wro=\r
52 te:\r
53 > I've started to look at the elisp, and wondered why\r
54 > notmuch-search-result-format expected strings rather than symbols for\r
55 > the field names, i.e.:\r
56 ...\r
57 > Perhaps there's a good argument for strings, but if not, the latter is\r
58 > more idiomatic, and a bit more efficient too (comparisons will just be\r
59 > pointer compares (via assq) rather than something like a strcmp (assoc)).\r
60 \r
61 \r
62 I'm not sure that this is my code. But I do know that most of the emacs\r
63 lisp code I've written is very non-idiomatic and without good\r
64 justification.\r
65 \r
66 Please don't look at my elisp code and assume it is sane at all. I'm\r
67 looking forward to the day where "git blame -- emacs/*.el" doesn't show\r
68 my name at all...\r
69 \r
70 Said another way, please feel free to post improvements for any strange\r
71 elisp you see, (C code too, of course).\r
72 \r
73 =2DCarl\r
74 \r
75 =2D-=20\r
76 carl.d.worth@intel.com\r
77 \r
78 --=-=-=\r
79 Content-Type: application/pgp-signature\r
80 \r
81 -----BEGIN PGP SIGNATURE-----\r
82 Version: GnuPG v1.4.10 (GNU/Linux)\r
83 \r
84 iD8DBQFM3Jm66JDdNq8qSWgRAnpwAKCTsvGL91PmrD1T2XYyqvxMkJn85QCfZyvd\r
85 ALZ0nGS5M9PoOT47eebSvgk=\r
86 =5hjE\r
87 -----END PGP SIGNATURE-----\r
88 --=-=-=--\r