Re: [PATCH v2 06/10] cli: Introduce "notmuch address" command
[notmuch-archives.git] / 80 / dffb886e007c354c114dff03a59e5d031f3656
1 Return-Path: <prvs=jrosenthal=720713242@jhu.edu>\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 AC69D4196F2\r
6         for <notmuch@notmuchmail.org>; Wed, 21 Apr 2010 16:25:46 -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.301\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.301 tagged_above=-999 required=5\r
12         tests=[BAYES_20=-0.001, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham\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 8rRNvOZhB64X for <notmuch@notmuchmail.org>;\r
16         Wed, 21 Apr 2010 16:25:45 -0700 (PDT)\r
17 Received: from ipex1.johnshopkins.edu (ipex1.johnshopkins.edu [162.129.8.141])\r
18         by olra.theworths.org (Postfix) with ESMTP id 9B09D431FC1\r
19         for <notmuch@notmuchmail.org>; Wed, 21 Apr 2010 16:25:45 -0700 (PDT)\r
20 X-IronPort-AV: E=Sophos;i="4.52,252,1270440000"; d="scan'208";a="317399153"\r
21 Received: from c-69-255-36-229.hsd1.md.comcast.net (HELO lucky)\r
22         ([69.255.36.229])\r
23         by ipex1.johnshopkins.edu with ESMTP/TLS/AES256-SHA;\r
24         21 Apr 2010 19:25:44 -0400\r
25 Received: from jkr by lucky with local (Exim 4.69)\r
26         (envelope-from <jrosenthal@jhu.edu>)\r
27         id 1O4jId-0003P4-9v; Wed, 21 Apr 2010 19:25:43 -0400\r
28 From: Jesse Rosenthal <jrosenthal@jhu.edu>\r
29 To: Dirk Hohndel <hohndel@infradead.org>, notmuch@notmuchmail.org\r
30 Subject: Re: [PATCH] Add 'd'elete keybinding to search and show views\r
31 In-Reply-To: <1271891763-10757-2-git-send-email-hohndel@infradead.org>\r
32 References: <1271891763-10757-1-git-send-email-hohndel@infradead.org>\r
33         <1271891763-10757-2-git-send-email-hohndel@infradead.org>\r
34 Date: Wed, 21 Apr 2010 19:25:43 -0400\r
35 Message-ID: <874oj48k20.fsf@jhu.edu>\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain; charset=us-ascii\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Wed, 21 Apr 2010 23:25:46 -0000\r
51 \r
52 \r
53 Hi Dirk,\r
54 \r
55 On Wed, 21 Apr 2010 16:16:03 -0700, Dirk Hohndel <hohndel@infradead.org> wrote:\r
56 > +          (if delete\r
57 > +              (notmuch-show-add-tag "deleted")))\r
58 \r
59 The one thing I would suggest is adding a level of customizability,\r
60 instead of hardcoding in "deleted".\r
61 i.e.:\r
62  \r
63   (defvar notmuch-delete-tag "deleted")\r
64 \r
65 and then:\r
66 \r
67   (if delete\r
68       (notmuch-show-add-tag notmuch-delete-tag))\r
69 \r
70 \r
71 The less we force specific tags on users, it seems to me, the better.\r
72 \r
73 Best,\r
74 Jesse\r
75 \r
76 \r
77 \r
78 \r
79 \r