[PATCH 4/4 v2] emacs: use pop-at-end functionality in archive/delete-message functions
authorJameson Graef Rollins <jrollins@finestructure.net>
Sun, 8 Jan 2012 18:56:04 +0000 (10:56 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:41:46 +0000 (09:41 -0800)
72/2eaef6be90d37318369a593a39121e8b50dc63 [new file with mode: 0644]

diff --git a/72/2eaef6be90d37318369a593a39121e8b50dc63 b/72/2eaef6be90d37318369a593a39121e8b50dc63
new file mode 100644 (file)
index 0000000..3ed704c
--- /dev/null
@@ -0,0 +1,87 @@
+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 4329D414478\r
+       for <notmuch@notmuchmail.org>; Sun,  8 Jan 2012 10:56:13 -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 cvy43S4WKiDw for <notmuch@notmuchmail.org>;\r
+       Sun,  8 Jan 2012 10:56:12 -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 CB790414460\r
+       for <notmuch@notmuchmail.org>; Sun,  8 Jan 2012 10:56:12 -0800 (PST)\r
+Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by earth-doxen-postvirus (Postfix) with ESMTP id 2FE2466E00DD\r
+       for <notmuch@notmuchmail.org>; Sun,  8 Jan 2012 10:56:10 -0800 (PST)\r
+X-Spam-Scanned: at Caltech-IMSS on earth-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 earth-doxen-submit (Postfix) with ESMTP id 5DB7666E018C\r
+       for <notmuch@notmuchmail.org>; Sun,  8 Jan 2012 10:56:08 -0800 (PST)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id 5E986A4A; Sun,  8 Jan 2012 10:56:04 -0800 (PST)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: Notmuch Mail <notmuch@notmuchmail.org>\r
+Subject: [PATCH 4/4 v2] emacs: use pop-at-end functionality in\r
+       archive/delete-message functions\r
+Date: Sun,  8 Jan 2012 10:56:04 -0800\r
+Message-Id: <1326048964-13399-1-git-send-email-jrollins@finestructure.net>\r
+X-Mailer: git-send-email 1.7.7.3\r
+In-Reply-To: <1325986015-22510-5-git-send-email-jrollins@finestructure.net>\r
+References: <1325986015-22510-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: Sun, 08 Jan 2012 18:56:13 -0000\r
+\r
+This provides a smoother message processing flow by reducing the\r
+number of key presses needed for these common operations.\r
+---\r
+Sorry, there were some errant extra parens at the end of these\r
+function definitions.\r
+\r
+ emacs/notmuch-show.el |    4 ++--\r
+ 1 files changed, 2 insertions(+), 2 deletions(-)\r
+\r
+diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
+index 4c2b507..a706637 100644\r
+--- a/emacs/notmuch-show.el\r
++++ b/emacs/notmuch-show.el\r
+@@ -1454,7 +1454,7 @@ thread.\r
+ "\r
+     (interactive)\r
+     (notmuch-show-remove-tag "inbox")\r
+-    (notmuch-show-next-open-message)))\r
++    (notmuch-show-next-open-message t))\r
\r
+ (defun notmuch-show-archive-thread ()\r
+   "Archive each message in thread, then show next thread from search.\r
+@@ -1485,7 +1485,7 @@ thread.\r
+ "\r
+     (interactive)\r
+     (notmuch-show-add-tag "deleted")\r
+-    (notmuch-show-next-open-message)))\r
++    (notmuch-show-next-open-message t))\r
\r
+ (defun notmuch-show-delete-thread ()\r
+   "Delete each message in thread, then show next thread from search.\r
+-- \r
+1.7.7.3\r
+\r