notmuch.el: Make documentation of notmuch-search-mode dynamic.

Previously, we had some hard-coded keybindings mentioned in the
introductory paragraphs of the documentation for notmuch-search-mode.
Now, we take advantage of the substitute-command-keys functionality to
produce the same text by default, but to dynamically generate the
correct text in the face of the user customizing the keybindings.
This commit is contained in:
Carl Worth 2009-11-30 22:47:10 -08:00
parent 86992aeb85
commit e9443aeafc

View file

@ -1049,15 +1049,15 @@ number of matched messages and total messages in the thread,
participants in the thread, a representative subject line, and participants in the thread, a representative subject line, and
any tags). any tags).
By default, pressing RET on any line displays that thread. The Pressing \\[notmuch-search-show-thread] on any line displays that thread. The '\\[notmuch-search-add-tag]' and '\\[notmuch-search-remove-tag]'
'+' and '-' keys can be used to add or remove tags from a keys can be used to add or remove tags from a thread. The '\\[notmuch-search-archive-thread]' key
thread. The 'a' key is a convenience key for archiving a is a convenience for archiving a thread (removing the \"inbox\"
thread (removing the \"inbox\" tag). The '*' key can be used to tag). The '\\[notmuch-search-operate-all]' key can be used to add or remove a tag from all
add or remove a tag from all threads in the current buffer. threads in the current buffer.
Other useful commands are 'f' for filtering the current search Other useful commands are '\\[notmuch-search-filter]' for filtering the current search
based on an additional query string, 't' for filtering to include based on an additional query string, '\\[notmuch-search-filter-by-tag]' for filtering to include
only messages with a given tag, and 's' to execute a new, global only messages with a given tag, and '\\[notmuch-search]' to execute a new, global
search. search.
Complete list of currently available key bindings: Complete list of currently available key bindings: