[PATCH v4 6/7] On deletion, replace with ghost when other active messages in thread
[notmuch-archives.git] / 2b / 34a08279b4e21973e2136d09c71c9de4f1c348
1 Return-Path: <jrollins@finestructure.net>\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 AF4A540EF18\r
6         for <notmuch@notmuchmail.org>; Sat,  7 Jan 2012 14:28:25 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.3\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3] 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 ReLqHun5TcOx for <notmuch@notmuchmail.org>;\r
16         Sat,  7 Jan 2012 14:28:23 -0800 (PST)\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
18         [131.215.239.19])\r
19         by olra.theworths.org (Postfix) with ESMTP id A5F5840F1ED\r
20         for <notmuch@notmuchmail.org>; Sat,  7 Jan 2012 14:28:23 -0800 (PST)\r
21 Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
22         by fire-doxen-postvirus (Postfix) with ESMTP id 11E31328007\r
23         for <notmuch@notmuchmail.org>; Sat,  7 Jan 2012 14:28:23 -0800 (PST)\r
24 X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new\r
25 Received: from finestructure.net (cpe-76-174-137-84.socal.res.rr.com\r
26         [76.174.137.84]) (Authenticated sender: jrollins)\r
27         by fire-doxen-submit (Postfix) with ESMTP id 43E342E50DCE\r
28         for <notmuch@notmuchmail.org>; Sat,  7 Jan 2012 14:28:21 -0800 (PST)\r
29 Received: by finestructure.net (Postfix, from userid 1000)\r
30         id CC980643; Sat,  7 Jan 2012 14:28:20 -0800 (PST)\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
32 To: Notmuch Mail <notmuch@notmuchmail.org>\r
33 Subject: another attempt to add delete functionality in emacs\r
34 Date: Sat,  7 Jan 2012 14:28:10 -0800\r
35 Message-Id: <1325975294-646-1-git-send-email-jrollins@finestructure.net>\r
36 X-Mailer: git-send-email 1.7.7.3\r
37 X-BeenThere: notmuch@notmuchmail.org\r
38 X-Mailman-Version: 2.1.13\r
39 Precedence: list\r
40 List-Id: "Use and development of the notmuch mail system."\r
41         <notmuch.notmuchmail.org>\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
43         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
45 List-Post: <mailto:notmuch@notmuchmail.org>\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
49 X-List-Received-Date: Sat, 07 Jan 2012 22:28:25 -0000\r
50 \r
51 So, after many stabs at adding the ability to "delete" messages in\r
52 emacs [0], and the corresponding heated discussions, I'm throwing\r
53 another attempt into the fray.\r
54 \r
55 I try to address the concerns that have come up in previous attempts.\r
56 In particular, I include a patch that creates a new customization\r
57 variable, notmuch-search-exclude-deleted, that will exclude any\r
58 messages with the "deleted" tag from searches.  This actually makes\r
59 "deleted" messages appear effectively deleted, which is one of the\r
60 things cworth wanted to see, and one of the reasons he kept pushing\r
61 back on previous attempts at this functionality.\r
62 \r
63 Also, no tags other than "deleted" are modified.  All tags should be\r
64 orthogonal, and should be handled so.\r
65 \r
66 Note: this is all about handling the "deleted" tag.  No actual\r
67 deletion of message is involved in this functionality at all.  Actual\r
68 deletion of messages should always be left entirely up to the user to\r
69 handle as they see fit.\r
70 \r
71 jamie.\r
72 \r
73 [0] id:"1266408746-28549-1-git-send-email-Sebastian@SSpaeth.de"\r
74     id:"87sk8qwjlt.fsf@yoom.home.cworth.org"\r
75     id:"1271891763-10757-1-git-send-email-hohndel@infradead.org"\r
76     id:"1310841600-28281-1-git-send-email-anarcat@koumbit.org"\r
77 \r