[PATCH 6/8] CLI: refactor dumping of tags.
[notmuch-archives.git] / ec / ab905f5428f8c15862550ac97d8f1ec3f86a8e
1 Return-Path: <m.walters@qmul.ac.uk>\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 2A592431FBF\r
6         for <notmuch@notmuchmail.org>; Fri,  9 May 2014 04:29:07 -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: 3.001\r
10 X-Spam-Level: ***\r
11 X-Spam-Status: No, score=3.001 tagged_above=-999 required=5\r
12         tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001,\r
13         FREEMAIL_REPLY=2.499, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_LOW=-0.7]\r
14         autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id GSFW1N+n+v9h for <notmuch@notmuchmail.org>;\r
18         Fri,  9 May 2014 04:28:59 -0700 (PDT)\r
19 Received: from mail2.qmul.ac.uk (mail2.qmul.ac.uk [138.37.6.6])\r
20         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id 0AC98431FBC\r
23         for <notmuch@notmuchmail.org>; Fri,  9 May 2014 04:28:59 -0700 (PDT)\r
24 Received: from smtp.qmul.ac.uk ([138.37.6.40])\r
25         by mail2.qmul.ac.uk with esmtp (Exim 4.71)\r
26         (envelope-from <m.walters@qmul.ac.uk>)\r
27         id 1Wiiyz-0005gO-5v; Fri, 09 May 2014 12:28:53 +0100\r
28 Received: from 5751dfa2.skybroadband.com ([87.81.223.162] helo=localhost)\r
29         by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71)\r
30         (envelope-from <m.walters@qmul.ac.uk>)\r
31         id 1Wiiyy-00034k-RV; Fri, 09 May 2014 12:28:53 +0100\r
32 From: Mark Walters <markwalters1009@gmail.com>\r
33 To: David Edmondson <dme@dme.org>, notmuch@notmuchmail.org\r
34 Subject: Re: [PATCH v4 0/2]  emacs: show: redesign unread/read logic\r
35 In-Reply-To: <cunlhubcq6e.fsf@hotblack-desiato.hh.sledj.net>\r
36 References: <1399594808-2815-1-git-send-email-markwalters1009@gmail.com>\r
37         <cunlhubcq6e.fsf@hotblack-desiato.hh.sledj.net>\r
38 User-Agent: Notmuch/0.15.2+615~g78e3a93 (http://notmuchmail.org) Emacs/23.4.1\r
39         (x86_64-pc-linux-gnu)\r
40 Date: Fri, 09 May 2014 12:28:51 +0100\r
41 Message-ID: <87d2fnmbrg.fsf@qmul.ac.uk>\r
42 MIME-Version: 1.0\r
43 Content-Type: text/plain; charset=us-ascii\r
44 X-Sender-Host-Address: 87.81.223.162\r
45 X-QM-Geographic: According to ripencc,\r
46         this message was delivered by a machine in Britain (UK) (GB).\r
47 X-QM-SPAM-Info: Sender has good ham record.  :)\r
48 X-QM-Body-MD5: 6040852ddba9712bacda32d8ffd41e75 (of first 20000 bytes)\r
49 X-SpamAssassin-Score: 0.5\r
50 X-SpamAssassin-SpamBar: /\r
51 X-SpamAssassin-Report: The QM spam filters have analysed this message to\r
52         determine if it is\r
53         spam. We require at least 5.0 points to mark a message as spam.\r
54         This message scored 0.5 points. Summary of the scoring: \r
55         * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\r
56         provider *      (markwalters1009[at]gmail.com)\r
57         *  1.0 FREEMAIL_REPLY From and body contain different freemails\r
58         * -0.5 AWL AWL: From: address is in the auto white-list\r
59 X-QM-Scan-Virus: ClamAV says the message is clean\r
60 X-BeenThere: notmuch@notmuchmail.org\r
61 X-Mailman-Version: 2.1.13\r
62 Precedence: list\r
63 List-Id: "Use and development of the notmuch mail system."\r
64         <notmuch.notmuchmail.org>\r
65 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
66         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
67 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
68 List-Post: <mailto:notmuch@notmuchmail.org>\r
69 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
70 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
71         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
72 X-List-Received-Date: Fri, 09 May 2014 11:29:07 -0000\r
73 \r
74 On Fri, 09 May 2014, David Edmondson <dme@dme.org> wrote:\r
75 > On Fri, May 09 2014, Mark Walters wrote:\r
76 >> This is v4 of this set. v3 is at id:1395777793-13297-1-git-send-email-markwalters1009@gmail.com\r
77 >>\r
78 >> David (dme) was not keen on the logic in the previous patch so I have\r
79 >> tried to make it rather more customisable and made this version much\r
80 >> closer to the existing logic.\r
81 >>\r
82 >> This version marks the current message read if it is open. It doesn't\r
83 >> care how you get there: whether it is notmuch commands n/N/p/P next\r
84 >> message etc, emacs commands like scroll up, mouse clicks etc.\r
85 >>\r
86 >> The only proviso is it will only mark a message read once (in a single\r
87 >> buffer and between refreshes) as otherwise it is impossible for a user\r
88 >> to choose to mark a message unread.\r
89 >\r
90 > This version looks good to me, thanks for considering the feedback.\r
91 \r
92 Hi\r
93 \r
94 Thanks for looking and testing.\r
95 \r
96 >> I, personally, like my previous logic much more. But with this setup\r
97 >> that can be customized easily in my .emacs (we may choose to add other\r
98 >> options into mainline later). Also I think this series fixes all of\r
99 >> the problems with the current read/unread logic mentioned in\r
100 >> id:87a9atmpkf.fsf@qmul.ac.uk are fixed.\r
101 >\r
102 > Just to confirm: you can get your desired behaviour by writing an\r
103 > alternative `notmuch-show-mark-read-function'?\r
104 \r
105 Yes I can confirm that. So if this went in I can get the behaviour of\r
106 the earlier series without needing to patch notmuch.\r
107 \r
108 We can decide later if we want to include it (and other possible mark\r
109 read functions) as an option, or as a contrib file, or just on the wiki.\r
110 \r
111 Best wishes\r
112 \r
113 Mark\r
114 \r