Re: Patches for 0.12
[notmuch-archives.git] / eb / d51c4f16e2b228e5abebb595fb898945b81c16
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 E0EAF4196F0\r
6         for <notmuch@notmuchmail.org>; Mon, 26 Apr 2010 07:59:08 -0700 (PDT)\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 nzCbtD0VGwHa; Mon, 26 Apr 2010 07:59:08 -0700 (PDT)\r
17 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
18         by olra.theworths.org (Postfix) with ESMTP id EEDB9431FC1;\r
19         Mon, 26 Apr 2010 07:59:07 -0700 (PDT)\r
20 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
21         id 9A80225400A; Mon, 26 Apr 2010 07:59:07 -0700 (PDT)\r
22 From: Carl Worth <cworth@cworth.org>\r
23 To: David Edmondson <dme@dme.org>, notmuch@notmuchmail.org\r
24 Subject: Re: [PATCH] emacs: Add notmuch-hello.el,\r
25         a friendly frontend to notmuch\r
26 In-Reply-To: <87ljcaimhv.fsf@ut.hh.sledj.net>\r
27 References: <87y6gguw99.fsf@yoom.home.cworth.org>\r
28         <1271924853-8183-1-git-send-email-dme@dme.org>\r
29         <87iq7i2aia.fsf@yoom.home.cworth.org>\r
30         <87ljcaimhv.fsf@ut.hh.sledj.net>\r
31 User-Agent: Notmuch/0.2-192-g42bda00 (http://notmuchmail.org) Emacs/23.1.1\r
32         (i486-pc-linux-gnu)\r
33 Date: Mon, 26 Apr 2010 07:59:07 -0700\r
34 Message-ID: <87ljcab6pw.fsf@yoom.home.cworth.org>\r
35 MIME-Version: 1.0\r
36 Content-Type: multipart/signed; boundary="=-=-=";\r
37         micalg=pgp-sha1; protocol="application/pgp-signature"\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Mon, 26 Apr 2010 14:59:09 -0000\r
51 \r
52 --=-=-=\r
53 Content-Transfer-Encoding: quoted-printable\r
54 \r
55 \r
56 =2D-=20\r
57 carl.d.worth@intel.com\r
58 On Mon, 26 Apr 2010 10:36:28 +0100, David Edmondson <dme@dme.org> wrote:\r
59 > I'll do this, but I wonder if it is actually good advice.\r
60 \r
61 My primary point is that all of the implemented functionality,\r
62 (including notmuch-hello and notmuch-addresses), needs to be made\r
63 available with our documented approach for loading notmuch in\r
64 emacs. Currently that's "(require 'notmuch)".\r
65 \r
66 We can certainly come up with another approach if there's a better one.\r
67 \r
68 > So if `notmuch-folders' is set before notmuch-hello.el is loaded, you\r
69 > get some saved-searches copied from your folders (but this won't\r
70 > override any specific settings you made for\r
71 > `notmuch-hello-saved-searches').\r
72 \r
73 OK. That is nice. But also a trick order dependency, yes.\r
74 \r
75 > of autoloads in it. Oh, or "(require 'notmuch)" should just load\r
76 > something that has the autoloads (d'oh!) and some\r
77 > `define-mail-user-agent' goop so that `compose-mail' does the right\r
78 > thing.\r
79 >=20\r
80 > I'll try to produce a patch for this last thing.\r
81 \r
82 Yes, that sounds perfect. I'll look forward to that.\r
83 \r
84 > >   * The logo background is gray on my white-background emacs. That\r
85 > >     looks odd.\r
86 >=20\r
87 > Patch sent.\r
88 \r
89 Thanks. Pushed.\r
90 \r
91 > >   * It would be great if point were in the search bar right when this\r
92 > >     mode started.\r
93 >=20\r
94 > This is customisable, and I see that you changed the default ;-)\r
95 \r
96 Yes. I'm still on the fence about this change, (as we are talking in the\r
97 other thread).\r
98 \r
99 > >   * I'd like the saved searches to appear before the recent searches I\r
100 > >     think.\r
101 >=20\r
102 > Did you come to any conclusion about this?\r
103 \r
104 The thing I most want is for my saved searches to be extremely easy to\r
105 select. With notmuch-folder, the view wasn't fancy at all, but it was\r
106 extremely functional in that the first saved search was under point\r
107 right away and just C-n/C-p (or arrow keys) could be used to select\r
108 others.\r
109 \r
110 I haven't gotten that same convenience with notmuch-hello yet.\r
111 \r
112 > >   * I'm not sure how useful the numbered shortcuts are for the recent\r
113 > >     searches\r
114 >=20\r
115 > Patch sent which removes them.\r
116 \r
117 Pushed.\r
118 \r
119 > >   * Repeating a recent search by pressing RET on it creates a new\r
120 > >     identical search which doesn't seem all that useful.\r
121 >=20\r
122 > Patch sent.\r
123 \r
124 And pushed.\r
125 \r
126 > We could have `notmuch-hello' use `notmuch-folders' if\r
127 > `notmuch-hello-saved-searches' is `nil'. Would that help?\r
128 \r
129 Yes, that's what I had in mind here.\r
130 \r
131 > > Finally, I'm quite inclined to make `notmuch' invoke this mode, so\r
132 > > think about that.\r
133 >=20\r
134 > It seems straightforward, I'll produce a patch.\r
135 \r
136 Excellent. A lot of these would have been easy for me to do of course,\r
137 but it seems to be working well for you to "own" the coding of our emacs\r
138 code for now. I really appreciate it!\r
139 \r
140 =2DCarl\r
141 \r
142 --=-=-=\r
143 Content-Type: application/pgp-signature\r
144 \r
145 -----BEGIN PGP SIGNATURE-----\r
146 Version: GnuPG v1.4.10 (GNU/Linux)\r
147 \r
148 iD8DBQFL1ao76JDdNq8qSWgRAoR/AJ91yxDpaB7JZcPru/I4TtszgWYrIwCeNrgQ\r
149 jV4S/Lgh+SEBWxDnf/0+gUs=\r
150 =h3FR\r
151 -----END PGP SIGNATURE-----\r
152 --=-=-=--\r