Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / d1 / c443c8973e1e67ce55a55cd72ae1486c182b45
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 E38BA4196F3\r
6         for <notmuch@notmuchmail.org>; Fri, 26 Mar 2010 14:41:54 -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 rGM73va4UU5y for <notmuch@notmuchmail.org>;\r
16         Fri, 26 Mar 2010 14:41:54 -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 0CF764196F2\r
19         for <notmuch@notmuchmail.org>; Fri, 26 Mar 2010 14:41:54 -0700 (PDT)\r
20 Received: from localhost (unknown [192.168.200.4])\r
21         by max.feld.cvut.cz (Postfix) with ESMTP id 69B7619F3431;\r
22         Fri, 26 Mar 2010 22:41:53 +0100 (CET)\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 Iolh6ciRFT8G; Fri, 26 Mar 2010 22:41:51 +0100 (CET)\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 1253D19F33ED;\r
30         Fri, 26 Mar 2010 22:41:50 +0100 (CET)\r
31 Received: from steelpick.2x.cz (r5da224.net.upc.cz [86.49.116.224])\r
32         (Authenticated sender: sojkam1)\r
33         by imap.feld.cvut.cz (Postfix) with ESMTPSA id BBDA415C062;\r
34         Fri, 26 Mar 2010 22:41:45 +0100 (CET)\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.71)\r
36         (envelope-from <sojkam1@fel.cvut.cz>)\r
37         id 1NvHHk-0006f6-R1; Fri, 26 Mar 2010 22:41:44 +0100\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>\r
39 To: Ruben Pollan <meskio@sindominio.net>\r
40 In-Reply-To: <20100323143714.GE28596@blackspot>\r
41 References: <1268926780-20045-1-git-send-email-sojkam1@fel.cvut.cz>\r
42         <1268926780-20045-4-git-send-email-sojkam1@fel.cvut.cz>\r
43         <20100323105644.GB28596@blackspot> <878w9jcga6.fsf@steelpick.2x.cz>\r
44         <20100323143714.GE28596@blackspot>\r
45 Date: Fri, 26 Mar 2010 22:41:44 +0100\r
46 Message-ID: <87tys292w7.fsf@steelpick.2x.cz>\r
47 MIME-Version: 1.0\r
48 Content-Type: text/plain; charset=us-ascii\r
49 Cc: notmuch@notmuchmail.org\r
50 Subject: Re: [notmuch] [PATCH 3/4] Add maildir-based mailstore\r
51 X-BeenThere: notmuch@notmuchmail.org\r
52 X-Mailman-Version: 2.1.13\r
53 Precedence: list\r
54 List-Id: "Use and development of the notmuch mail system."\r
55         <notmuch.notmuchmail.org>\r
56 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
58 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
59 List-Post: <mailto:notmuch@notmuchmail.org>\r
60 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
61 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
62         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
63 X-List-Received-Date: Fri, 26 Mar 2010 21:41:55 -0000\r
64 \r
65 On Tue, 23 Mar 2010, Ruben Pollan wrote:\r
66 > On 14:35, Tue 23 Mar 10, Michal Sojka wrote:\r
67 > > Yes, that's a bug. Messages in your mail_folder/new probably don't have\r
68 > > any 'info' (flags) in their filename, which is correct with respect to\r
69 > > http://cr.yp.to/proto/maildir.html. My patch incorrectly ignores the\r
70 > > files without 'info'. I didn't catch this error because is seems that\r
71 > > offlineimap puts 'info' part even to messages in new/.\r
72\r
73 > True, I use fetchmail for download my email, it put the email in the new folder\r
74 > without 'info'.\r
75\r
76 > > I think that the correct fix for this is to change how notmuch new\r
77 > > works: Whenever a message in new/ is found, it will be moved to cur/ and\r
78 > > in there is no info part it will be appended and the message will be\r
79 > > tagged accordingly.\r
80\r
81 > I think is better if new keeps the email where it is, only updates the database,\r
82 > and when you remove the unread tag move the message from folder to folder. Some \r
83 > mail readers (at least mutt) handles different the emails on the new folder than\r
84 > the ones with no "S" flag con cur folder.\r
85\r
86 > > I'll try to implement it and send a new patch.\r
87\r
88 > That will be nice.\r
89 \r
90 Hi,\r
91 \r
92 Here is the updated patch series implementing your proposal. Let me know\r
93 if it solves your problem.\r
94 \r
95 I also did some minor cleanups and included "Prevent data loss caused by\r
96 SIGINT during notmuch new" patch which I've just sent separately.\r
97 \r
98 -Michal\r