Re: [feature request] emacs: use `notmuch insert` for FCC
[notmuch-archives.git] / 89 / 2717ba66a428ef622108d80e7f384a4ac1dac0
1 Return-Path: <aperez@igalia.com>\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 E2BEF431FC2\r
6         for <notmuch@notmuchmail.org>; Wed, 18 Nov 2009 08:47:36 -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 eyyRR6KkCiRY for <notmuch@notmuchmail.org>;\r
11         Wed, 18 Nov 2009 08:47:36 -0800 (PST)\r
12 Received: from smtp2.mundo-r.com (smtp3.mundo-r.com [212.51.32.191])\r
13         by olra.theworths.org (Postfix) with ESMTP id 631BE431FBC\r
14         for <notmuch@notmuchmail.org>; Wed, 18 Nov 2009 08:47:35 -0800 (PST)\r
15 X-IronPort-Anti-Spam-Filtered: true\r
16 X-IronPort-Anti-Spam-Result: AqYEAIRzdkpbdWOb/2dsb2JhbACBUs4sCYQPBQ\r
17 X-IronPort-AV: E=Sophos;i="4.44,766,1249250400"; \r
18         d="asc'?scan'208";a="158833199"\r
19 Received: from 155.99.117.91.static.mundo-r.com (HELO fanzine.igalia.com)\r
20         ([91.117.99.155])\r
21         by smtp2.mundo-r.com with ESMTP; 18 Nov 2009 17:47:33 +0100\r
22 Received: from maestria.local.igalia.com ([192.168.10.14]\r
23  helo=mail.igalia.com)  by fanzine.igalia.com with esmtps       (Cipher\r
24  TLS1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim)    id 1NAngr-0005ag-Po     for\r
25  <notmuch@notmuchmail.org>; Wed, 18 Nov 2009 17:47:33 +0100\r
26 Received: from ip129.dynamic.igalia.com ([192.168.10.129]\r
27         helo=hikari.localdomain) by mail.igalia.com with esmtp (Exim)\r
28         id 1NAngr-0001wH-00\r
29         for <notmuch@notmuchmail.org>; Wed, 18 Nov 2009 17:47:33 +0100\r
30 Received: from hikari (localhost [127.0.0.1])\r
31         by hikari.localdomain (Postfix) with ESMTP id 6719E31CAD21\r
32         for <notmuch@notmuchmail.org>; Wed, 18 Nov 2009 17:47:33 +0100 (CET)\r
33 Date: Wed, 18 Nov 2009 17:47:32 +0100\r
34 From: Adrian Perez de Castro <aperez@igalia.com>\r
35 To: notmuch@notmuchmail.org\r
36 Message-ID: <20091118174732.371ae432@hikari>\r
37 In-Reply-To: <87aaykqe24.fsf@yoom.home.cworth.org>\r
38 References: <20091118002059.067214ed@hikari>\r
39         <87aaykqe24.fsf@yoom.home.cworth.org>\r
40 Organization: Igalia\r
41 X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.3; x86_64-redhat-linux-gnu)\r
42 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAAXNSR0IArs4c6QAAADBQTFRFBwcHFhYWKCgoNzc3SEhIV1dXaGhod3d3iIiIlpaWqKiouLi4x8fH2NjY5+fn/v7+rSjDkgAAAjVJREFUOE9l07tvE0EQwOHfrkV9O+eko7g701BBfECJsIigT2IpooIqaSiRUEB0REj00FBQgYSCkhry+gecUPJybJeIxLumTbilsH2PMNXufDOa3ZVW+1JkpbUmD/8+vXR3c7or4Gz93mH309Kz8/C9/RQge7VfhW/LW+PF8IkrQ7Z6OKmQr1tl+LU/yWP9mxJka9O88fZHPwf/7u0kLyCnX3I4fQhgjAgIfi+HHw5A1Y2ggIMcFKAEnRoL0M3BosI4TI2IATjuT8DvSNJoNNJgkIhxlr9TUHeSpDnfohlIrMBlU+BGmsZqfr69FMfGMw4NoG835+J62riWyjQ/uXlTQjNUIoYegMsBM0pCD8oDas7n4HQsBghXFxJTW42KDs+4XLfjsN0wOYgABqARjMKIHIaAQnmHjsI5Cvi9Cf6k03OoWBkpIP3Q7354+dEimFBKHbMP9oKjwfd9gbrxR5KDToczK4uPF8UgNomKU2GaENRi77zyDKICxKBS4xXYbONPMQMdYZTBwMiMWiUg9g6UJ3OBogzjV8E7sBVwyvfAOYdQhsABzuOxI1MGZbs98Q6Md5UOfbbR2R0eWOesrnRw5ajT6f60LrNhWIHZpBnUWv2s14ukArWWTqTes3YQxRXgFkcMu70TPYqqUBs0YwmO967OVIdTG4bY4a7WLaqgLm5vbHdH5np0Dri//fmg7y8scB4u3+zsuNlH0X+g19bby69b+TYH6isvns8VdQWgxj9tHP8AR5/hSdYqkwsAAAAASUVORK5CYII=\r
43 Mime-Version: 1.0\r
44 Content-Type: multipart/signed; micalg=PGP-SHA1;\r
45         boundary="Sig_/T7w99KBq38_NHN42rs0naPD";\r
46         protocol="application/pgp-signature"\r
47 Subject: Re: [notmuch] Introducing myself\r
48 X-BeenThere: notmuch@notmuchmail.org\r
49 X-Mailman-Version: 2.1.12\r
50 Precedence: list\r
51 List-Id: "Use and development of the notmuch mail system."\r
52         <notmuch.notmuchmail.org>\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
56 List-Post: <mailto:notmuch@notmuchmail.org>\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
59         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
60 X-List-Received-Date: Wed, 18 Nov 2009 16:47:37 -0000\r
61 \r
62 --Sig_/T7w99KBq38_NHN42rs0naPD\r
63 Content-Type: text/plain; charset=US-ASCII\r
64 Content-Transfer-Encoding: quoted-printable\r
65 \r
66 On Wed, 18 Nov 2009 03:15:31 -0800, Carl wrote:\r
67 \r
68 > So I'd written a bunch of functional code, only to find myself stuck at\r
69 > the very last step, (hooking it up to the existing sup interface). Then\r
70 > Keith suggested emacs and it all seemed pretty easy since I'd already\r
71 > done all the Xapian work. So it's funny, I was only willing to commit to\r
72 > this project because I wasn't consciously aware I was working on it.\r
73 > Otherwise it would have seemed to overwhelming to start. :-)\r
74 \r
75 I tried the "notmuch.el" Emacs mode, and have just installed Emacs in\r
76 order to be able to try it out. As I have been using Vim for the last ~9\r
77 years, probably that was the reason why I found it not very comfortable.\r
78 Even so, I am able of searching, sending and tagging mail quite happily.\r
79 Apart from it being a bit Spartan, the only issue I have found so far is\r
80 that I keep pushing the Escape key a lot -- which is my fault as that is a\r
81 compulsive behaviour derived of using a Vi-like editor :D\r
82 \r
83 (Side note: I would not like to start an editor-religion debate, I just\r
84 want you to know that most probably it is my fault when I say that I am\r
85 not very comfortable with the Emacs mode)\r
86 \r
87 I showed the thing to my work mates this morning and most of them said\r
88 that they would like to have Mutt-like keybindings *with* Not Much's\r
89 search and tagging running behind it. I also think it would be great to\r
90 have a curses-based UI, so this may be a good opportunity to start doing\r
91 some serious coding with it in my spare time.\r
92 =20\r
93 > > Also, I would like to share one idea [...] adding a "X-Tags" header\r
94 > > field or by reusing the "Keywords" one. This way, the index could\r
95 > > be totally recreated by re-reading the mail directories, and this\r
96 > > would also allow to a tools like OfflineIMAP [1] to get the mails into a\r
97 > > local maildir, tagging and indexing the mails with the e-mail reader and\r
98 > > then syncing back the messages with the "X-Tags" header to the IMAP ser=\r
99 ver.\r
100 > > This would allow to use the mail reader from a different computer and s=\r
101 till\r
102 > > have everything tagged finely.\r
103 >=20\r
104 > It is an interesting idea. But there's also something really comforting\r
105 > about the email indexed never modifying the mail files. If you're\r
106 > reading the notmuch commit logs closely you'll see that I'm not actually\r
107 > careful enough to be trusted with your mail (but I try). So I like that\r
108 > I don't even have to trust myself---the worst that happens is that I\r
109 > have to recreate my index.\r
110 \r
111 I already made a comment about this in another reply, I could make the\r
112 modifications e.g. from a script, so no need to add this in Not Much.\r
113 Moreover, I agree that if one of the goals is to never modify mailboxes,\r
114 then the current behaviour is just perfect.\r
115 \r
116 > And as Keith mentioned, we've got the "notmuch dump; notmuch restore"\r
117 > idea working exactly as it did in sup. (Though I am thinking of also\r
118 > adding thread IDs to that now---more on that later.)\r
119 >=20\r
120 > The big annoyance I had with sup index creation, (I ended up having to\r
121 > do it more than once too), was that it takes *forever*. Right now,\r
122 > notmuch is a little bit faster, but not a lot faster. And I've got some\r
123 > ideas to fix that. It would be really nice if index creation were pain\r
124 > free. (And maybe it is for some user with small amounts of mail---oh, to\r
125 > have only 40000 messages to have to index!).\r
126 \r
127 Wow, that is a lot of mail. Definitely people having as much mail as you\r
128 (er... I mean "_not much_ mail as you") would benefit from faster\r
129 indexing.\r
130 \r
131 > [*] The problem here is that sup puts serialized ruby data structures\r
132 > into the data field of its Xapian documents. So being compatible with\r
133 > sup means being able to recreate serialized data structures for a\r
134 > particular version of ruby.\r
135 \r
136 Scary...\r
137 \r
138 --=20\r
139 Adrian Perez de Castro <aperez@igalia.com>\r
140 Igalia - Free Software Engineering\r
141 \r
142 --Sig_/T7w99KBq38_NHN42rs0naPD\r
143 Content-Type: application/pgp-signature; name=signature.asc\r
144 Content-Disposition: attachment; filename=signature.asc\r
145 \r
146 -----BEGIN PGP SIGNATURE-----\r
147 Version: GnuPG v2.0.13 (GNU/Linux)\r
148 \r
149 iEYEARECAAYFAksEJSQACgkQkcVZ2+TJEjt33wCeNsaa/01Bbt03as7LhdLsfSJY\r
150 TVQAn38tGcD1RjMl2xCZAU8p9rxhf3qx\r
151 =zA5/\r
152 -----END PGP SIGNATURE-----\r
153 \r
154 --Sig_/T7w99KBq38_NHN42rs0naPD--\r