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 4CF7241ED95
\r
6 for <notmuch@notmuchmail.org>; Mon, 23 Jan 2012 00:35:26 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\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 Gwt6Ol5vVY1E for <notmuch@notmuchmail.org>;
\r
16 Mon, 23 Jan 2012 00:35:25 -0800 (PST)
\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu
\r
19 by olra.theworths.org (Postfix) with ESMTP id 77BA441ED92
\r
20 for <notmuch@notmuchmail.org>; Mon, 23 Jan 2012 00:35:16 -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 11F5266E001A
\r
23 for <notmuch@notmuchmail.org>; Mon, 23 Jan 2012 00:35:16 -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 7471366E0176
\r
28 for <notmuch@notmuchmail.org>; Mon, 23 Jan 2012 00:34:26 -0800 (PST)
\r
29 Received: by finestructure.net (Postfix, from userid 1000)
\r
30 id 620AAD22; Mon, 23 Jan 2012 00:34:25 -0800 (PST)
\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>
\r
32 To: Notmuch Mail <notmuch@notmuchmail.org>
\r
33 Subject: [PATCH 6/6] emacs: modify the default show-mode key bindings for
\r
35 Date: Mon, 23 Jan 2012 00:34:25 -0800
\r
36 Message-Id: <1327307665-23387-6-git-send-email-jrollins@finestructure.net>
\r
37 X-Mailer: git-send-email 1.7.8.3
\r
38 In-Reply-To: <1327307665-23387-5-git-send-email-jrollins@finestructure.net>
\r
39 References: <87pqea24z0.fsf@servo.finestructure.net>
\r
40 <1327307665-23387-1-git-send-email-jrollins@finestructure.net>
\r
41 <1327307665-23387-2-git-send-email-jrollins@finestructure.net>
\r
42 <1327307665-23387-3-git-send-email-jrollins@finestructure.net>
\r
43 <1327307665-23387-4-git-send-email-jrollins@finestructure.net>
\r
44 <1327307665-23387-5-git-send-email-jrollins@finestructure.net>
\r
45 X-BeenThere: notmuch@notmuchmail.org
\r
46 X-Mailman-Version: 2.1.13
\r
48 List-Id: "Use and development of the notmuch mail system."
\r
49 <notmuch.notmuchmail.org>
\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
51 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
53 List-Post: <mailto:notmuch@notmuchmail.org>
\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
56 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
57 X-List-Received-Date: Mon, 23 Jan 2012 08:35:26 -0000
\r
59 This changes the default key bindings for the 'a' key in notmuch-show
\r
60 mode. Instead of archiving the entire thread, it now just archives
\r
61 the current message, and then advance to the next open message
\r
62 (archive-message-then-next). 'A' is now bound to the previous
\r
63 archive-thread-then-next function.
\r
65 emacs/notmuch-show.el | 3 ++-
\r
66 1 files changed, 2 insertions(+), 1 deletions(-)
\r
68 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
69 index 8c71d03..29d9d92 100644
\r
70 --- a/emacs/notmuch-show.el
\r
71 +++ b/emacs/notmuch-show.el
\r
72 @@ -1043,7 +1043,8 @@ thread id. If a prefix is given, crypto processing is toggled."
\r
73 (define-key map "-" 'notmuch-show-remove-tag)
\r
74 (define-key map "+" 'notmuch-show-add-tag)
\r
75 (define-key map "x" 'notmuch-show-archive-thread-then-exit)
\r
76 - (define-key map "a" 'notmuch-show-archive-thread-then-next)
\r
77 + (define-key map "a" 'notmuch-show-archive-message-then-next)
\r
78 + (define-key map "A" 'notmuch-show-archive-thread-then-next)
\r
79 (define-key map "N" 'notmuch-show-next-message)
\r
80 (define-key map "P" 'notmuch-show-previous-message)
\r
81 (define-key map "n" 'notmuch-show-next-open-message)
\r