Error when viewing mails.
[notmuch-archives.git] / e8 / 013905e56c91a45b1a657ded5bdda79056a3c6
1 Return-Path: <jrollins@finestructure.net>\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 B0F6E40F0C6\r
6         for <notmuch@notmuchmail.org>; Sat,  7 Jan 2012 17:27:13 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.3\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3] 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 I-Tb-3Z1y4aF for <notmuch@notmuchmail.org>;\r
16         Sat,  7 Jan 2012 17:27:12 -0800 (PST)\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
18         [131.215.239.19])\r
19         by olra.theworths.org (Postfix) with ESMTP id 73F6440F1D4\r
20         for <notmuch@notmuchmail.org>; Sat,  7 Jan 2012 17:27:05 -0800 (PST)\r
21 Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
22         by earth-doxen-postvirus (Postfix) with ESMTP id 10DDE66E0180\r
23         for <notmuch@notmuchmail.org>; Sat,  7 Jan 2012 17:27:05 -0800 (PST)\r
24 X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
25 Received: from finestructure.net (cpe-76-174-137-84.socal.res.rr.com\r
26         [76.174.137.84]) (Authenticated sender: jrollins)\r
27         by earth-doxen-submit (Postfix) with ESMTP id D31D266E00B6\r
28         for <notmuch@notmuchmail.org>; Sat,  7 Jan 2012 17:26:58 -0800 (PST)\r
29 Received: by finestructure.net (Postfix, from userid 1000)\r
30         id 76CCD643; Sat,  7 Jan 2012 17:26:58 -0800 (PST)\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
32 To: Notmuch Mail <notmuch@notmuchmail.org>\r
33 Subject: change to default archive/delete key bindings\r
34 Date: Sat,  7 Jan 2012 17:26:51 -0800\r
35 Message-Id: <1325986015-22510-1-git-send-email-jrollins@finestructure.net>\r
36 X-Mailer: git-send-email 1.7.7.3\r
37 In-Reply-To: <1325975294-646-4-git-send-email-jrollins@finestructure.net>\r
38 References: <1325975294-646-4-git-send-email-jrollins@finestructure.net>\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.13\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43         <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Sun, 08 Jan 2012 01:27:14 -0000\r
52 \r
53 While working on the delete message handling patches, I was reminded\r
54 how much I really dislike the default show-mode key bindings.  Why\r
55 can't I just archive/delete the current message, without archiving the\r
56 entire thread?  It doesn't make any sense.\r
57 \r
58 Here we add two new functions to archive and delete just the single\r
59 message, and then move to the next open message.  We also add an\r
60 option to the -next-open-message function so that it will pop back out\r
61 to the parent search buffer when reaching the end of the thread.  This\r
62 should make message processing flow much smoother.\r
63 \r
64 Patches 1,2 and 4 can be applied even if the consensus is to not\r
65 change the default key bindings, to make it easier for users to\r
66 achieve the desired functionality without having to write their own\r
67 functions.\r
68 \r
69 jamie.\r
70 \r