Re: [PATCH 2/8] lib: private string map (associative array) API
[notmuch-archives.git] / ab / 6874954d0bf384c67853e033a8a7a8f5addb7d
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 5E585431FAF\r
6         for <notmuch@notmuchmail.org>; Sun,  4 Mar 2012 15:50:52 -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: -1.098\r
10 X-Spam-Level: \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 FA+c9l6CTNez for <notmuch@notmuchmail.org>;\r
17         Sun,  4 Mar 2012 15:50:51 -0800 (PST)\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 76B2C431FAE\r
22         for <notmuch@notmuchmail.org>; Sun,  4 Mar 2012 15:50:51 -0800 (PST)\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 1S4LCO-0000ep-AV; Sun, 04 Mar 2012 23:50:46 +0000\r
27 Received: from 94-192-233-223.zone6.bethere.co.uk ([94.192.233.223]\r
28         helo=localhost)\r
29         by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69)\r
30         (envelope-from <m.walters@qmul.ac.uk>)\r
31         id 1S4LCN-0001gn-Sb; Sun, 04 Mar 2012 23:50:44 +0000\r
32 From: Mark Walters <markwalters1009@gmail.com>\r
33 To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org\r
34 Subject: Re: [PATCH] emacs: keep customizations in groups\r
35 In-Reply-To: <1330811724-30901-1-git-send-email-jani@nikula.org>\r
36 References: <1330811724-30901-1-git-send-email-jani@nikula.org>\r
37 User-Agent: Notmuch/0.11.1+295~gfd64f6e (http://notmuchmail.org) Emacs/23.2.1\r
38         (i486-pc-linux-gnu)\r
39 Date: Sun, 04 Mar 2012 23:52:35 +0000\r
40 Message-ID: <87d38r6i0s.fsf@qmul.ac.uk>\r
41 MIME-Version: 1.0\r
42 Content-Type: text/plain; charset=us-ascii\r
43 X-Sender-Host-Address: 94.192.233.223\r
44 X-QM-SPAM-Info: Sender has good ham record.  :)\r
45 X-QM-Body-MD5: 10e93d7b982fa40c4bd3c0fd1e1b52d4 (of first 20000 bytes)\r
46 X-SpamAssassin-Score: -1.8\r
47 X-SpamAssassin-SpamBar: -\r
48 X-SpamAssassin-Report: The QM spam filters have analysed this message to\r
49         determine if it is\r
50         spam. We require at least 5.0 points to mark a message as spam.\r
51         This message scored -1.8 points.\r
52         Summary of the scoring: \r
53         * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/,\r
54         *      medium trust\r
55         *      [138.37.6.40 listed in list.dnswl.org]\r
56         * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\r
57         provider *      (markwalters1009[at]gmail.com)\r
58         * -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay\r
59         *      domain\r
60         *  0.5 AWL AWL: From: address is in the auto white-list\r
61 X-QM-Scan-Virus: ClamAV says the message is clean\r
62 X-BeenThere: notmuch@notmuchmail.org\r
63 X-Mailman-Version: 2.1.13\r
64 Precedence: list\r
65 List-Id: "Use and development of the notmuch mail system."\r
66         <notmuch.notmuchmail.org>\r
67 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
68         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
69 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
70 List-Post: <mailto:notmuch@notmuchmail.org>\r
71 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
72 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
73         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
74 X-List-Received-Date: Sun, 04 Mar 2012 23:50:52 -0000\r
75 \r
76 On Sat,  3 Mar 2012 23:55:24 +0200, Jani Nikula <jani@nikula.org> wrote:\r
77 > Move hello section customization to notmuch-hello group and printing\r
78 > customization to notmuch-show group from the top level customization\r
79 > group.\r
80 \r
81 Hi\r
82 \r
83 This is an clear improvement but I wonder about the positioning of these\r
84 two options inside the subgroups. It makes\r
85 \r
86 notmuch-hello-sections the last option under notmuch-hello and\r
87 \r
88 notmuch-print-mechanism the first option under notmuch-show\r
89 \r
90 both of which seem slightly strange positions. \r
91 \r
92 (Personally I would place notmuch-hello-sections towards the top, and\r
93 notmuch-print-mechanism towards the bottom. If you decided on this\r
94 ordering then I am happy to go with it: I am only commenting in case it\r
95 is just accidental.)\r
96 \r
97 Best wishes\r
98 \r
99 Mark\r
100 \r
101 \r
102 \r
103 > ---\r
104 >  emacs/notmuch-hello.el |    2 +-\r
105 >  emacs/notmuch-print.el |    2 +-\r
106 >  2 files changed, 2 insertions(+), 2 deletions(-)\r
107\r
108 > diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el\r
109 > index e089290..0cf613f 100644\r
110 > --- a/emacs/notmuch-hello.el\r
111 > +++ b/emacs/notmuch-hello.el\r
112 > @@ -226,7 +226,7 @@ by an additional filter query. Similarly, the count of messages\r
113 >  displayed next to the buttons can be generated by applying a\r
114 >  different filter to the tag query. These filters are also\r
115 >  supported for \"Customized queries section\" items."\r
116 > -  :group 'notmuch\r
117 > +  :group 'notmuch-hello\r
118 >    :type\r
119 >    '(repeat\r
120 >      (choice (function-item notmuch-hello-insert-header)\r
121 > diff --git a/emacs/notmuch-print.el b/emacs/notmuch-print.el\r
122 > index 6653d97..8c18f4b 100644\r
123 > --- a/emacs/notmuch-print.el\r
124 > +++ b/emacs/notmuch-print.el\r
125 > @@ -25,7 +25,7 @@\r
126 >  \r
127 >  (defcustom notmuch-print-mechanism 'notmuch-print-lpr\r
128 >    "How should printing be done?"\r
129 > -  :group 'notmuch\r
130 > +  :group 'notmuch-show\r
131 >    :type '(choice\r
132 >         (function :tag "Use lpr" notmuch-print-lpr)\r
133 >         (function :tag "Use ps-print" notmuch-print-ps-print)\r
134 > -- \r
135 > 1.7.5.4\r
136\r
137 > _______________________________________________\r
138 > notmuch mailing list\r
139 > notmuch@notmuchmail.org\r
140 > http://notmuchmail.org/mailman/listinfo/notmuch\r