Re: Avoiding the "huge INBOX of death"
[notmuch-archives.git] / 4b / 504ac89b8fbbb31e0bf09ed515adc04c0d44f1
1 Return-Path: <amdragon@gmail.com>\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 8A65E431FD0\r
6         for <notmuch@notmuchmail.org>; Wed,  6 Jul 2011 06:25:43 -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.699\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001,\r
13         RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\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 zvcX4AFeS7gm for <notmuch@notmuchmail.org>;\r
17         Wed,  6 Jul 2011 06:25:42 -0700 (PDT)\r
18 Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com\r
19         [209.85.216.174]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 88895431FB6\r
22         for <notmuch@notmuchmail.org>; Wed,  6 Jul 2011 06:25:42 -0700 (PDT)\r
23 Received: by qyk29 with SMTP id 29so2418012qyk.5\r
24         for <notmuch@notmuchmail.org>; Wed, 06 Jul 2011 06:25:41 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
26         h=mime-version:sender:in-reply-to:references:date\r
27         :x-google-sender-auth:message-id:subject:from:to:cc:content-type\r
28         :content-transfer-encoding;\r
29         bh=EIgQdD0Zyj6PvoU8Q6qRkDsVAojp8/qF/z7frZGvnFM=;\r
30         b=WPJRMfyNaSHtWifLX4VgtC5c4bKJEXER5kTuxnFsrMr6XfNDrErzifixllLzN+c8Gc\r
31         DpqFwqNfkpf95WffabWRROxW45CWvv2xs2kKg3VKXLi9MCE0AfaWpDHQQYOahb5cRtuq\r
32         QLZnt3/LpMFNQexokumFXJvH4A9S6Xr+5WNbQ=\r
33 MIME-Version: 1.0\r
34 Received: by 10.229.95.20 with SMTP id b20mr6292613qcn.115.1309958741364; Wed,\r
35         06 Jul 2011 06:25:41 -0700 (PDT)\r
36 Sender: amdragon@gmail.com\r
37 Received: by 10.229.229.211 with HTTP; Wed, 6 Jul 2011 06:25:41 -0700 (PDT)\r
38 In-Reply-To: <87wrfwpjdi.fsf@free.fr>\r
39 References: <86iproe86u.fsf@greenrd.plus.com> <877h7xafto.fsf@free.fr>\r
40         <87pqlpioew.fsf@servo.factory.finestructure.net>\r
41         <87wrfwpjdi.fsf@free.fr>\r
42 Date: Wed, 6 Jul 2011 09:25:41 -0400\r
43 X-Google-Sender-Auth: eJxBfAHmTjzHHSSxBngqn0Ft5qE\r
44 Message-ID:\r
45  <CAH-f9Ws6Ji_H3JnkJS1jtio8_-65C_J5iAOnn6XsGp7YSuX2eA@mail.gmail.com>\r
46 Subject: Re: Dangerous space bar key (was: Preventing the user shooting\r
47         themself in the foot)\r
48 From: Austin Clements <amdragon@mit.edu>\r
49 To: Matthieu Lemerre <racin@free.fr>,\r
50         Jameson Graef Rollins <jrollins@finestructure.net>\r
51 Content-Type: text/plain; charset=ISO-8859-1\r
52 Content-Transfer-Encoding: quoted-printable\r
53 Cc: Notmuch Mail <notmuch@notmuchmail.org>\r
54 X-BeenThere: notmuch@notmuchmail.org\r
55 X-Mailman-Version: 2.1.13\r
56 Precedence: list\r
57 List-Id: "Use and development of the notmuch mail system."\r
58         <notmuch.notmuchmail.org>\r
59 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
61 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
62 List-Post: <mailto:notmuch@notmuchmail.org>\r
63 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
64 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
65         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
66 X-List-Received-Date: Wed, 06 Jul 2011 13:25:44 -0000\r
67 \r
68 On Jul 5, 2011 4:23 PM, "Matthieu Lemerre" <racin@free.fr> wrote:\r
69 > On Mon, 04 Jul 2011 17:03:51 -0700, Jameson Graef Rollins <jrollins@fines=\r
70 tructure.net> wrote:\r
71 >> On Mon, 04 Jul 2011 23:36:35 +0200, Matthieu Lemerre <racin@free.fr> wro=\r
72 te:\r
73 >> > I like to use the space (and sometimes the backspace key) to read\r
74 >> > threads back and forth, but sometimes I might read stuff to quickly an=\r
75 d\r
76 >> > archive a thread without wanting it. It is then complex to find it bac=\r
77 k\r
78 >> > (especially if the thread contained a single message and I hit space\r
79 >> > before actually reading the message, so I can't find it again).\r
80 >> >\r
81 >> > As a workaround, I have changed the space key function\r
82 >> > "notmuch-show-advance-and-archive" to not archive the thread if we are\r
83 >> > at the end of the thread, but to just do nothing. Thus I have to\r
84 >> > expicitely archive the thread when I have finished reading it, which I\r
85 >> > find much safer.\r
86 >>\r
87 >> I completely agree with your discomfort with the current function bound\r
88 >> to space. I don't like it at all, and I similarly rebound space to be a\r
89 >> much more sensible function:\r
90 >\r
91 > [...]\r
92 >\r
93 >> Notice I also made it so that this does not exit the current thread\r
94 >> view.\r
95 >\r
96 > I patched notmuch to use exactly the same function... Given that we are\r
97 > two people who independently requested for this behaviour, I think this\r
98 > should at least be a customisable option, and imo the default should do\r
99 > nothing and not archive the thread because of this dangerous\r
100 > behaviour. And, hitting 'a' instead of space to go to the next thread is\r
101 > the same number of keypresses...\r
102 \r
103 Make that two and a half (I haven't actually replaced this function,\r
104 but only for lack of time).\r
105 \r
106 Had I replaced it, though, there are two variations I would have\r
107 tried.=A0 Have you guys considered these and, if so, any thoughts?\r
108 \r
109 * Make SPC mark the *current* message read and move to the next one,\r
110 rather than moving to the next and marking it read.=A0 This way, you're\r
111 acknowledging the message as read once you've actually read it, rather\r
112 than having notmuch mark it read before you've actually read it.\r
113 notmuch's eagerness to mark things read has always bothered me.  For\r
114 example notmuch-show-archive-thread has the side-effect of marking the\r
115 first message of the next thread read (which I may not even know\r
116 exists!).  An acknowledgement-based approach seems like it would\r
117 address problems like this (so would better visual feedback, but\r
118 that's another issue).\r
119 \r
120 * At the end of the thread, return to the index view.=A0 This way, if\r
121 you want to archive the thread, you can still just press 'a', but if\r
122 you don't, you're already set to navigate to another thread.\r