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 8C63F421197
\r
6 for <notmuch@notmuchmail.org>; Tue, 17 Jan 2012 11:02:52 -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 56Qe9yO6ZN9Y for <notmuch@notmuchmail.org>;
\r
16 Tue, 17 Jan 2012 11:02:52 -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 F2106429E5F
\r
20 for <notmuch@notmuchmail.org>; Tue, 17 Jan 2012 11:02:51 -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 9CF392E50E70
\r
23 for <notmuch@notmuchmail.org>; Tue, 17 Jan 2012 11:02:51 -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 E10A82E50DEA
\r
28 for <notmuch@notmuchmail.org>; Tue, 17 Jan 2012 11:02:49 -0800 (PST)
\r
29 Received: by finestructure.net (Postfix, from userid 1000)
\r
30 id 7FC9F52D; Tue, 17 Jan 2012 11:02:49 -0800 (PST)
\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>
\r
32 To: Notmuch Mail <notmuch@notmuchmail.org>
\r
33 Subject: [PATCH 3/3] emacs: add delete key bindings for search and show mode.
\r
34 Date: Tue, 17 Jan 2012 11:02:49 -0800
\r
35 Message-Id: <1326826969-23545-3-git-send-email-jrollins@finestructure.net>
\r
36 X-Mailer: git-send-email 1.7.7.3
\r
37 In-Reply-To: <1326826969-23545-2-git-send-email-jrollins@finestructure.net>
\r
38 References: <87vcoaywyu.fsf@servo.finestructure.net>
\r
39 <1326826969-23545-1-git-send-email-jrollins@finestructure.net>
\r
40 <1326826969-23545-2-git-send-email-jrollins@finestructure.net>
\r
41 X-BeenThere: notmuch@notmuchmail.org
\r
42 X-Mailman-Version: 2.1.13
\r
44 List-Id: "Use and development of the notmuch mail system."
\r
45 <notmuch.notmuchmail.org>
\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
49 List-Post: <mailto:notmuch@notmuchmail.org>
\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
52 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
53 X-List-Received-Date: Tue, 17 Jan 2012 19:02:52 -0000
\r
55 This mimics the archiving keys ('a' and 'A').
\r
57 emacs/notmuch-show.el | 2 ++
\r
58 emacs/notmuch.el | 1 +
\r
59 2 files changed, 3 insertions(+), 0 deletions(-)
\r
61 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
62 index 141241d..f0259d5 100644
\r
63 --- a/emacs/notmuch-show.el
\r
64 +++ b/emacs/notmuch-show.el
\r
65 @@ -945,6 +945,8 @@ thread id. If a prefix is given, crypto processing is toggled."
\r
66 (define-key map "-" 'notmuch-show-remove-tag)
\r
67 (define-key map "+" 'notmuch-show-add-tag)
\r
68 (define-key map "x" 'notmuch-show-archive-thread-then-exit)
\r
69 + (define-key map "d" 'notmuch-show-delete-message-then-next)
\r
70 + (define-key map "D" 'notmuch-show-delete-thread-then-next)
\r
71 (define-key map "a" 'notmuch-show-archive-message-then-next)
\r
72 (define-key map "A" 'notmuch-show-archive-thread-then-next)
\r
73 (define-key map "N" 'notmuch-show-next-message)
\r
74 diff --git a/emacs/notmuch.el b/emacs/notmuch.el
\r
75 index 2acb31b..9f1b1ca 100644
\r
76 --- a/emacs/notmuch.el
\r
77 +++ b/emacs/notmuch.el
\r
78 @@ -225,6 +225,7 @@ For a mouse binding, return nil."
\r
79 (define-key map "f" 'notmuch-search-filter)
\r
80 (define-key map [mouse-1] 'notmuch-search-show-thread)
\r
81 (define-key map "*" 'notmuch-search-operate-all)
\r
82 + (define-key map "d" 'notmuch-search-delete-thread)
\r
83 (define-key map "a" 'notmuch-search-archive-thread)
\r
84 (define-key map "-" 'notmuch-search-remove-tag)
\r
85 (define-key map "+" 'notmuch-search-add-tag)
\r