Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 18 / 1c06de37ad44e4def3a85871ec26d0a22fb45e
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 A99D840F23A\r
6         for <notmuch@notmuchmail.org>; Sat,  7 Jan 2012 17:27:01 -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 Ij0fuLx5TSFP for <notmuch@notmuchmail.org>;\r
16         Sat,  7 Jan 2012 17:27:01 -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 26ED940AD77\r
20         for <notmuch@notmuchmail.org>; Sat,  7 Jan 2012 17:27:01 -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 BE0E62E50E05\r
23         for <notmuch@notmuchmail.org>; Sat,  7 Jan 2012 17:27:00 -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 0D34F2E50EF5\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 7E2941165; 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: [PATCH 3/4] emacs: modify the default show-mode key bindings for\r
34         archiving/deleting\r
35 Date: Sat,  7 Jan 2012 17:26:54 -0800\r
36 Message-Id: <1325986015-22510-4-git-send-email-jrollins@finestructure.net>\r
37 X-Mailer: git-send-email 1.7.7.3\r
38 In-Reply-To: <1325986015-22510-3-git-send-email-jrollins@finestructure.net>\r
39 References: <1325975294-646-4-git-send-email-jrollins@finestructure.net>\r
40         <1325986015-22510-1-git-send-email-jrollins@finestructure.net>\r
41         <1325986015-22510-2-git-send-email-jrollins@finestructure.net>\r
42         <1325986015-22510-3-git-send-email-jrollins@finestructure.net>\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.13\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47         <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Sun, 08 Jan 2012 01:27:01 -0000\r
56 \r
57 This changes the default key bindings for the 'a' and 'd' keys in\r
58 notmuch-show mode.  Instead of archiving/deleting the entire thread,\r
59 they now just archive/delete the current message, and then advance to\r
60 the next open message.\r
61 \r
62 'A' and 'D' are rebound to the previous archive/delete-thread\r
63 functions.\r
64 ---\r
65  emacs/notmuch-show.el |    6 ++++--\r
66  1 files changed, 4 insertions(+), 2 deletions(-)\r
67 \r
68 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
69 index e7bb958..4c2b507 100644\r
70 --- a/emacs/notmuch-show.el\r
71 +++ b/emacs/notmuch-show.el\r
72 @@ -943,8 +943,10 @@ 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)\r
77 -       (define-key map "d" 'notmuch-show-delete-thread)\r
78 +       (define-key map "a" 'notmuch-show-archive-message)\r
79 +       (define-key map "A" 'notmuch-show-archive-thread)\r
80 +       (define-key map "d" 'notmuch-show-delete-message)\r
81 +       (define-key map "D" 'notmuch-show-delete-thread)\r
82         (define-key map "N" 'notmuch-show-next-message)\r
83         (define-key map "P" 'notmuch-show-previous-message)\r
84         (define-key map "n" 'notmuch-show-next-open-message)\r
85 -- \r
86 1.7.7.3\r
87 \r