Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 5a / 912e0d57b90754fa9951fca2ee20f0c568cdf4
1 Return-Path: <sebastian@sspaeth.de>\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 9A912431FBC\r
6         for <notmuch@notmuchmail.org>; Mon,  1 Feb 2010 12:29:58 -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: -0.061\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.061 tagged_above=-999 required=5\r
12         tests=[AWL=-0.062, BAYES_50=0.001] autolearn=ham\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 WM1raQdI9dgG for <notmuch@notmuchmail.org>;\r
16         Mon,  1 Feb 2010 12:29:57 -0800 (PST)\r
17 Received: from webmail4.g.dreamhost.com (caiajhbihbdd.dreamhost.com\r
18         [208.97.187.133])\r
19         by olra.theworths.org (Postfix) with ESMTP id A0E92431FAE\r
20         for <notmuch@notmuchmail.org>; Mon,  1 Feb 2010 12:29:57 -0800 (PST)\r
21 Received: from webmail.sspaeth.de (localhost [127.0.0.1])\r
22         by webmail4.g.dreamhost.com (Postfix) with ESMTP id 7380C30273\r
23         for <notmuch@notmuchmail.org>; Mon,  1 Feb 2010 12:29:44 -0800 (PST)\r
24 Received: from 195.190.178.84 (proxying for 195.190.178.84)\r
25         (SquirrelMail authenticated user sebastian@sspaeth.de)\r
26         by webmail.sspaeth.de with HTTP; Mon, 1 Feb 2010 12:29:44 -0800\r
27 Message-ID: <fceba468c7dc42532528f699e51879ab.squirrel@webmail.sspaeth.de>\r
28 In-Reply-To: <87eil4ygar.fsf@servo.finestructure.net>\r
29 References: <87eil4ygar.fsf@servo.finestructure.net>\r
30 Date: Mon, 1 Feb 2010 12:29:44 -0800\r
31 From: sebastian@sspaeth.de\r
32 To: "Notmuch Mail" <notmuch@notmuchmail.org>\r
33 User-Agent: SquirrelMail/1.4.19\r
34 MIME-Version: 1.0\r
35 Content-Type: text/plain;charset=iso-8859-1\r
36 Content-Transfer-Encoding: 8bit\r
37 Subject: Re: [notmuch] Request for high-priority improvements to notmuch\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, 01 Feb 2010 20:29:58 -0000\r
51 \r
52 Let me second those thoughts. I'll even put forward 2 more pet suggestions\r
53 :).\r
54 \r
55 1)\r
56 > Ability to apply tags based on folder paths in "notmuch new"\r
57 \r
58 This will let me sync tags with notmuchsync much more easily than going\r
59 through all mails and detecting their IMAP path from the filename. Support\r
60 for searching/tagging mails in certain folders would be really nice. I\r
61 would appreciate but do not urgently need a [tags] section in notmuch\r
62 proper, as I'll extend notmuchsync to do that for me.\r
63 \r
64 2)\r
65 > JSON output for "notmuch search/show" with ability to filter output fields\r
66 > "search" --> "search --output=thread_id,date,number,author,subject,tags"\r
67 >  "show"  --> "search\r
68 > --output=message_id,tags,path,header,body,attachments"\r
69 \r
70 YES PLEASE :-). notmuch seems designed to work in an ecosystem of\r
71 surrounding scripts, feeding data in and out. But we are all currently\r
72 limited to regexes for that. And heck, I hard a hard time understanding\r
73 why all hell broke out until I found that i had added a tag containing\r
74 parentheses which made my regex fail. :-). XML, JSON, any structured\r
75 output would be nice.\r
76 \r
77 And as for filtering: YES, PLEASE :-). notmuchsync and many other 3rd\r
78 party apps would love that. As father of notmuchsync, I can tell you my\r
79 little script hickups very badly when slurping in 200k mails (including\r
80 text bodies) just to find out the maildir tags of those mails.\r
81 \r
82 > * Proper maildir sync ("search --output=message_id,tags,path" ...)\r
83 [snip many sensible proposals]\r
84 \r
85 Sebastian\r
86 \r
87 P.S. as a bonus: My very ugly way of getting a distribution of existing\r
88 tags (extra points for beautified versions):\r
89 \r
90 notmuch dump|sed -e 's/^.*(//'|sed -e 's/)$//'|sed 's/ /\n/g'|sort|uniq\r
91 -c|sort -r\r
92 \r
93 \r