Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / d5 / aed2ab05188856d7c1b0df426817c8245dfe1c
1 Return-Path: <sojkam1@fel.cvut.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 90D5340BC23\r
6         for <notmuch@notmuchmail.org>; Sun,  8 Aug 2010 06:53:30 -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.9\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9] 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 skLchT--6T08 for <notmuch@notmuchmail.org>;\r
16         Sun,  8 Aug 2010 06:53:19 -0700 (PDT)\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
18         by olra.theworths.org (Postfix) with ESMTP id A8D9040BC22\r
19         for <notmuch@notmuchmail.org>; Sun,  8 Aug 2010 06:53:19 -0700 (PDT)\r
20 Received: from localhost (unknown [192.168.200.4])\r
21         by max.feld.cvut.cz (Postfix) with ESMTP id 1F3B519F3358;\r
22         Sun,  8 Aug 2010 15:53:18 +0200 (CEST)\r
23 X-Virus-Scanned: IMAP AMAVIS\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])\r
25         by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
26         port 10044)\r
27         with ESMTP id hWtnVhf4nZgo; Sun,  8 Aug 2010 15:53:16 +0200 (CEST)\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
29         by max.feld.cvut.cz (Postfix) with ESMTP id E07AE19F3357;\r
30         Sun,  8 Aug 2010 15:53:16 +0200 (CEST)\r
31 Received: from steelpick.2x.cz (ip-85-161-96-198.eurotel.cz [85.161.96.198])\r
32         (Authenticated sender: sojkam1)\r
33         by imap.feld.cvut.cz (Postfix) with ESMTPSA id E30CAFA00E;\r
34         Sun,  8 Aug 2010 15:53:11 +0200 (CEST)\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.72)\r
36         (envelope-from <sojkam1@fel.cvut.cz>)\r
37         id 1Oi6Iz-0002j5-6n; Sun, 08 Aug 2010 15:52:49 +0200\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>\r
39 To: Stephen Paul Weber <singpolyma@singpolyma.net>, notmuch@notmuchmail.org\r
40 Subject: Re: A problem and a suggestion\r
41 In-Reply-To: <20100806170410.GA1526@singpolyma-svelti>\r
42 References: <20100806170410.GA1526@singpolyma-svelti>\r
43 User-Agent: Notmuch/0.3.1-80-g86b7c46 (http://notmuchmail.org) Emacs/23.2.1\r
44         (x86_64-pc-linux-gnu)\r
45 Date: Sun, 08 Aug 2010 15:52:49 +0200\r
46 Message-ID: <87d3ttfbym.fsf@steelpick.2x.cz>\r
47 MIME-Version: 1.0\r
48 Content-Type: text/plain; charset=us-ascii\r
49 X-BeenThere: notmuch@notmuchmail.org\r
50 X-Mailman-Version: 2.1.13\r
51 Precedence: list\r
52 List-Id: "Use and development of the notmuch mail system."\r
53         <notmuch.notmuchmail.org>\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
57 List-Post: <mailto:notmuch@notmuchmail.org>\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
61 X-List-Received-Date: Sun, 08 Aug 2010 13:53:30 -0000\r
62 \r
63 On Fri, 06 Aug 2010, Stephen Paul Weber wrote:\r
64 > Anyway.  I installed notmuch a few days ago (0.1), ran the setup, ran\r
65 > notmuch new and i said it found 30000+ files, but no new mail?  No searches\r
66 > return any results.  What am I doing wrong?\r
67 \r
68 Hi Stephen,\r
69 \r
70 I guess you have your mails in a wrong fomrat. Do you see "Note:\r
71 Ignoring non-mail file" messages during notmuch new? You may also try\r
72 notmuch new --verbose.\r
73 \r
74 > How does notmuch determine which mail is "new" anyway? \r
75 \r
76 New is a message found on your disk with a message-id not stored in\r
77 notmuch database.\r
78 \r
79 > I gather by other threads on the list archives that editing a message\r
80 > does not make it "new"? So notmuch just gets whatever the first\r
81 > version of the message contents it sees is? And if the file gets\r
82 > renamed (by mutt for example, when marked as read) the filename stored\r
83 > by notmuch would then be wrong?\r
84 \r
85 Yes. AFAIK notmuch assumes that messages are immutable and when you edit\r
86 the message, notmuch doesn't re-index it. Notmuch new code is able to\r
87 detect renames so if you rename the file, the filename in the database\r
88 is wrong only until you run notmuch new again.\r
89 \r
90 > I'd also like to suggest that notmuch index the Keywords header, since that\r
91 > is a header meant exactly for being indexed by search engines and for\r
92 > searching on.  I use it quite a bit.\r
93 \r
94 This is an often requested feature - everyone has its favorite header\r
95 which he wants to index. Indexing custom headers is planned for some\r
96 future release, but no code has appeared yet.\r
97 \r
98 > This would be especially useful if notmuch re-indexed a message when I\r
99 > edit this header.\r
100 \r
101 I'm not sure how hard it would be to implement this and what would be\r
102 the performance implications. You should store modification time of a\r
103 message in the database and re-index the file when the mtime on disk in\r
104 newer than in the database.\r
105\r
106 > Actually, how hard would it be to allow notmuch to be configured to index\r
107 > any custom header?\r
108 \r
109 Not much :-)\r
110 \r
111 -Michal\r