1 Return-Path: <djcb@djcbsoftware.nl>
\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 426CE431FC0
\r
6 for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 04:23:48 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 Received: from olra.theworths.org ([127.0.0.1])
\r
9 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
10 with ESMTP id n1yCqNDfgvBb for <notmuch@notmuchmail.org>;
\r
11 Sun, 22 Nov 2009 04:23:45 -0800 (PST)
\r
12 X-Greylist: delayed 96968 seconds by postgrey-1.32 at olra;
\r
13 Sun, 22 Nov 2009 04:23:45 PST
\r
14 Received: from gw03.mail.saunalahti.fi (gw03.mail.saunalahti.fi
\r
16 by olra.theworths.org (Postfix) with ESMTP id 4AA9E431FBC
\r
17 for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 04:23:45 -0800 (PST)
\r
18 Received: from djcbsoftware.nl (a88-112-254-208.elisa-laajakaista.fi
\r
20 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
\r
21 (No client certificate requested)
\r
22 by gw03.mail.saunalahti.fi (Postfix) with ESMTP id 938342165C4;
\r
23 Sun, 22 Nov 2009 14:23:40 +0200 (EET)
\r
24 Received: from cthulhu.mindcrime.djcbsoftware.nl (localhost [127.0.0.1])
\r
25 by djcbsoftware.nl (Postfix) with ESMTP id B7940456001;
\r
26 Sun, 22 Nov 2009 12:57:09 +0200 (EET)
\r
27 Date: Sun, 22 Nov 2009 12:57:09 +0200
\r
28 Message-ID: <87vdh2n7y2.wl%djcb@djcbsoftware.nl>
\r
29 From: Dirk-Jan C. Binnema <djcb.bulk@gmail.com>
\r
30 To: Michiel Buddingh' <michiel@michielbuddingh.net>
\r
31 In-Reply-To: <9bfdedddeab9c58cd45d8d448323d0fc@localhost>
\r
32 References: <87fx8bygi7.fsf@linux.vnet.ibm.com>
\r
33 <87bpiv4t9h.fsf@yoom.home.cworth.org>
\r
34 <87y6lz39nd.fsf@yoom.home.cworth.org>
\r
35 <20091121221207.GB17268@jukie.net>
\r
36 <9cce5525b093b87fe74d427954ffad89@localhost>
\r
37 <87d43b2oif.fsf@yoom.home.cworth.org>
\r
38 <9bfdedddeab9c58cd45d8d448323d0fc@localhost>
\r
39 Mail-Reply-To: djcb@djcbsoftware.nl
\r
40 User-Agent: Wanderlust/2.15.6 (Almost Unreal) Emacs/23.1 Mule/6.0
\r
42 Organization: DJCBSoftware
\r
43 MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
\r
44 Content-Type: text/plain; charset=US-ASCII
\r
45 Cc: notmuch@notmuchmail.org
\r
46 Subject: Re: [notmuch] [PATCH] notmuch: Add Maildir directory name as tag
\r
48 X-BeenThere: notmuch@notmuchmail.org
\r
49 X-Mailman-Version: 2.1.12
\r
51 Reply-To: djcb@djcbsoftware.nl
\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, 22 Nov 2009 12:23:48 -0000
\r
65 >>>>> "Michiel" == Michiel Buddingh' <michiel@michielbuddingh.net> writes:
\r
67 Michiel> Another thing; notmuch currently indexes by message-id (or SHA-1
\r
68 Michiel> hash if that is not present). Maildir, on the other hand, uses
\r
69 Michiel> file names as stable (when stripped of the parts trailing the
\r
70 Michiel> colon) unique (knock on wood) identifiers. A Maildir-aware
\r
71 Michiel> notmuch could incorporate this to be far more resistant to bulk
\r
72 Michiel> mail moves done by other clients, by using filename lookups to
\r
73 Michiel> avoid accessing and parsing the mail files themselves.
\r
75 I think that is a good idea.
\r
77 Michiel> I should re-iterate that I'm new to notmuch, and it's obvious
\r
78 Michiel> that I'm trying to beat it into becoming something it was never
\r
79 Michiel> intended to be; on the other hand, I'd like people to chime in on
\r
82 I'm new here too, so please be gentle as I learn how things work....
\r
85 Michiel> +static void
\r
86 Michiel> +derive_tags_from_maildir_flags (notmuch_message_t *message, const char *
\r
89 I see you don't handle the "N" -- is that deliberate? Also, a minor addition
\r
90 may to also allow for '!' instead of ':' as a separator, as that's the
\r
91 semi-official way to use Maildirs on (V)FAT filesystems (which don't allow for
\r
92 colons in filenames).
\r
100 Dirk-Jan C. Binnema Helsinki, Finland
\r
101 e:djcb@djcbsoftware.nl w:www.djcbsoftware.nl
\r
102 pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C
\r