Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / 1d / 1daf0e85ea51cba904e1e65bb95a8a21a999d6
1 Return-Path: <ccx@te2000.cz>\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 1361E431FD0\r
6         for <notmuch@notmuchmail.org>; Fri, 24 Jun 2011 04:28:25 -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: 1.274\r
10 X-Spam-Level: *\r
11 X-Spam-Status: No, score=1.274 tagged_above=-999 required=5\r
12         tests=[RDNS_NONE=1.274] 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 zJ9ORa2jHjAb for <notmuch@notmuchmail.org>;\r
16         Fri, 24 Jun 2011 04:28:24 -0700 (PDT)\r
17 Received: from asterix.te2000.cz (unknown [213.29.225.26])\r
18         by olra.theworths.org (Postfix) with ESMTP id 0C193431FB6\r
19         for <notmuch@notmuchmail.org>; Fri, 24 Jun 2011 04:28:24 -0700 (PDT)\r
20 Received: from dorje.inet.te2000 (unknown [192.168.1.205])\r
21         by asterix.te2000.cz (Postfix) with SMTP id 936E12FB6D\r
22         for <notmuch@notmuchmail.org>; Fri, 24 Jun 2011 13:28:21 +0200 (CEST)\r
23 Received: by dorje.inet.te2000 (sSMTP sendmail emulation);\r
24         Fri, 24 Jun 2011 13:28:21 +0200\r
25 From: ccx@te2000.cz\r
26 Date: Fri, 24 Jun 2011 13:28:21 +0200\r
27 To: notmuch@notmuchmail.org\r
28 Subject: Notmuch scripts\r
29 Message-ID: <20110624112820.GA26201@dorje.inet.te2000>\r
30 MIME-Version: 1.0\r
31 Content-Type: multipart/signed; micalg=pgp-sha1;\r
32         protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z"\r
33 Content-Disposition: inline\r
34 User-Agent: Mutt/1.5.21 (2010-09-15)\r
35 X-Mailman-Approved-At: Fri, 24 Jun 2011 08:34:27 -0700\r
36 X-BeenThere: notmuch@notmuchmail.org\r
37 X-Mailman-Version: 2.1.13\r
38 Precedence: list\r
39 List-Id: "Use and development of the notmuch mail system."\r
40         <notmuch.notmuchmail.org>\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
42         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
44 List-Post: <mailto:notmuch@notmuchmail.org>\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
48 X-List-Received-Date: Fri, 24 Jun 2011 11:28:25 -0000\r
49 \r
50 \r
51 --Nq2Wo0NMKNjxTN9z\r
52 Content-Type: text/plain; charset=us-ascii\r
53 Content-Disposition: inline\r
54 \r
55 Hello list!\r
56 \r
57 As some of you know I have written several scripts that aid using\r
58 notmuch, including an alternative to the notmuch-mutt perl script.\r
59 \r
60 Since Carl Worth consented to include them into official distribution\r
61 I am now cleaning them up, writing docs and extending it so it covers\r
62 all features notmuch-mutt currently has.\r
63 \r
64 They can currently be obtained by:\r
65         bzr branch http://webprojekty.cz/ccx/bzr/zmuch\r
66 Or you can browse the code at:\r
67         http://webprojekty.cz/ccx/loggerhead/zmuch/files\r
68 \r
69 During the process of polishing the scripts I thought about few things\r
70 that may be interesting to other people integrating notmuch, so let me\r
71 hear your opinions. :-)\r
72 \r
73 $NOTMUCH and proxies:\r
74 There are applications (whether full-blown interfaces or simple scripts)\r
75 that use notmuch. There are scrips that work as proxies to actual\r
76 notmuch, eg. by invoking ssh to a machine where the mails are, or\r
77 processing the argument list and expanding saved searches. Therefore it\r
78 would be very practical if the path to actual executable would be\r
79 configurable. Thus I propose:\r
80 \r
81   * Every application that does not act as a proxy should use\r
82     environment variable NOTMUCH to find the actual notmuch executable.\r
83         If not defined or empty, just execute 'notmuch' as usual.\r
84 \r
85   * Every application that acts as a proxy should ignore the NOTMUCH\r
86         variable, instead it should be configurable in other way\r
87         (configuration file or something easily changeable). This way\r
88         chaining of proxies will be possible.\r
89 \r
90 Configuration and temporary files:\r
91 I like XDG specification. I think it's bit unnecessary to have to have\r
92 config files that belong only to few scripts littered all around my\r
93 homedir. Also I think it's reasonable that user would be able to specify\r
94 where to put the temporary files. That said atm I have ~/.zmuch as the\r
95 only config file, as it felt bit weird to create new directory for just\r
96 one file. But as I'm preparing the scripts I see more and more things\r
97 that are specific to my setup and I would like them to be configurable.\r
98 These are:\r
99 \r
100   * Spam filter. Do you guys use any? What does it's interface look like?\r
101     I currently use bsfilter which I've found does it's job pretty well.\r
102 \r
103   * Colors. I use bright fg on dark bg, but I understand somebody won't\r
104     be happy with this choice.\r
105 \r
106   * New message processing. Currently I check for spam and I mute\r
107     selected threads. I can see this can be made quite configurable.\r
108         Maybe create procmail equivalent for notmuch? :-)\r
109 \r
110 Thanks for notmuch! I look forward to your responses.\r
111         Jan Pobrislo (ccxCZ@freenode)\r
112 \r
113 --Nq2Wo0NMKNjxTN9z\r
114 Content-Type: application/pgp-signature\r
115 \r
116 -----BEGIN PGP SIGNATURE-----\r
117 Version: GnuPG v2.0.17 (GNU/Linux)\r
118 \r
119 iEYEARECAAYFAk4EdNQACgkQq2Q0xnrW+pm6cwCeMV5l8Jq2BoJ8u1vcz2JTHfPb\r
120 GGsAoJeL5e/vmgQ1WKlTNIeFTRHD1y/w\r
121 =j+TT\r
122 -----END PGP SIGNATURE-----\r
123 \r
124 --Nq2Wo0NMKNjxTN9z--\r