Re: [feature request] emacs: use `notmuch insert` for FCC
[notmuch-archives.git] / 86 / 8f8802977d6e15a14b9343987a8f13d0f89db4
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 8DCF04196F2\r
6         for <notmuch@notmuchmail.org>; Thu,  8 Apr 2010 05:57:37 -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: -0.5\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.5 tagged_above=-999 required=5\r
12         tests=[BAYES_05=-0.5] 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 5WUrWn5lkg7M for <notmuch@notmuchmail.org>;\r
16         Thu,  8 Apr 2010 05:57:36 -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 45AA9431FC1\r
19         for <notmuch@notmuchmail.org>; Thu,  8 Apr 2010 05:57:36 -0700 (PDT)\r
20 Received: from localhost (unknown [192.168.200.4])\r
21         by max.feld.cvut.cz (Postfix) with ESMTP id 9A6DB19F33D5;\r
22         Thu,  8 Apr 2010 14:57:35 +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 CLJbgPehEL83; Thu,  8 Apr 2010 14:57:32 +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 0296219F33D4;\r
30         Thu,  8 Apr 2010 14:57:32 +0200 (CEST)\r
31 Received: from steelpick.2x.cz (k335-30.felk.cvut.cz [147.32.86.30])\r
32         (Authenticated sender: sojkam1)\r
33         by imap.feld.cvut.cz (Postfix) with ESMTPSA id D216015C062;\r
34         Thu,  8 Apr 2010 14:57:31 +0200 (CEST)\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 1NzrIZ-00056p-C3; Thu, 08 Apr 2010 14:57:31 +0200\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>\r
39 To: Carl Worth <cworth@cworth.org>, Sebastian Spaeth <Sebastian@SSpaeth.de>,\r
40         notmuch@notmuchmail.org\r
41 Subject: Re: [notmuch] [PATCH] notmuch-new: Respect maildir flags when\r
42         importing a new message\r
43 In-Reply-To: <878w8zq7yl.fsf@yoom.home.cworth.org>\r
44 References: <20100216022128.GH22402@flamingspork.com>\r
45         <1267450136-31749-1-git-send-email-Sebastian@SSpaeth.de>\r
46         <878w8zq7yl.fsf@yoom.home.cworth.org>\r
47 Date: Thu, 08 Apr 2010 14:57:31 +0200\r
48 Message-ID: <87aate6r0k.fsf@steelpick.2x.cz>\r
49 MIME-Version: 1.0\r
50 Content-Type: text/plain; charset=us-ascii\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: Thu, 08 Apr 2010 12:57:37 -0000\r
64 \r
65 On Wed, 07 Apr 2010, Carl Worth wrote:\r
66 > On Mon,  1 Mar 2010 14:28:56 +0100, Sebastian Spaeth <Sebastian@SSpaeth.de> wrote:\r
67 > > When importing a new mail do check for maildir tags and assign\r
68 > > corresponding notmuch tags.\r
69\r
70 > I think this is a useful thing to support, as obviously new users have\r
71 > *some* state that's interesting to import (which messages have been\r
72 > "seen" for example), and simply importing their entire email archive\r
73 > with both the "inbox" and "unread" tags is not helpful. So I'd like to\r
74 > figure out how to support this.\r
75 \r
76 I'm solving this in my mailstore abstraction patches. I'll send the next\r
77 version in a while.\r
78 \r
79 > > Do note that this will only add tags when importing a really new\r
80 > > message, and will not do anything when detecting a file rename\r
81 > > (although someone should really make it honor file renames as\r
82 > > well). Deleteing an existing message in another IMAP client will\r
83 > > therefore not trigger tagging (as it counts as a file rename).\r
84\r
85 > But I think we really need to fix that if we're going to claim that\r
86 > notmuch "supports maildir flags" in any sense.\r
87\r
88 > It's a fairly tricky issue though since we can have multiple files that\r
89 > have the same message ID, but then have different maildir flags. And\r
90 > it's the matter of arbitrary ordering which one of these files appears\r
91 > as "new" and which one appears as a "rename".\r
92 \r
93 Yes, that's a problem. It is not currently solved in my pacthes, but I\r
94 have one solution in my mind. Let's discuss this with my patch.\r
95 \r
96 > It's not obvious to me what we can do here unless we make some\r
97 > assumptions, (such as "mails always start without the seen flag, and\r
98 > once it appears it can't be removed" or so). But I'd love some input\r
99 > From someone who's thought harder about this than I have.\r
100 \r
101 -Michal\r