From 0a1840b3940db108277de1c113a5c29dd74d7d33 Mon Sep 17 00:00:00 2001 From: Michael J Gruber Date: Thu, 8 Mar 2018 09:20:20 +0100 Subject: provide retagprompt command in thread mode retagprompt in search mode allows to retag a whole thread. The new thread mode version allows to do the same for each selected message. The common command infers its mode from the UI object that it is passed when applied. Therefore, the docstring (and everything else) is mode-agnostic. When this command command is registered for the wrong mode and applied it raises a KeyError (on purpose). --- docs/source/usage/modes/search.rst | 2 +- docs/source/usage/modes/thread.rst | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/source/usage/modes/search.rst b/docs/source/usage/modes/search.rst index c95d1a01..bdfeb48b 100644 --- a/docs/source/usage/modes/search.rst +++ b/docs/source/usage/modes/search.rst @@ -51,7 +51,7 @@ The following commands are available in search mode .. describe:: retagprompt - prompt to retag selected threads' tags + prompt to retag selected thread's or message's tags .. _cmd.search.select: diff --git a/docs/source/usage/modes/thread.rst b/docs/source/usage/modes/thread.rst index 447e543a..1520e3cc 100644 --- a/docs/source/usage/modes/thread.rst +++ b/docs/source/usage/modes/thread.rst @@ -125,6 +125,13 @@ The following commands are available in thread mode :---all: tag all messages in thread. :---no-flush: postpone a writeout to the index (Defaults to: 'True'). +.. _cmd.thread.retagprompt: + +.. describe:: retagprompt + + prompt to retag selected thread's or message's tags + + .. _cmd.thread.save: .. describe:: save -- cgit v1.2.3