Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 0e / e9ca79195de61d295721c9b49ecc1b9841210c
1 Return-Path: <amdragon@mit.edu>\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 68142431FAE\r
6         for <notmuch@notmuchmail.org>; Sat, 21 Jan 2012 10:13:53 -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.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 6o68zHfv9b3D for <notmuch@notmuchmail.org>;\r
16         Sat, 21 Jan 2012 10:13:52 -0800 (PST)\r
17 Received: from dmz-mailsec-scanner-5.mit.edu (DMZ-MAILSEC-SCANNER-5.MIT.EDU\r
18         [18.7.68.34])\r
19         by olra.theworths.org (Postfix) with ESMTP id 26EBD429E49\r
20         for <notmuch@notmuchmail.org>; Sat, 21 Jan 2012 10:13:40 -0800 (PST)\r
21 X-AuditID: 12074422-b7fd66d0000008f9-69-4f1b004d63f8\r
22 Received: from mailhub-auth-3.mit.edu ( [18.9.21.43])\r
23         by dmz-mailsec-scanner-5.mit.edu (Symantec Messaging Gateway) with SMTP\r
24         id FA.8E.02297.D400B1F4; Sat, 21 Jan 2012 13:13:33 -0500 (EST)\r
25 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])\r
26         by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id q0LIDWX0020225; \r
27         Sat, 21 Jan 2012 13:13:33 -0500\r
28 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91])\r
29         (authenticated bits=0)\r
30         (User authenticated as amdragon@ATHENA.MIT.EDU)\r
31         by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q0LIDV5j013972\r
32         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
33         Sat, 21 Jan 2012 13:13:32 -0500 (EST)\r
34 Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77)\r
35         (envelope-from <amdragon@MIT.EDU>)\r
36         id 1RofR6-0008DE-0B; Sat, 21 Jan 2012 13:13:08 -0500\r
37 Date: Sat, 21 Jan 2012 13:13:07 -0500\r
38 From: Austin Clements <amdragon@MIT.EDU>\r
39 To: Tomi Ollila <tomi.ollila@iki.fi>\r
40 Subject: Re: [PATCH] lib: Save filenames for files detected as "not an email\r
41         file" in the database.\r
42 Message-ID: <20120121181307.GI16740@mit.edu>\r
43 References: <1327096827-5760-1-git-send-email-amdragon@mit.edu>\r
44         <m2k44lfksv.fsf@guru.guru-group.fi>\r
45 MIME-Version: 1.0\r
46 Content-Type: text/plain; charset=us-ascii\r
47 Content-Disposition: inline\r
48 In-Reply-To: <m2k44lfksv.fsf@guru.guru-group.fi>\r
49 User-Agent: Mutt/1.5.21 (2010-09-15)\r
50 X-Brightmail-Tracker:\r
51  H4sIAAAAAAAAA+NgFmpileLIzCtJLcpLzFFi42IR4hTV1vVlkPY32Hxa3eL6zZnMFm9WzmN1\r
52         YPI4/HUhi8ezVbeYA5iiuGxSUnMyy1KL9O0SuDI2X9vCVtDKX3H06Be2Bsb/3F2MnBwSAiYS\r
53         l153sEPYYhIX7q1nA7GFBPYxSlxY7NPFyAVkb2CUeLH9LBOEc5JJYtnOi2wQzhJGiVfnmxlB\r
54         WlgEVCWeH70INopNQENi2/7lYHERARWJB23rWUFsZgFpiW+/m5lAbGGBVImF2xrBbF4BHYmr\r
55         e25CrU6VuPn0ECNEXFDi5MwnLBC9WhI3/r0EqucAm7P8HweIySlgIDHptQBIhSjQpiknt7FN\r
56         YBSahaR5FpLmWQjNCxiZVzHKpuRW6eYmZuYUpybrFicn5uWlFuma6uVmluilppRuYgQFNbuL\r
57         0g7GnweVDjEKcDAq8fAm7JP0F2JNLCuuzD3EKMnBpCTKm/1Pyl+ILyk/pTIjsTgjvqg0J7X4\r
58         EKMEB7OSCG9ZF1A5b0piZVVqUT5MSpqDRUmcV13rnZ+QQHpiSWp2ampBahFMVoaDQ0mCd91/\r
59         oKGCRanpqRVpmTklCGkmDk6Q4TxAw2eD1PAWFyTmFmemQ+RPMSpKifNeAUkIgCQySvPgemFJ\r
60         5xWjONArwrwHQap4gAkLrvsV0GAmoMEceWCDSxIRUlINjEu6Q+Ruhl5bdvRmy1bjnLo1N8TP\r
61         ih2ymiDuJBbDMY1JatO7/3s+NNX/e6aRHfzo1SWN3XMY3evPb5RfKvXhdUfX5j3/HyRkBRae\r
62         Vks9kH5q9VIuvv413zrkAjNZbeI+X32nJDW3T3vLunqG6IcTShdcWCFynPnkId+k02m3Zdxl\r
63         BIUsHtw7b6fEUpyRaKjFXFScCAAMVLEeFQMAAA==\r
64 Cc: notmuch@notmuchmail.org\r
65 X-BeenThere: notmuch@notmuchmail.org\r
66 X-Mailman-Version: 2.1.13\r
67 Precedence: list\r
68 List-Id: "Use and development of the notmuch mail system."\r
69         <notmuch.notmuchmail.org>\r
70 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
71         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
72 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
73 List-Post: <mailto:notmuch@notmuchmail.org>\r
74 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
75 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
76         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
77 X-List-Received-Date: Sat, 21 Jan 2012 18:13:53 -0000\r
78 \r
79 Quoth Tomi Ollila on Jan 21 at 11:48 am:\r
80 > On Fri, 20 Jan 2012 17:00:27 -0500, Austin Clements <amdragon@MIT.EDU> wrote:\r
81 > > Later runs of "notmuch new" won't scan these files again and won't\r
82 > > print warnings.\r
83 > > \r
84 > > Various programs (Dovecot, in my case) store indexes and caches and\r
85 > > such in the maildir.  Without this, notmuch persistently complains\r
86 > > about such files.\r
87 > > ---\r
88\r
89 > LGTM...\r
90\r
91 > > Every time I run notmuch new I get a slew of these warnings.  It was\r
92 > > starting to get on my nerves, so I implemented the solution suggested\r
93 > > by the TODO file.\r
94\r
95 > [ ... ]\r
96\r
97 > > -large so the detection could be potentially slow). 2. A "notmuch\r
98 > > -search" syntax could be added to allow the user to find these files,\r
99 > > -(and perhaps delete them or move them away as appropriate).\r
100 > > +Add a "notmuch search" syntax to allow uses to find files recorded as\r
101 > > +non-emails in the database (and perhaps delete them or move them away\r
102 > > +as appropriate).\r
103\r
104 > Could these messages be tagged with some fixed tag -- we already have\r
105 > 'signed' and 'attachment' tag. maybe 'nonemail' (or something) could\r
106 > be used for these messages ?\r
107 \r
108 They aren't actually messages.  Messages have a lot of basic metadata\r
109 that non-email files don't have, so I went with distinct types of\r
110 documents, figuring that would be much less disruptive than having to\r
111 deal with message objects that don't support most message methods.\r
112 For example, if there were a tag (or any general way to query this),\r
113 it's unclear what the output of\r
114  notmuch search --output=summary tag:nonemail\r
115 would be.\r
116 \r
117 This isn't necessarily the right approach, but if non-emails *are*\r
118 represented as messages, I'm not sure what to do with things like\r
119 notmuch_message_get_message_id and notmuch_message_get_thread_id or\r
120 how to maintain backwards compatibility for callers that don't expect\r
121 queries to return non-emails.\r