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 BDA1A431FBD
\r
6 for <notmuch@notmuchmail.org>; Wed, 3 Feb 2010 01:58:47 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.129 tagged_above=-999 required=5
\r
12 tests=[AWL=-0.130, 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 204+4ZRtxwkw for <notmuch@notmuchmail.org>;
\r
16 Wed, 3 Feb 2010 01:58:47 -0800 (PST)
\r
17 Received: from homiemail-a11.g.dreamhost.com (caiajhbdcbhh.dreamhost.com
\r
19 by olra.theworths.org (Postfix) with ESMTP id 20323431FAE
\r
20 for <notmuch@notmuchmail.org>; Wed, 3 Feb 2010 01:58:47 -0800 (PST)
\r
21 Received: from sspaeth.de (mtec-hg-docking-1-dhcp-204.ethz.ch
\r
23 by homiemail-a11.g.dreamhost.com (Postfix) with ESMTPA id 4BE3E19406D
\r
24 for <notmuch@notmuchmail.org>; Wed, 3 Feb 2010 01:58:45 -0800 (PST)
\r
25 Received: by sspaeth.de (sSMTP sendmail emulation);
\r
26 Wed, 03 Feb 2010 10:58:42 +0100
\r
27 From: "Sebastian Spaeth" <Sebastian@SSpaeth.de>
\r
28 To: notmuch@notmuchmail.org
\r
29 In-Reply-To: <201002022325.18878.sojkam1@fel.cvut.cz>
\r
30 References: <201001291049.21048.sojkam1@fel.cvut.cz>
\r
31 <873a1jebve.fsf@servo.finestructure.net>
\r
32 <87r5p3l3yd.fsf@lillypad.riseup.net>
\r
33 <201002022325.18878.sojkam1@fel.cvut.cz>
\r
34 Date: Wed, 03 Feb 2010 10:58:42 +0100
\r
35 Message-ID: <87fx5ibpyl.fsf@SSpaeth.de>
\r
37 Content-Type: text/plain; charset=us-ascii
\r
38 Subject: Re: [notmuch] [PATCHv2] Preserve folder information when indexing
\r
39 X-BeenThere: notmuch@notmuchmail.org
\r
40 X-Mailman-Version: 2.1.13
\r
42 List-Id: "Use and development of the notmuch mail system."
\r
43 <notmuch.notmuchmail.org>
\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
45 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
47 List-Post: <mailto:notmuch@notmuchmail.org>
\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
51 X-List-Received-Date: Wed, 03 Feb 2010 09:58:47 -0000
\r
53 On Tue, 2 Feb 2010 23:25:18 +0100, Michal Sojka <sojkam1@fel.cvut.cz> wrote:
\r
54 > I want it to work the same way as you expected. It seems it would be necessary
\r
55 > to modify notmuch_database_remove_message() so that it changes folder term if
\r
56 > it detects rename.
\r
58 On a tangetial issue: It would help if notmuch were able to set an
\r
59 (optional) flag when detecting a rename. Similar on how it should set
\r
60 "new" on new messages, a "moved" tag or whatever would make parsing with
\r
61 3rd party apps much nicer.
\r
63 E.g. my folder-to-tag syncer could then just look for moved mails and my
\r
64 MailDirflag-to-notmuchtag syncer could then limit its search also to
\r
65 "moved" mails, which would be much more efficient.
\r
67 What do people think?
\r
68 Basically what I want is:
\r
71 tag-for-new="inbox unread notspamchecked whatnothere"
\r
72 tag-for-moved="moved"
\r
74 Does this make sense?
\r