[PATCH v2 12/14] cli/reply: pass internet address list to munge detect
[notmuch-archives.git] / 55 / 5f9aad9d0be732236be8527f35f19b21d17468
1 Return-Path: <amdragon@mit.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 D7335431FBC\r
6         for <notmuch@notmuchmail.org>; Sat,  5 Oct 2013 09:22:15 -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: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 D-WVkyTAV6c6 for <notmuch@notmuchmail.org>;\r
16         Sat,  5 Oct 2013 09:22:09 -0700 (PDT)\r
17 Received: from dmz-mailsec-scanner-1.mit.edu (dmz-mailsec-scanner-1.mit.edu\r
18         [18.9.25.12])\r
19         by olra.theworths.org (Postfix) with ESMTP id 69C53431FAF\r
20         for <notmuch@notmuchmail.org>; Sat,  5 Oct 2013 09:22:09 -0700 (PDT)\r
21 X-AuditID: 1209190c-b7fd38e0000009aa-5d-52503cb03f03\r
22 Received: from mailhub-auth-2.mit.edu ( [18.7.62.36])\r
23         by dmz-mailsec-scanner-1.mit.edu (Symantec Messaging Gateway) with SMTP\r
24         id 17.15.02474.0BC30525; Sat,  5 Oct 2013 12:22:08 -0400 (EDT)\r
25 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11])\r
26         by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id r95GM6BG000374; \r
27         Sat, 5 Oct 2013 12:22:08 -0400\r
28 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91])\r
29         (authenticated bits=0)\r
30         (User authenticated as amdragon@ATHENA.MIT.EDU)\r
31         by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id r95GM4VX007415\r
32         (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT);\r
33         Sat, 5 Oct 2013 12:22:05 -0400\r
34 Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.80)\r
35         (envelope-from <amdragon@mit.edu>)\r
36         id 1VSUcF-0001dB-9B; Sat, 05 Oct 2013 12:22:03 -0400\r
37 Date: Sat, 5 Oct 2013 12:22:02 -0400\r
38 From: Austin Clements <amdragon@MIT.EDU>\r
39 To: Mark Walters <markwalters1009@gmail.com>\r
40 Subject: Re: Emacs: how to remove "unread" tag while reading emails\r
41 Message-ID: <20131005162202.GJ21611@mit.edu>\r
42 References: <87hadi0xse.fsf@boo.workgroup>\r
43  <87pprk3whs.fsf@qmul.ac.uk>\r
44 MIME-Version: 1.0\r
45 Content-Type: text/plain; charset=utf-8\r
46 Content-Disposition: inline\r
47 Content-Transfer-Encoding: 8bit\r
48 In-Reply-To: <87pprk3whs.fsf@qmul.ac.uk>\r
49 User-Agent: Mutt/1.5.21 (2010-09-15)\r
50 X-Brightmail-Tracker:\r
51  H4sIAAAAAAAAA+NgFlrKKsWRmVeSWpSXmKPExsUixG6norvBJiDI4PxaOYvVc3ksrt+cyWwx\r
52         YdlXdgdmj52z7rJ7LN60n83j2apbzAHMUVw2Kak5mWWpRfp2CVwZZ869Yy9oVa1YuWw/cwPj\r
53         X5kuRk4OCQETictrFjND2GISF+6tZ+ti5OIQEtjHKPFr+TwWCGcDo0TbgWPMEM4pJom3R/cx\r
54         QjhLGCXm7u1iBOlnEVCRONNwlQnEZhPQkNi2fzlYXERAR+L2oQXsIDazgL3E2pufwOLCAs4S\r
55         XbvngNm8QDXLG6aA2UICHhJv77xkgogLSpyc+YQFoldd4s+8S0BXcADZ0hLL/3FAhOUlmrfO\r
56         BnuBE2jt6+3tYLYo0DlTTm5jm8AoPAvJpFlIJs1CmDQLyaQFjCyrGGVTcqt0cxMzc4pTk3WL\r
57         kxPz8lKLdA31cjNL9FJTSjcxgmKDU5JnB+Obg0qHGAU4GJV4eD/u8A8SYk0sK67MPcQoycGk\r
58         JMprAowsIb6k/JTKjMTijPii0pzU4kOMEhzMSiK8Jj+AynlTEiurUovyYVLSHCxK4rw3OeyD\r
59         hATSE0tSs1NTC1KLYLIyHBxKEryHrYGGChalpqdWpGXmlCCkmTg4QYbzAA1/ClLDW1yQmFuc\r
60         mQ6RP8WoKCXOKwRykQBIIqM0D64XlrpeMYoDvSLM+xyknQeY9uC6XwENZgIaHCXhCzK4JBEh\r
61         JdXAKC/3KmZHg8bKZZNLmP7Wu4oG7pQQsEhuPGD9wZPn85RQgQarZ+6/P5d+mjwhL6/gKmv1\r
62         x+2/dn26+nBjTYkjv++xc21SB51VWO7YWPz82VP660frrrqHT9JPR703WVxmlahdkyvDesaz\r
63         Zbep9SPBeXGb6lbXH7z+znKe0L8vFhPtimQSn/19q8RSnJFoqMVcVJwIAJGhhOY4AwAA\r
64 Cc: notmuch@notmuchmail.org\r
65 X-BeenThere: notmuch@notmuchmail.org\r
66 X-Mailman-Version: 2.1.13\r
67 Precedence: list\r
68 List-Id: "Use and development of the notmuch mail system."\r
69         <notmuch.notmuchmail.org>\r
70 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
71         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
72 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
73 List-Post: <mailto:notmuch@notmuchmail.org>\r
74 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
75 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
76         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
77 X-List-Received-Date: Sat, 05 Oct 2013 16:22:16 -0000\r
78 \r
79 Great list.\r
80 \r
81 One of the problems with the current approach, which most of these\r
82 options share, is that there's no feedback.  For example, when I enter\r
83 a thread, I have no idea if the first message was unread or not.  I'd\r
84 like a solution that either naturally doesn't have this problem, that\r
85 visually indicates that a message *was* unread, or that delays all\r
86 unread marking until you leave the thread (possibly combined with a\r
87 visual indication of what will be marked unread).  Bonus points if\r
88 it's easy to adjust what happens, such as saying "keep everything\r
89 unread" or "keep everything unread except this one".\r
90 \r
91 To this end, here are my two proposals:\r
92 \r
93 A1) Mark whole thread read when you leave it (via q, X, A or friends)\r
94 and provide a binding to leave a thread without marking it read (C-x k\r
95 would do, but we should provide an explicit one; perhaps C-u prefixing\r
96 other "leave" bindings?  For once, C-u is easy to remember because u\r
97 is the first letter of unread).\r
98 \r
99 A2) Like A1, but mark only messages up to and containing point when\r
100 you leave a thread.\r
101 \r
102 In either case, I'd like an echo message when I leave the thread\r
103 telling me what happened ("Thread marked as read", "First 3 messages\r
104 marked as read; thread archived", etc.).  These would blend especially\r
105 well with undo, because they would bundle together all read marking\r
106 into a single action that would make sense to undo ("Thread marked as\r
107 read [C-/ to undo]").\r
108 \r
109 Both options are highly predictable and easy to understand.  They\r
110 don't lose information about which messages were unread when you\r
111 entered a thread.  And they're easy to adjust (you can always -unread\r
112 a message manually and then C-u q or whatever to leave without\r
113 touching anything else).\r
114 \r
115 Quoth Mark Walters on Oct 05 at 10:19 am:\r
116\r
117 > Hello\r
118\r
119 > I agree that the unread tag does not work well. There are some instances\r
120 > which I would class as plain bugs (notmuch-show-next-message which is\r
121 > bound to N marks the new message read even if it is collapsed) and\r
122 > other instances where it is not clear what the correct behaviour should\r
123 > be.\r
124\r
125 > I have messed around a bit and there seem to be a lot of possible\r
126 > variants and I don't know whether any would have any consensus.\r
127\r
128 > One clear divide is whether we should only mark "visited messages" (ie\r
129 > ones reached using space, n,N,p,P etc in the current bindings) or we\r
130 > should also make messages seen by scrolling past (eg with page down).\r
131\r
132 > Anyway here is a list of some possibilities. In all cases I assume we do\r
133 > not mark any collapsed message read.\r
134\r
135 > 1) Mark a message read when we visit it.\r
136 > 2) Mark a message read when we visit it and the leave it with a "visit\r
137 > move" (eg n for next message)\r
138\r
139 > 3) Mark a message read if we see the start of the message in the buffer. \r
140 > 4) Mark a message read if we have seen the start and end of the message\r
141 > in the buffer.\r
142 > 5) Mark a message read if we see the end of the message after seeing the\r
143 > start (rationale moving to the top of the buffer is likely "movement"\r
144 > rather than "reading")\r
145\r
146 > 6) Something based on how we leave the message: eg page down could mark\r
147 > all messages which were fully visible read, n (next-open message) could\r
148 > mark the message being left read. \r
149 > 7) Similar to 6) but something where read necessarily includes have seen\r
150 > the start of the message.\r
151\r
152 > I think all of these are reasonably easy to implement, and I think I\r
153 > know which I would like (something like 5 or 7) but it would be\r
154 > interesting to know if there is any general view or any view on how\r
155 > customisable this should be.\r
156\r
157 > Does anyone have any thoughts?\r
158\r
159 > Best wishes\r
160\r
161 > Mark\r
162\r
163\r
164\r
165 > On Wed, 18 Sep 2013, Gregor Zattler <telegraph@gmx.net> wrote:\r
166 > > Dear notmuchers,\r
167 > >\r
168 > > I had difficulties to reliably remove the "unread" tag from\r
169 > > messages.  Mostly I page through threads with the space bar and\r
170 > > all is well.  But when the beginning of the thread is already\r
171 > > collapsed and I "jump" in the middle of a message pressing space\r
172 > > bar does not remove the unread tag.  It's only removed when\r
173 > > *entering* the message via space bar from the previous message.\r
174 > > So the last press on space bar in the previous message jumps to\r
175 > > the next message and at the same time removes its unread tag.\r
176 > >\r
177 > > This seems strange to me.  I would say the unread tag should be\r
178 > > removed when leaving the message with the last press on space\r
179 > > bar, indicating that one really paged trough the whole message\r
180 > > instead of only seeing the very beginning of it.\r
181 > >\r
182 > > What’s the rationale to this behaviour?  Am I missing something?  \r
183 > >\r
184 > > Thanks for your attention, gregor\r