Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / 80 / 78e33fbddb8db5f41d2b4f5ee8aa84dac915a0
1 Return-Path: <cworth@cworth.org>\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 060FF429E25\r
6         for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 14:15:36 -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.01\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.01 tagged_above=-999 required=5\r
12         tests=[T_MIME_NO_TEXT=0.01] autolearn=disabled\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 9UEHGQhLuua3 for <notmuch@notmuchmail.org>;\r
16         Mon, 27 Jun 2011 14:15:35 -0700 (PDT)\r
17 Received: from arlo.cworth.org (arlo.cworth.org [50.43.72.2])\r
18         by olra.theworths.org (Postfix) with ESMTP id 8EE55431FD0\r
19         for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 14:15:35 -0700 (PDT)\r
20 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
21         by arlo.cworth.org (Postfix) with ESMTP id B4AD529A03E;\r
22         Mon, 27 Jun 2011 14:15:33 -0700 (PDT)\r
23 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
24         id 7DB4C254154; Mon, 27 Jun 2011 14:15:33 -0700 (PDT)\r
25 From: Carl Worth <cworth@cworth.org>\r
26 To: Louis Rilling <l.rilling@av7.net>, Austin Clements <amdragon@mit.edu>\r
27 Subject: Re: [RFC][PATCH] tags_to_maildir_flags: Add option to not move\r
28         messages from "new/" to "cur/"\r
29 In-Reply-To: <20110624203403.GA2523@localdomain>\r
30 References: <1308843366-6159-1-git-send-email-l.rilling@av7.net>\r
31         <BANLkTin7R2oRu_1DSjzHSVupELru8R_tZQ@mail.gmail.com>\r
32         <20110624203403.GA2523@localdomain>\r
33 User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1\r
34         (i486-pc-linux-gnu)\r
35 Date: Mon, 27 Jun 2011 14:15:33 -0700\r
36 Message-ID: <87d3hzgemi.fsf@yoom.home.cworth.org>\r
37 MIME-Version: 1.0\r
38 Content-Type: multipart/signed; boundary="=-=-=";\r
39         micalg=pgp-sha1; protocol="application/pgp-signature"\r
40 Cc: notmuch@notmuchmail.org\r
41 X-BeenThere: notmuch@notmuchmail.org\r
42 X-Mailman-Version: 2.1.13\r
43 Precedence: list\r
44 List-Id: "Use and development of the notmuch mail system."\r
45         <notmuch.notmuchmail.org>\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
49 List-Post: <mailto:notmuch@notmuchmail.org>\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
53 X-List-Received-Date: Mon, 27 Jun 2011 21:15:36 -0000\r
54 \r
55 --=-=-=\r
56 \r
57 On Fri, 24 Jun 2011 22:34:03 +0200, Louis Rilling <l.rilling@av7.net> wrote:\r
58 > Maybe the alternate solution could consist in simply not renaming emails having\r
59 > no flags to be changed (Currently notmuch_message_tags_to_maildir_flags()\r
60 > unconditionally moves messages from new/ to cur/). This would even lead to a\r
61 > shorter patch :) Do you think that this would be acceptable?\r
62 \r
63 That could very well be acceptable.\r
64 \r
65 A user would have to carefully configure notmuch to get this\r
66 behavior. Options for that could include the following in\r
67 ~/.notmuch-config:\r
68 \r
69         [maildir]\r
70         synchronize_flags=false\r
71 \r
72 Or:\r
73 \r
74         [new]\r
75         tags=\r
76 \r
77 I think that if either of the above options are set that notmuch won't\r
78 need to change the message's filename. And in that case, I would feel\r
79 that it wouldn't be entirely unreasonable for notmuch to leave message\r
80 in the "new" directory.\r
81 \r
82 This allows the user to effectively setup a mail-store that notmuch\r
83 treats as more-or-less "read only" and that seems like a useful thing.\r
84 \r
85 Please experiment with that and feel free to send the patch or patches\r
86 that you generate.\r
87 \r
88 Thanks again, and I hope you can find a way to make notmuch work for\r
89 you.\r
90 \r
91 -Carl\r
92 \r
93 --=-=-=\r
94 Content-Type: application/pgp-signature\r
95 \r
96 -----BEGIN PGP SIGNATURE-----\r
97 Version: GnuPG v1.4.11 (GNU/Linux)\r
98 \r
99 iEYEARECAAYFAk4I8vUACgkQ6JDdNq8qSWitsgCdEzkB8ZIzaENxXqIMlWhoJcq0\r
100 O0wAnjhfmBDlzMp7Vpj+Hq34uXjoA5Ye\r
101 =aZLH\r
102 -----END PGP SIGNATURE-----\r
103 --=-=-=--\r