Re: [PATCH 1/2] Add Google Inc. to AUTHORS as a contributor.
[notmuch-archives.git] / 74 / 18cd1e825e47e647e2363b0e90515af41c2895
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 8D119429E25\r
6         for <notmuch@notmuchmail.org>; Tue, 10 Jan 2012 19:12:24 -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.29\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3, 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 7+Z4FoD8iZwv for <notmuch@notmuchmail.org>;\r
16         Tue, 10 Jan 2012 19:12:24 -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 DCA95431FD0\r
20         for <notmuch@notmuchmail.org>; Tue, 10 Jan 2012 19:12:23 -0800 (PST)\r
21 Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
22         by earth-doxen-postvirus (Postfix) with ESMTP id 9867466E0153;\r
23         Tue, 10 Jan 2012 19:12:23 -0800 (PST)\r
24 X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
25 Received: from finestructure.net (gwave-171.ligo.caltech.edu\r
26  [131.215.114.171])     (Authenticated sender: jrollins)        by earth-doxen-submit\r
27  (Postfix) with ESMTP id C7C8D66E014B;  Tue, 10 Jan 2012 19:12:19 -0800 (PST)\r
28 Received: by finestructure.net (Postfix, from userid 1000)\r
29         id A95AA3E7; Tue, 10 Jan 2012 19:12:19 -0800 (PST)\r
30 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
31 To: David Bremner <david@tethera.net>, David Edmondson <dme@dme.org>,\r
32         Notmuch Mail <notmuch@notmuchmail.org>\r
33 Subject: Re: another attempt to add delete functionality in emacs\r
34 In-Reply-To: <87sjjns4wz.fsf@convex-new.cs.unb.ca>\r
35 References: <1325975294-646-1-git-send-email-jrollins@finestructure.net>\r
36         <cunwr90ngms.fsf@hotblack-desiato.hh.sledj.net>\r
37         <87sjjns4wz.fsf@convex-new.cs.unb.ca>\r
38 User-Agent: Notmuch/0.10.2+168~g34b8bac (http://notmuchmail.org) Emacs/23.3.1\r
39         (x86_64-pc-linux-gnu)\r
40 Date: Tue, 10 Jan 2012 19:12:16 -0800\r
41 Message-ID: <87ehv7nd9r.fsf@servo.finestructure.net>\r
42 MIME-Version: 1.0\r
43 Content-Type: multipart/signed; boundary="=-=-=";\r
44         micalg=pgp-sha256; protocol="application/pgp-signature"\r
45 X-BeenThere: notmuch@notmuchmail.org\r
46 X-Mailman-Version: 2.1.13\r
47 Precedence: list\r
48 List-Id: "Use and development of the notmuch mail system."\r
49         <notmuch.notmuchmail.org>\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
53 List-Post: <mailto:notmuch@notmuchmail.org>\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
57 X-List-Received-Date: Wed, 11 Jan 2012 03:12:24 -0000\r
58 \r
59 --=-=-=\r
60 \r
61 On Tue, 10 Jan 2012 16:01:32 -0400, David Bremner <david@tethera.net> wrote:\r
62 > Just thinking out loud here, but it does seem a bit unfortunate to me\r
63 > that it represents a pretty fundamental divergence between the CLI and\r
64 > the emacs interface. Mind you, I guess one could make the same argument\r
65 > about the libs versus the CLI. Lack of configuration information in the\r
66 > library (possibly among other reasons) makes this not too nice to\r
67 > support in the current library either.\r
68 \r
69 I think a consensus has formed that this functionality (automatically\r
70 suppressing messages with certain tags from searches) is better left to\r
71 the CLI, rather than implementing it just in the emacs UI.\r
72 Unfortunately I'm not going to get to that any time soon.\r
73 \r
74 However, without that functionality, I really see no reason why we\r
75 should be adding any built-in support for adding "deleted" tags in the\r
76 emacs UI.  Without the CLI change, "deleted" tags aren't handled any\r
77 differently than any other tag, so why should the default emacs UI care.\r
78 If users want to bind keys to special tagging operations, they can do so\r
79 for themselves [0].\r
80 \r
81 In fact, I'm now starting to think we don't need to add any support for\r
82 special tagging operations (such as "deleted") even if we *do* have\r
83 support for suppressing them in the CLI.  Special tagging operations\r
84 should only be supported if the tagged messages are somehow handled\r
85 specially.  If not, then again, we should just leave them up to the user\r
86 [0].\r
87 \r
88 All that said, I think I'll just resubmit the couple small changes to\r
89 the emacs UI that I think we should consider adopting anyway.\r
90 \r
91 jamie.\r
92 \r
93 \r
94 [0]\r
95 (define-key notmuch-show-mode-map "d"\r
96   (lambda ()\r
97     "Delete message"\r
98     (interactive)\r
99     (notmuch-show-add-tag "deleted")\r
100     (notmuch-show-next-open-message)))\r
101 \r
102 --=-=-=\r
103 Content-Type: application/pgp-signature\r
104 \r
105 -----BEGIN PGP SIGNATURE-----\r
106 Version: GnuPG v1.4.11 (GNU/Linux)\r
107 \r
108 iQIcBAEBCAAGBQJPDP4RAAoJEO00zqvie6q8KV0P/AnwDvs2HckJTLAdZHQTFxSa\r
109 FGFOD+iKE1hI+qQNvvCvaoiJpuUvixOxOWCCxhCct7ZntiKgloH59NB1hHBy7LOM\r
110 kvaaLjBWptpNKtUi9vSPJAJrUMJuHRIVnc5xFDfsDJlkcE4C+5QrxCHFdUm1xLKd\r
111 RQW4m2jgV1KOmsGQ4AgSu51bUKiD6YqobvphDECUj5laGBRiNF0e9d1DrwfHsoro\r
112 dmUrmcX0wDaGRaMIjcOtk9dxrj2E16LdcR/ZDq5bBjN1oXUW5uQCOAlm9FACaYDI\r
113 kp1cm+d/OPtrZ1yIOcaVxhtJM7Ap6R2UBYtCjRuyXfEfdpZIs7A+40M6bfhE0ROz\r
114 F0rgjBFkxcpCdRHLtYh5zA0IGi/PabWdNCAMmueV+CaK1Xle9B/mnn0hCyjhFVug\r
115 2WGnYuRi5hp7UTzacTbjahOgavbQ/KFELMT2plBEeZQlRAIMWWplMbdXyC5g95Lt\r
116 +1ztAdmsTmdHzZYI+uIHO9vvseE2PWB59/G1X0ngbpwMc9MSltgyz+6puqTMQahx\r
117 43N63Y/9NfX1FnrvhIDy/qX4M/X9mLWgDGgyitDCiCYb2d+yg/uRN9zXUUi+jLe1\r
118 lJ2Or9LKkFjdVeefyoHXp9idTSaEj/LTKem8ActxJ95Gp52qKNHKqmpGYKxgtcej\r
119 oyS+JyesRWiKlI2pGysW\r
120 =Bhsp\r
121 -----END PGP SIGNATURE-----\r
122 --=-=-=--\r