<p><br>
On Feb 19, 2012 12:44 AM, "Michal Sojka" <<a href="mailto:sojkam1@fel.cvut.cz">sojkam1@fel.cvut.cz</a>> wrote:<br>
><br>
> After recent rework of a/A/x/X key bindings, the important paragraph in<br>
> documentation of `notmuch-show-archive-thread' stayed hidden from users,<br>
> because no key is bound to this function.<br>
><br>
> This patch copies the important paragraph to the documentation of<br>
> functions currently bound to keys.</p>
<p>Hi Michal, this was discussed earlier, and Dmitry convinced me that the code does exactly what the user expects it to do (archives only the messages in the buffer) so it would be unnecessary and confusing to have this documentation. It could be added as a comment for developers I guess.</p>
<p>BR,<br>
Jani.<br>
</p>
<p>> ---<br>
> emacs/notmuch-show.el | 14 ++++++++++++--<br>
> 1 files changed, 12 insertions(+), 2 deletions(-)<br>
><br>
> diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el<br>
> index aa9ccee..1916146 100644<br>
> --- a/emacs/notmuch-show.el<br>
> +++ b/emacs/notmuch-show.el<br>
> @@ -1721,13 +1721,23 @@ buffer."<br>
> (notmuch-show-tag-all (concat op "inbox"))))<br>
><br>
> (defun notmuch-show-archive-thread-then-next ()<br>
> - "Archive each message in thread, then show next thread from search."<br>
> + "Archive each message in thread, then show next thread from search.<br>
> +<br>
> +Note: This command is safe from any race condition of new messages<br>
> +being delivered to the same thread. It does not archive the<br>
> +entire thread, but only the messages shown in the current<br>
> +buffer."<br>
> (interactive)<br>
> (notmuch-show-archive-thread)<br>
> (notmuch-show-next-thread t))<br>
><br>
> (defun notmuch-show-archive-thread-then-exit ()<br>
> - "Archive each message in thread, then exit back to search results."<br>
> + "Archive each message in thread, then exit back to search results.<br>
> +<br>
> +Note: This command is safe from any race condition of new messages<br>
> +being delivered to the same thread. It does not archive the<br>
> +entire thread, but only the messages shown in the current<br>
> +buffer."<br>
> (interactive)<br>
> (notmuch-show-archive-thread)<br>
> (notmuch-show-next-thread))<br>
> --<br>
> 1.7.7.3<br>
><br>
> _______________________________________________<br>
> notmuch mailing list<br>
> <a href="mailto:notmuch@notmuchmail.org">notmuch@notmuchmail.org</a><br>
> <a href="http://notmuchmail.org/mailman/listinfo/notmuch">http://notmuchmail.org/mailman/listinfo/notmuch</a><br>
</p>