Re: [PATCH] How to improve the mail handling workflow?
[notmuch-archives.git] / fc / 9ac31af4382a2e39d789be44660565bf65819b
1 Return-Path: <cworth@cworth.org>\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 18B7F4196F2\r
6         for <notmuch@notmuchmail.org>; Thu, 15 Apr 2010 13:41:19 -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.991\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.991 tagged_above=-999 required=5\r
12         tests=[ALL_TRUSTED=-1, BAYES_20=-0.001, T_MIME_NO_TEXT=0.01]\r
13         autolearn=ham\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id Mng7OGryP0ej; Thu, 15 Apr 2010 13:41:18 -0700 (PDT)\r
17 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
18         by olra.theworths.org (Postfix) with ESMTP id 54004431FC1;\r
19         Thu, 15 Apr 2010 13:41:18 -0700 (PDT)\r
20 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
21         id F26715883A6; Thu, 15 Apr 2010 13:41:17 -0700 (PDT)\r
22 From: Carl Worth <cworth@cworth.org>\r
23 To: notmuch@notmuchmail.org\r
24 Subject: The archive operation should only archive open messages\r
25 Date: Thu, 15 Apr 2010 13:41:17 -0700\r
26 Message-ID: <87633sfnyq.fsf@yoom.home.cworth.org>\r
27 MIME-Version: 1.0\r
28 Content-Type: multipart/signed; boundary="=-=-=";\r
29         micalg=pgp-sha1; protocol="application/pgp-signature"\r
30 X-BeenThere: notmuch@notmuchmail.org\r
31 X-Mailman-Version: 2.1.13\r
32 Precedence: list\r
33 List-Id: "Use and development of the notmuch mail system."\r
34         <notmuch.notmuchmail.org>\r
35 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
36         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
37 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
38 List-Post: <mailto:notmuch@notmuchmail.org>\r
39 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
40 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
41         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
42 X-List-Received-Date: Thu, 15 Apr 2010 20:41:19 -0000\r
43 \r
44 --=-=-=\r
45 \r
46 One of the searches that I use most frequently, (for mail that I want to\r
47 respond to on a fairly timely basis), is\r
48 \r
49         tag:inbox and tag:to-me         [*]\r
50 \r
51 Sometimes, this search will show a large mailing-list thread with only a\r
52 few messages open. Perhaps part-way through the thread, someone started\r
53 to CC me. Or perhaps my address got dropped from the CC at some\r
54 point. Either way, I am presented with a subset of the messages from the\r
55 thread, even though all of the thread's messages are in my inbox still.\r
56 \r
57 That much is just fine. I'm giving priority to messages where people\r
58 thought I would be particularly interested, and that's just as it should\r
59 be.\r
60 \r
61 A bad bug occurs when paging through the thread with the space\r
62 bar. After showing me these few messages, it will then proceed to\r
63 archive *all* the messages in the thread (not only those it showed\r
64 me). And I'm likely to be unaware of this since the closed (but not yet\r
65 archived) messages are not easily distinguished from messages that were\r
66 previously closed and archived.\r
67 \r
68 Some people will claim (and I've even agreed) that the space bar is too\r
69 magic. But this bug also happens with an explicit command to archive the\r
70 current thread (such as hitting 'a').\r
71 \r
72 I think the fix is to change these commands to only archive the messages\r
73 that are currently open. That will make these operations behave as I\r
74 expect, and I don't think will cause any unexpected or confusing\r
75 behavior. But please let me know if you disagree.\r
76 \r
77 -Carl\r
78 \r
79 [*] My tag:to-me is set by a script doing "notmuch tag +to-me\r
80 to:cworth@cworth.org or to:carl.d.worth@intel.com ...". I'd prefer this\r
81 to be a saved-search of course---that's one of the patches I haven't had\r
82 a chance to review yet.\r
83 \r
84 --=-=-=\r
85 Content-Type: application/pgp-signature\r
86 \r
87 -----BEGIN PGP SIGNATURE-----\r
88 Version: GnuPG v1.4.10 (GNU/Linux)\r
89 \r
90 iD8DBQFLx3nt6JDdNq8qSWgRAjjeAJ4owVOKbdexDwied8gGY7NTN0FERwCgjlBM\r
91 CrGjywcJX+FZ28yVtq6jmxA=\r
92 =zn37\r
93 -----END PGP SIGNATURE-----\r
94 --=-=-=--\r