[PATCH 6/6] emacs: modify the default show-mode key bindings for archiving
authorJameson Graef Rollins <jrollins@finestructure.net>
Tue, 17 Jan 2012 18:05:31 +0000 (10:05 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:42:28 +0000 (09:42 -0800)
d3/8aa51c7ae5b7748909564c71bf1b07db57633e [new file with mode: 0644]

diff --git a/d3/8aa51c7ae5b7748909564c71bf1b07db57633e b/d3/8aa51c7ae5b7748909564c71bf1b07db57633e
new file mode 100644 (file)
index 0000000..aac44cc
--- /dev/null
@@ -0,0 +1,84 @@
+Return-Path: <jrollins@finestructure.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 3B6CE429E3B\r
+       for <notmuch@notmuchmail.org>; Tue, 17 Jan 2012 10:05:36 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id qq0HkjF-TFcv for <notmuch@notmuchmail.org>;\r
+       Tue, 17 Jan 2012 10:05:35 -0800 (PST)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+       [131.215.239.19])\r
+       by olra.theworths.org (Postfix) with ESMTP id CB248429E2E\r
+       for <notmuch@notmuchmail.org>; Tue, 17 Jan 2012 10:05:35 -0800 (PST)\r
+Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by fire-doxen-postvirus (Postfix) with ESMTP id 67C76328021\r
+       for <notmuch@notmuchmail.org>; Tue, 17 Jan 2012 10:05:35 -0800 (PST)\r
+X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new\r
+Received: from finestructure.net (cpe-76-174-137-84.socal.res.rr.com\r
+       [76.174.137.84]) (Authenticated sender: jrollins)\r
+       by fire-doxen-submit (Postfix) with ESMTP id A3E5C328042\r
+       for <notmuch@notmuchmail.org>; Tue, 17 Jan 2012 10:05:33 -0800 (PST)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id F1C38564; Tue, 17 Jan 2012 10:05:31 -0800 (PST)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: Notmuch Mail <notmuch@notmuchmail.org>\r
+Subject: [PATCH 6/6] emacs: modify the default show-mode key bindings for\r
+       archiving\r
+Date: Tue, 17 Jan 2012 10:05:31 -0800\r
+Message-Id: <1326823531-14549-6-git-send-email-jrollins@finestructure.net>\r
+X-Mailer: git-send-email 1.7.7.3\r
+In-Reply-To: <1326823531-14549-5-git-send-email-jrollins@finestructure.net>\r
+References: <871uqy19yo.fsf@servo.finestructure.net>\r
+       <1326823531-14549-1-git-send-email-jrollins@finestructure.net>\r
+       <1326823531-14549-2-git-send-email-jrollins@finestructure.net>\r
+       <1326823531-14549-3-git-send-email-jrollins@finestructure.net>\r
+       <1326823531-14549-4-git-send-email-jrollins@finestructure.net>\r
+       <1326823531-14549-5-git-send-email-jrollins@finestructure.net>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 17 Jan 2012 18:05:36 -0000\r
+\r
+This changes the default key bindings for the 'a' key in notmuch-show\r
+mode.  Instead of archiving the entire thread, it now just archives\r
+the current message, and then advance to the next open message\r
+(archive-message-then-next).  'A' is now bound to the previous\r
+archive-thread-then-next function.\r
+---\r
+ emacs/notmuch-show.el |    3 ++-\r
+ 1 files changed, 2 insertions(+), 1 deletions(-)\r
+\r
+diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
+index 21eadbe..c488e6a 100644\r
+--- a/emacs/notmuch-show.el\r
++++ b/emacs/notmuch-show.el\r
+@@ -945,7 +945,8 @@ thread id.  If a prefix is given, crypto processing is toggled."\r
+       (define-key map "-" 'notmuch-show-remove-tag)\r
+       (define-key map "+" 'notmuch-show-add-tag)\r
+       (define-key map "x" 'notmuch-show-archive-thread-then-exit)\r
+-      (define-key map "a" 'notmuch-show-archive-thread-then-next)\r
++      (define-key map "a" 'notmuch-show-archive-message-then-next)\r
++      (define-key map "A" 'notmuch-show-archive-thread-then-next)\r
+       (define-key map "N" 'notmuch-show-next-message)\r
+       (define-key map "P" 'notmuch-show-previous-message)\r
+       (define-key map "n" 'notmuch-show-next-open-message)\r
+-- \r
+1.7.7.3\r
+\r