From: Michal Sojka Date: Tue, 21 Feb 2012 09:15:08 +0000 (+0100) Subject: emacs: Clarify description of thread manipulating functions X-Git-Tag: debian/0.12_rc1-1~18 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=8c095acb6cdabde1eefcf56f308f986816a41a98 emacs: Clarify description of thread manipulating functions It is not clear whether the term "thread" refers to the thread in the database or to the thread currently shown in a buffer. Those two meanings may refer to different sets of messages, e.g. when a new email is added to the database while the buffer shows the state before the new email arrived. This patch replaces the term thread with the term current buffer, which is hopefully less ambiguous. --- diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 2cca2e21..7c4c0bea 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -1672,7 +1672,7 @@ TAG-CHANGES is a list of tag operations for `notmuch-tag'." (apply 'notmuch-show-tag-message tag-changes))) (defun notmuch-show-tag-all (&rest tag-changes) - "Change tags for all messages in the current thread. + "Change tags for all messages in the current buffer. TAG-CHANGES is a list of tag operations for `notmuch-tag'." (interactive (notmuch-read-tag-changes nil notmuch-show-thread-id)) @@ -1765,13 +1765,13 @@ buffer." (notmuch-show-tag-all (concat op "inbox")))) (defun notmuch-show-archive-thread-then-next () - "Archive each message in thread, then show next thread from search." + "Archive all messages in the current buffer, then show next thread from search." (interactive) (notmuch-show-archive-thread) (notmuch-show-next-thread t)) (defun notmuch-show-archive-thread-then-exit () - "Archive each message in thread, then exit back to search results." + "Archive all messages in the current buffer, then exit back to search results." (interactive) (notmuch-show-archive-thread) (notmuch-show-next-thread))