database error
[notmuch-archives.git] / d1 / df4d62ea4790906fc058bdcb4bf3d7786332c2
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 8B806431FD0\r
6         for <notmuch@notmuchmail.org>; Fri, 20 May 2011 15:00:33 -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: 0.01\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.01 tagged_above=-999 required=5\r
12         tests=[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 JyR6UpBnTjvz for <notmuch@notmuchmail.org>;\r
16         Fri, 20 May 2011 15:00:32 -0700 (PDT)\r
17 Received: from arlo.cworth.org (arlo.cworth.org [50.43.72.2])\r
18         by olra.theworths.org (Postfix) with ESMTP id B78C2431FB6\r
19         for <notmuch@notmuchmail.org>; Fri, 20 May 2011 15:00:32 -0700 (PDT)\r
20 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
21         by arlo.cworth.org (Postfix) with ESMTP id 0B90B29A057;\r
22         Fri, 20 May 2011 15:00:31 -0700 (PDT)\r
23 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
24         id EE0E0254183; Fri, 20 May 2011 15:00:30 -0700 (PDT)\r
25 From: Carl Worth <cworth@cworth.org>\r
26 To: Patrick Totzke <patricktotzke@gmail.com>,\r
27         notmuch-list <notmuch@notmuchmail.org>\r
28 Subject: Re: a python terminal gui?\r
29 In-Reply-To: <1305888097-sup-2343@optimusprime>\r
30 References: <1305888097-sup-2343@optimusprime>\r
31 User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1\r
32         (i486-pc-linux-gnu)\r
33 Date: Fri, 20 May 2011 15:00:23 -0700\r
34 Message-ID: <87pqndoww8.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: Fri, 20 May 2011 22:00:33 -0000\r
51 \r
52 --=-=-=\r
53 Content-Transfer-Encoding: quoted-printable\r
54 \r
55 On Fri, 20 May 2011 11:47:41 +0100, Patrick Totzke <patricktotzke@googlemai=\r
56 l.com> wrote:\r
57 > Hi all,\r
58 \r
59 Hi Patrick. Welcome to notmuch.\r
60 \r
61 > First of all, Thanks to everybody involved in the project. Using notmuch =\r
62 is\r
63 > good fun\r
64 \r
65 I'm really pleased that you are finding notmuch to be fun and useful.\r
66 \r
67 > However, as a vim user I feel that the one thing that's truly missing is =\r
68 a=20\r
69 > maintainable, feature-rich commandline GUI.\r
70 \r
71 "... that's not implemented in emacs" you mean? ;-)\r
72 \r
73 > I'm aware of existing proposed guis: vala-notmuch, notsomuch, I have also=\r
74  seen=20\r
75 > a minimal non-oop python gui that doesn't use the python bindings and\r
76 > whose name=20\r
77 \r
78 It's funny to me that you used the name "notmuch-gui" since I've always\r
79 understood the 'G' in GUI to indicate "graphical", to distinguish from\r
80 non-graphical terminal interfaces like you propose here.\r
81 \r
82 Anyway, I'm quite pleased to see you working on this and I wish you lots\r
83 of success.\r
84 \r
85 >   On the other hand, cnotmuch and all other libs I (plan to) use in this =\r
86 project\r
87 >   were easy_installed without any problems.\r
88 \r
89 Is the name "cnotmuch" still current anywhere? Long ago, (perhaps a year\r
90 ago last April when we incorporated the python bindings into the notmuch\r
91 repository), we decided that the python bindings should be named\r
92 "notmuch" rather than "cnotmuch".\r
93 \r
94 I notice that notmuch/python/bindings/README does still mention\r
95 "cnotmuch" in some of the explanatory text. But, significantly, it has\r
96 "import notmuch" in its code example. (On a similar note, I also notice\r
97 that this README doesn't provide installation instructions, nor is there\r
98 anything like a "make install" target for the bindings. So this could\r
99 probably be integrated more cleanly.)\r
100 \r
101 I believe all new code should be doing "import notmuch" rather than\r
102 "import cnotmuch", and if there is any package that installs bindings\r
103 that work as "cnotmuch" we should get those updated right away.\r
104 \r
105 Incidentally, the python-notmuch Debian package does provide "notmuch"\r
106 rather than "cnotmuch".\r
107 \r
108 > You can find the code at here: https://github.com/pazz/notmuch-gui=20\r
109 \r
110 I've got the code and was able to run it after changing each occurrence\r
111 of:\r
112 \r
113         from cnotmuch.notmuch import ...\r
114 to:\r
115         from notmuch import\r
116 \r
117 I was a bit surprised to see so many results in my initial view. I'd\r
118 expect a default view to be tag:inbox rather than tag:unread. (I didn't\r
119 realize I had over 100 thousand messages with the unread tag, but\r
120 apparently I do.) Perhaps that's a sup default that I've long since\r
121 forgotten?\r
122 \r
123 \r
124 Anyway, I was able to get the "i" and "u" keybindings to work at least.\r
125 \r
126 Here are a few of my immediate thoughts:\r
127 \r
128   * The interface blocks for a while when searching for something (like\r
129     "tag:unread" in my case) that returns a *lot* of results. Are you\r
130     somehow sucking in all the results immediately rather than just what\r
131     you need to dill the current screen?\r
132 \r
133   * I was a bit surprised that 'i' and 'u' kept opening new buffers\r
134     rather than switching to an existing buffer.\r
135 \r
136   * The '/' key didn't seem to do anything for me, so I wasn't able to\r
137     actually do any custom searches.\r
138 \r
139 > I consider all of this to be a proof-of-concept, any part of this proposal\r
140 > is up for discussion.\r
141 \r
142 It looks like a fine start to me. Please let me know if there's anything\r
143 I can do to help with this, (in terms of hosting the code or anything\r
144 else).\r
145 \r
146 =2DCarl\r
147 \r
148 --=-=-=\r
149 Content-Type: application/pgp-signature\r
150 \r
151 -----BEGIN PGP SIGNATURE-----\r
152 Version: GnuPG v1.4.11 (GNU/Linux)\r
153 \r
154 iEYEARECAAYFAk3W5HcACgkQ6JDdNq8qSWjJ0QCgh3cHS4CEjf9bkeyJSAEe0O8Z\r
155 jdwAnR2ugfNKdxex17oc0qy1xY0F0bk8\r
156 =XOO1\r
157 -----END PGP SIGNATURE-----\r
158 --=-=-=--\r