Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / c9 / f2e44e55a99df8e6f61e3883a8b1540d4d47ad
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 85E53431FAE\r
6         for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 04:23:47 -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 K3LWipwvycyc for <notmuch@notmuchmail.org>;\r
11         Sun, 22 Nov 2009 04:23:46 -0800 (PST)\r
12 Received: from gw02.mail.saunalahti.fi (gw02.mail.saunalahti.fi\r
13         [195.197.172.116])\r
14         by olra.theworths.org (Postfix) with ESMTP id 790B4431FBF\r
15         for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 04:23:46 -0800 (PST)\r
16 Received: from djcbsoftware.nl (a88-112-254-208.elisa-laajakaista.fi\r
17         [88.112.254.208])\r
18         (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by gw02.mail.saunalahti.fi (Postfix) with ESMTP id A22E5139522;\r
21         Sun, 22 Nov 2009 14:23:40 +0200 (EET)\r
22 Received: from cthulhu.mindcrime.djcbsoftware.nl (localhost [127.0.0.1])\r
23         by djcbsoftware.nl (Postfix) with ESMTP id 8698939C0D8;\r
24         Sun, 22 Nov 2009 12:37:49 +0200 (EET)\r
25 Date: Sun, 22 Nov 2009 12:37:49 +0200\r
26 Message-ID: <87ws1in8ua.wl%djcb@djcbsoftware.nl>\r
27 From: Dirk-Jan C. Binnema <djcb.bulk@gmail.com>\r
28 To: Carl Worth <cworth@cworth.org>\r
29 In-Reply-To: <87d43b2oif.fsf@yoom.home.cworth.org>\r
30 References: <87fx8bygi7.fsf@linux.vnet.ibm.com>\r
31         <87bpiv4t9h.fsf@yoom.home.cworth.org>\r
32         <87y6lz39nd.fsf@yoom.home.cworth.org>\r
33         <20091121221207.GB17268@jukie.net>\r
34         <9cce5525b093b87fe74d427954ffad89@localhost>\r
35         <87d43b2oif.fsf@yoom.home.cworth.org>\r
36 Mail-Reply-To: djcb@djcbsoftware.nl\r
37 User-Agent: Wanderlust/2.15.6 (Almost Unreal) Emacs/23.1 Mule/6.0\r
38         (HANACHIRUSATO)\r
39 Organization: DJCBSoftware\r
40 MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")\r
41 Content-Type: text/plain; charset=US-ASCII\r
42 Cc: notmuch <notmuch@notmuchmail.org>\r
43 Subject: Re: [notmuch] [PATCH] notmuch: Add Maildir directory name as\r
44         tag     name for messages\r
45 X-BeenThere: notmuch@notmuchmail.org\r
46 X-Mailman-Version: 2.1.12\r
47 Precedence: list\r
48 Reply-To: djcb@djcbsoftware.nl\r
49 List-Id: "Use and development of the notmuch mail system."\r
50         <notmuch.notmuchmail.org>\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
54 List-Post: <mailto:notmuch@notmuchmail.org>\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
58 X-List-Received-Date: Sun, 22 Nov 2009 12:23:47 -0000\r
59 \r
60 >>>>> "Carl" == Carl Worth <cworth@cworth.org> writes:\r
61 \r
62     Carl> On Sun, 22 Nov 2009 00:25:43 +0100, Michiel Buddingh'\r
63     Carl> <michiel@michielbuddingh.net> wrote:\r
64 \r
65     Carl> Hi Michel, welcome to Notmuch!\r
66 \r
67     >> Any attempt to match tags up to directories will eventually have \r
68     >> to deal with with the fact that tags can't be neatly mapped onto \r
69     >> them.  If I remove a directory-tag from a message, does this \r
70     >> mean the message is removed from that directory?  What if a \r
71     >> message has two directory-tags, does it mean it's present in both\r
72     >> directories?\r
73 \r
74     Carl> Right. We definitely don't want a strong mapping here. I think one\r
75     Carl> answer could be that the initial import is different and can take the\r
76     Carl> directory names as a "hint" for initializing tag values. After that,\r
77     Carl> they are just tags in the database and the user can do whatever they\r
78     Carl> want.\r
79 \r
80 In 'mu' I took a slightly different approach, by simply allowing for searches\r
81 on the path to the message; ie., by adding the path as just another property\r
82 of the message, just like subject: or from:.\r
83 \r
84 Now, the trouble with that the path of a message is not very stable -- people\r
85 move messages around. In 'mu' this was handled by simply considering the moved\r
86 message as a new one, and removing message from the database whose paths do\r
87 not point to message anymore. This makes things quite robust against people\r
88 moving things around or deleting them. Tags could be connected to the\r
89 hopefully unique Maildir file name then. \r
90 \r
91     Carl>       notmuch search tag:foo and not tag:foo-search\r
92     Carl>       notmuch search tag:foo-search and not tag:foo\r
93 \r
94     Carl> So even if in the end the user comes up with something that could\r
95     Carl> replace the original tag, it's probably still beneficial to have it\r
96     Carl> there when starting out.\r
97 \r
98 So, an alternative would be something like:\r
99              notmuch search path:inbox\r
100 \r
101 But this requires notmuch to be able to update things when paths change.\r
102 \r
103 Best wishes,\r
104 Dirk.\r
105 \r
106 -- \r
107 Dirk-Jan C. Binnema                  Helsinki, Finland\r
108 e:djcb@djcbsoftware.nl           w:www.djcbsoftware.nl\r
109 pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C\r