Re: [PATCH v4 09/16] index encrypted parts when asked.
[notmuch-archives.git] / 5e / 4e7effc441ac70fcc700498f8fb27a7432af7f
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 0DA4E40CACC\r
6         for <notmuch@notmuchmail.org>; Fri, 23 Apr 2010 12:05:41 -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: -2.89\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5\r
12         tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01]\r
13         autolearn=ham\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id o1YG1OTg8QwO; Fri, 23 Apr 2010 12:05:40 -0700 (PDT)\r
17 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
18         by olra.theworths.org (Postfix) with ESMTP id 11001431FC1;\r
19         Fri, 23 Apr 2010 12:05:40 -0700 (PDT)\r
20 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
21         id 67EB3568DE9; Fri, 23 Apr 2010 11:58:23 -0700 (PDT)\r
22 From: Carl Worth <cworth@cworth.org>\r
23 To: Dirk Hohndel <hohndel@infradead.org>, notmuch@notmuchmail.org\r
24 Subject: Re: add delete keybinding\r
25 In-Reply-To: <1271891763-10757-1-git-send-email-hohndel@infradead.org>\r
26 References: <1271891763-10757-1-git-send-email-hohndel@infradead.org>\r
27 Date: Fri, 23 Apr 2010 11:58:23 -0700\r
28 Message-ID: <87ochaf12o.fsf@yoom.home.cworth.org>\r
29 MIME-Version: 1.0\r
30 Content-Type: multipart/signed; boundary="=-=-=";\r
31         micalg=pgp-sha1; protocol="application/pgp-signature"\r
32 X-BeenThere: notmuch@notmuchmail.org\r
33 X-Mailman-Version: 2.1.13\r
34 Precedence: list\r
35 List-Id: "Use and development of the notmuch mail system."\r
36         <notmuch.notmuchmail.org>\r
37 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
38         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
39 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
40 List-Post: <mailto:notmuch@notmuchmail.org>\r
41 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
42 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
43         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
44 X-List-Received-Date: Fri, 23 Apr 2010 19:05:41 -0000\r
45 \r
46 --=-=-=\r
47 Content-Transfer-Encoding: quoted-printable\r
48 \r
49 On Wed, 21 Apr 2010 16:16:02 -0700, Dirk Hohndel <hohndel@infradead.org> wr=\r
50 ote:\r
51 > I'm sending this mostly as an RFC - I use this and like it, but\r
52 > people seem to have strong feelings as to how they want to deal=20\r
53 > with deleting email (or for some people, how they don't want to\r
54 > do that at all).\r
55 \r
56 I like the idea of adding the deleted tag with a 'd' keybinding.\r
57 \r
58 I also agree with the comments that suggest that this should be\r
59 independent of the archiving operation. (That is, 'd' should just add\r
60 the deleted tag and do nothing else.)\r
61 \r
62 With sup, there was the idea to not make the user add "add not\r
63 tag:deleted" to all searches. The way that worked was basically that sup\r
64 would append "and not tag:deleted" to all searches except for those that\r
65 already had "tag:deleted" in them. This allows deleted messages to give\r
66 every appearance of being deleted, (they would not show up in searches),\r
67 but a user *could* still find them[*] by explicitly saying "and\r
68 tag:deleted" in the search.\r
69 \r
70 I don't think it makes sense to add a delete keybinding without some\r
71 support along the lines of what's described above.\r
72 \r
73 It does seem out of character for the library or even the command-line\r
74 to do interpretation of tag names and munging of search strings like\r
75 this. So I think all of the above should be implemented within emacs\r
76 code. It's the emacs code that is adding the "deleted" tag so it should\r
77 be interpreting its behavior as well.\r
78 \r
79 =2DCarl\r
80 \r
81 [*] Until the user did some sort of external expunge operation that\r
82 actually deleted the files, of course.\r
83 \r
84 --=-=-=\r
85 Content-Type: application/pgp-signature\r
86 \r
87 -----BEGIN PGP SIGNATURE-----\r
88 Version: GnuPG v1.4.10 (GNU/Linux)\r
89 \r
90 iD8DBQFL0e3P6JDdNq8qSWgRAi+EAJ96+78+2zLVAm6wusynFDZA0vfoTACeN6U3\r
91 SLk30pjgY38WYOjXy6Px4Sg=\r
92 =cWwB\r
93 -----END PGP SIGNATURE-----\r
94 --=-=-=--\r