From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 5C87C429E5F for ; Tue, 17 Jan 2012 10:43:19 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d61+gw8aGJ6z for ; Tue, 17 Jan 2012 10:43:19 -0800 (PST) Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu [131.215.239.19]) by olra.theworths.org (Postfix) with ESMTP id F2930429E3B for ; Tue, 17 Jan 2012 10:43:18 -0800 (PST) Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1]) by earth-doxen-postvirus (Postfix) with ESMTP id 9E11766E0187 for ; Tue, 17 Jan 2012 10:43:18 -0800 (PST) X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new Received: from finestructure.net (cpe-76-174-137-84.socal.res.rr.com [76.174.137.84]) (Authenticated sender: jrollins) by earth-doxen-submit (Postfix) with ESMTP id D749066E0135 for ; Tue, 17 Jan 2012 10:43:16 -0800 (PST) Received: by finestructure.net (Postfix, from userid 1000) id 7F825514; Tue, 17 Jan 2012 10:43:16 -0800 (PST) From: Jameson Graef Rollins To: Notmuch Mail Subject: [PATCH] emacs: fix archive thread/message function documentation. Date: Tue, 17 Jan 2012 10:43:16 -0800 Message-Id: <1326825796-8358-1-git-send-email-jrollins@finestructure.net> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1326823531-14549-3-git-send-email-jrollins@finestructure.net> References: <1326823531-14549-3-git-send-email-jrollins@finestructure.net> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2012 18:43:19 -0000 This removes an inaccuracy in the thread archiving function, and adds a clarification to the message archiving function. --- Late catch on some documentation inaccuracies. Apologies. emacs/notmuch-show.el | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index c488e6a..c1d721e 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -1463,13 +1463,10 @@ argument, hide all of the messages." (defun notmuch-show-archive-thread (&optional unarchive) "Archive each message in thread. -If a prefix argument is given, the messages will be -\"unarchived\" (ie. the \"inbox\" tag will be added instead of -removed). - Archive each message currently shown by removing the \"inbox\" -tag from each. Then kill this buffer and show the next thread -from the search from which this thread was originally shown. +tag from each. If a prefix argument is given, the messages will +be \"unarchived\" (ie. the \"inbox\" tag will be added instead of +removed). Note: This command is safe from any race condition of new messages being delivered to the same thread. It does not archive the @@ -1493,7 +1490,7 @@ buffer." (notmuch-show-next-thread)) (defun notmuch-show-archive-message (&optional unarchive) - "Archive the current message. + "Archive the current message (remove \"inbox\" tag). If a prefix argument is given, the message will be \"unarchived\" (ie. the \"inbox\" tag will be added instead of -- 1.7.7.3