Re: [PATCH 3/3] emacs: Allow the indentation of content to be toggled.
[notmuch-archives.git] / d3 / 8aa51c7ae5b7748909564c71bf1b07db57633e
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 3B6CE429E3B\r
6         for <notmuch@notmuchmail.org>; Tue, 17 Jan 2012 10:05:36 -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 qq0HkjF-TFcv for <notmuch@notmuchmail.org>;\r
16         Tue, 17 Jan 2012 10:05:35 -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 CB248429E2E\r
20         for <notmuch@notmuchmail.org>; Tue, 17 Jan 2012 10:05:35 -0800 (PST)\r
21 Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
22         by fire-doxen-postvirus (Postfix) with ESMTP id 67C76328021\r
23         for <notmuch@notmuchmail.org>; Tue, 17 Jan 2012 10:05:35 -0800 (PST)\r
24 X-Spam-Scanned: at Caltech-IMSS on fire-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 fire-doxen-submit (Postfix) with ESMTP id A3E5C328042\r
28         for <notmuch@notmuchmail.org>; Tue, 17 Jan 2012 10:05:33 -0800 (PST)\r
29 Received: by finestructure.net (Postfix, from userid 1000)\r
30         id F1C38564; Tue, 17 Jan 2012 10:05:31 -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
34         archiving\r
35 Date: Tue, 17 Jan 2012 10:05:31 -0800\r
36 Message-Id: <1326823531-14549-6-git-send-email-jrollins@finestructure.net>\r
37 X-Mailer: git-send-email 1.7.7.3\r
38 In-Reply-To: <1326823531-14549-5-git-send-email-jrollins@finestructure.net>\r
39 References: <871uqy19yo.fsf@servo.finestructure.net>\r
40         <1326823531-14549-1-git-send-email-jrollins@finestructure.net>\r
41         <1326823531-14549-2-git-send-email-jrollins@finestructure.net>\r
42         <1326823531-14549-3-git-send-email-jrollins@finestructure.net>\r
43         <1326823531-14549-4-git-send-email-jrollins@finestructure.net>\r
44         <1326823531-14549-5-git-send-email-jrollins@finestructure.net>\r
45 X-BeenThere: notmuch@notmuchmail.org\r
46 X-Mailman-Version: 2.1.13\r
47 Precedence: list\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: Tue, 17 Jan 2012 18:05:36 -0000\r
58 \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
64 ---\r
65  emacs/notmuch-show.el |    3 ++-\r
66  1 files changed, 2 insertions(+), 1 deletions(-)\r
67 \r
68 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
69 index 21eadbe..c488e6a 100644\r
70 --- a/emacs/notmuch-show.el\r
71 +++ b/emacs/notmuch-show.el\r
72 @@ -945,7 +945,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
82 -- \r
83 1.7.7.3\r
84 \r