[PATCH 5/6] emacs: change name of search-archive-thread function to just search-archive
authorJameson Graef Rollins <jrollins@finestructure.net>
Mon, 2 Apr 2012 08:20:52 +0000 (01:20 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:45:59 +0000 (09:45 -0800)
b2/97a5e12cea1bfaa38a9eb832de8bdd243619e6 [new file with mode: 0644]

diff --git a/b2/97a5e12cea1bfaa38a9eb832de8bdd243619e6 b/b2/97a5e12cea1bfaa38a9eb832de8bdd243619e6
new file mode 100644 (file)
index 0000000..78bff55
--- /dev/null
@@ -0,0 +1,94 @@
+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 249AC41ED92\r
+       for <notmuch@notmuchmail.org>; Mon,  2 Apr 2012 01:21:02 -0700 (PDT)\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 EAZ667TUx7rc for <notmuch@notmuchmail.org>;\r
+       Mon,  2 Apr 2012 01:21:01 -0700 (PDT)\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 08A70431FC2\r
+       for <notmuch@notmuchmail.org>; Mon,  2 Apr 2012 01:21:01 -0700 (PDT)\r
+Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by earth-doxen-postvirus (Postfix) with ESMTP id E7B7B66E00F3\r
+       for <notmuch@notmuchmail.org>; Mon,  2 Apr 2012 01:20:59 -0700 (PDT)\r
+X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
+Received: from finestructure.net (unknown [76.89.193.65])\r
+       (Authenticated sender: jrollins)\r
+       by earth-doxen-submit (Postfix) with ESMTP id 36A7466E00E4\r
+       for <notmuch@notmuchmail.org>; Mon,  2 Apr 2012 01:20:58 -0700 (PDT)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id 9AA1219E8; Mon,  2 Apr 2012 01:20:56 -0700 (PDT)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: Notmuch Mail <notmuch@notmuchmail.org>\r
+Subject: [PATCH 5/6] emacs: change name of search-archive-thread function to\r
+       just search-archive\r
+Date: Mon,  2 Apr 2012 01:20:52 -0700\r
+Message-Id: <1333354853-25729-6-git-send-email-jrollins@finestructure.net>\r
+X-Mailer: git-send-email 1.7.9.1\r
+In-Reply-To: <1333354853-25729-5-git-send-email-jrollins@finestructure.net>\r
+References: <1333354853-25729-1-git-send-email-jrollins@finestructure.net>\r
+       <1333354853-25729-2-git-send-email-jrollins@finestructure.net>\r
+       <1333354853-25729-3-git-send-email-jrollins@finestructure.net>\r
+       <1333354853-25729-4-git-send-email-jrollins@finestructure.net>\r
+       <1333354853-25729-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: Mon, 02 Apr 2012 08:21:02 -0000\r
+\r
+This changes the name of this function to be more consistent with the\r
+current thread tagging functions.  The documentation is also updated\r
+and improved.\r
+---\r
+ emacs/notmuch.el |    8 ++++----\r
+ 1 files changed, 4 insertions(+), 4 deletions(-)\r
+\r
+diff --git a/emacs/notmuch.el b/emacs/notmuch.el\r
+index e1bff42..19423ea 100644\r
+--- a/emacs/notmuch.el\r
++++ b/emacs/notmuch.el\r
+@@ -289,7 +289,7 @@ For a mouse binding, return nil."\r
+     (define-key map "f" 'notmuch-search-filter)\r
+     (define-key map [mouse-1] 'notmuch-search-show-thread)\r
+     (define-key map "*" 'notmuch-search-tag-all)\r
+-    (define-key map "a" 'notmuch-search-archive-thread)\r
++    (define-key map "a" 'notmuch-search-archive)\r
+     (define-key map "-" 'notmuch-search-remove-tag)\r
+     (define-key map "+" 'notmuch-search-add-tag)\r
+     (define-key map (kbd "RET") 'notmuch-search-show-thread)\r
+@@ -667,10 +667,10 @@ tab completion)."\r
+   (interactive)\r
+   (notmuch-search-tag "-"))\r
\r
+-(defun notmuch-search-archive-thread ()\r
+-  "Archive the currently selected thread (remove its \"inbox\" tag).\r
++(defun notmuch-search-archive ()\r
++  "Archive the currently selected thread or region (remove \"inbox\" tags).\r
\r
+-This function advances the next thread when finished."\r
++The cursor is advanced to the next thread after tagging."\r
+   (interactive)\r
+   (notmuch-search-tag "-inbox")\r
+   (notmuch-search-next-thread))\r
+-- \r
+1.7.9.1\r
+\r