Make Gnus stop clobbering the M-s search prefix key binding
* doc/emacs/misc.texi (Gnus Summary Buffer): Ditto. * doc/misc/gnus.texi (Searching for Articles): Document moved M-s (bug#39706). * lisp/gnus/gnus-sum.el (gnus-summary-mode-map): Move gnus-summary-search-article-forward to M-s M-s, and add M-s M-r for gnus-summary-search-article-backward.
This commit is contained in:
parent
f4e7f7695f
commit
37358dd43c
5 changed files with 18 additions and 12 deletions
|
@ -192,16 +192,14 @@ sk Miroslav Vaško
|
|||
** Check for modes which bind M-s that conflicts with a new global binding M-s
|
||||
and change key bindings where necessary. The current list of modes:
|
||||
|
||||
1. Gnus binds 'M-s' to 'gnus-summary-search-article-forward'.
|
||||
|
||||
2. Minibuffer binds 'M-s' to 'next-matching-history-element'
|
||||
1. Minibuffer binds 'M-s' to 'next-matching-history-element'
|
||||
(not useful any more since C-s can now search in the history).
|
||||
|
||||
3. PCL-CVS binds 'M-s' to 'cvs-status', and log-edit-mode binds it to
|
||||
2. PCL-CVS binds 'M-s' to 'cvs-status', and log-edit-mode binds it to
|
||||
'log-edit-comment-search-forward'. Perhaps search commands
|
||||
on the global key binding 'M-s' are useless in these modes.
|
||||
|
||||
4. Rmail binds '\es' to 'rmail-search'/'rmail-summary-search'.
|
||||
3. Rmail binds '\es' to 'rmail-search'/'rmail-summary-search'.
|
||||
|
||||
|
||||
* DOCUMENTATION
|
||||
|
|
|
@ -245,13 +245,13 @@ Do an incremental search on the selected article buffer
|
|||
(@code{gnus-summary-isearch-article}), as if you switched to the
|
||||
buffer and typed @kbd{C-s} (@pxref{Incremental Search}).
|
||||
|
||||
@kindex M-s @r{(Gnus Summary mode)}
|
||||
@kindex M-s M-s @r{(Gnus Summary mode)}
|
||||
@findex gnus-summary-search-article-forward
|
||||
@item M-s @var{regexp} @key{RET}
|
||||
Search forward for articles containing a match for @var{regexp}
|
||||
(@code{gnus-summary-search-article-forward}).
|
||||
|
||||
@kindex M-r @r{(Gnus Summary mode)}
|
||||
@kindex M-s M-r @r{(Gnus Summary mode)}
|
||||
@findex gnus-summary-search-article-backward
|
||||
@item M-r @var{regexp} @key{RET}
|
||||
Search back for articles containing a match for @var{regexp}
|
||||
|
|
|
@ -11029,14 +11029,14 @@ Go to the Gnus info node (@code{gnus-info-find-node}).
|
|||
|
||||
@table @kbd
|
||||
|
||||
@item M-s
|
||||
@kindex M-s @r{(Summary)}
|
||||
@item M-s M-s
|
||||
@kindex M-s M-s @r{(Summary)}
|
||||
@findex gnus-summary-search-article-forward
|
||||
Search through all subsequent (raw) articles for a regexp
|
||||
(@code{gnus-summary-search-article-forward}).
|
||||
|
||||
@item M-r
|
||||
@kindex M-r @r{(Summary)}
|
||||
@item M-s M-r
|
||||
@kindex M-s M-r @r{(Summary)}
|
||||
@findex gnus-summary-search-article-backward
|
||||
Search through all previous (raw) articles for a regexp
|
||||
(@code{gnus-summary-search-article-backward}).
|
||||
|
|
7
etc/NEWS
7
etc/NEWS
|
@ -262,6 +262,13 @@ invoke 'C-u C-x v s' ('vc-create-tag').
|
|||
|
||||
** Gnus
|
||||
|
||||
+++
|
||||
*** The key binding of 'gnus-summary-search-article-forward' has changed.
|
||||
This command was previously on 'M-s' and shadowed the global 'M-s'
|
||||
search prefix. The command has now been moved to 'M-s M-s'. (For
|
||||
consistency, the 'M-s M-r' key binding has been added for the
|
||||
'gnus-summary-search-article-backward' command.)
|
||||
|
||||
---
|
||||
*** The value of "all" in the 'large-newsgroup-initial' group parameter changes.
|
||||
It was previously nil, which didn't work, because nil is
|
||||
|
|
|
@ -1913,7 +1913,8 @@ increase the score of each group you read."
|
|||
"," gnus-summary-best-unread-article
|
||||
"[" gnus-summary-prev-unseen-article
|
||||
"]" gnus-summary-next-unseen-article
|
||||
"\M-s" gnus-summary-search-article-forward
|
||||
"\M-s\M-s" gnus-summary-search-article-forward
|
||||
"\M-s\M-r" gnus-summary-search-article-backward
|
||||
"\M-r" gnus-summary-search-article-backward
|
||||
"\M-S" gnus-summary-repeat-search-article-forward
|
||||
"\M-R" gnus-summary-repeat-search-article-backward
|
||||
|
|
Loading…
Reference in a new issue