From e9443aeafc0bdeb0d11fa44ee2ad523fb019281e Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 30 Nov 2009 22:47:10 -0800 Subject: [PATCH] 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. --- notmuch.el | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/notmuch.el b/notmuch.el index 72224742..a6b71b77 100644 --- a/notmuch.el +++ b/notmuch.el @@ -1049,15 +1049,15 @@ number of matched messages and total messages in the thread, participants in the thread, a representative subject line, and any tags). -By default, pressing RET on any line displays that thread. The -'+' and '-' keys can be used to add or remove tags from a -thread. The 'a' key is a convenience key for archiving a -thread (removing the \"inbox\" tag). The '*' key can be used to -add or remove a tag from all threads in the current buffer. +Pressing \\[notmuch-search-show-thread] on any line displays that thread. The '\\[notmuch-search-add-tag]' and '\\[notmuch-search-remove-tag]' +keys can be used to add or remove tags from a thread. The '\\[notmuch-search-archive-thread]' key +is a convenience for archiving a thread (removing the \"inbox\" +tag). The '\\[notmuch-search-operate-all]' key can be used to add or remove a tag from all +threads in the current buffer. -Other useful commands are 'f' for filtering the current search -based on an additional query string, 't' for filtering to include -only messages with a given tag, and 's' to execute a new, global +Other useful commands are '\\[notmuch-search-filter]' for filtering the current search +based on an additional query string, '\\[notmuch-search-filter-by-tag]' for filtering to include +only messages with a given tag, and '\\[notmuch-search]' to execute a new, global search. Complete list of currently available key bindings: