aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2024-06-08 14:10:10 +0300
committerEli Zaretskii2024-06-08 14:10:10 +0300
commit53e9caa23ef0843337afcb5db4e16ef911d2e78d (patch)
treece4b81fdf490be9938fdff11f60d282f92101171
parent00360258caddc0d8cf29ba3d9971125a06f8959b (diff)
downloademacs-53e9caa23ef0843337afcb5db4e16ef911d2e78d.tar.gz
emacs-53e9caa23ef0843337afcb5db4e16ef911d2e78d.zip
; * doc/emacs/help.texi (Help, Apropos): Improve text and indexing.
-rw-r--r--doc/emacs/help.texi21
1 files changed, 14 insertions, 7 deletions
diff --git a/doc/emacs/help.texi b/doc/emacs/help.texi
index 1330717b758..e45f70af159 100644
--- a/doc/emacs/help.texi
+++ b/doc/emacs/help.texi
@@ -45,22 +45,27 @@ window displaying the @samp{*Help*} buffer will be reused instead.
45@cindex searching documentation efficiently 45@cindex searching documentation efficiently
46@cindex looking for a subject in documentation 46@cindex looking for a subject in documentation
47 If you are looking for a certain feature, but don't know what it is 47 If you are looking for a certain feature, but don't know what it is
48called or where to look, we recommend three methods. First, try an 48called or where to look, we recommend three methods. First, try
49apropos command, then try searching the manual index, then look in the 49apropos commands, then try searching the manual index, then look in the
50FAQ and the package keywords, and finally try listing external packages. 50FAQ and the package keywords, and finally try listing external packages.
51 51
52@table @kbd 52@table @kbd
53@item C-h a @var{topics} @key{RET} 53@item C-h a @var{topics} @key{RET}
54This searches for commands whose names match the argument 54This searches for commands whose names match the argument
55@var{topics}. The argument can be a keyword, a list of keywords, or a 55@var{topics}. The argument can be a keyword, a list of keywords
56regular expression (@pxref{Regexps}). @xref{Apropos}. 56separated by whitespace, or a regular expression (@pxref{Regexps}).
57@xref{Apropos}.
57 58
58@item C-h i d m emacs @key{RET} i @var{topic} @key{RET} 59@item C-h d @var{topics} @key{RET}
60Similar, but searches the @emph{text} of the documentation strings
61rather than the names of commands and functions.
62
63@item C-h r i @var{topic} @key{RET}
59This searches for @var{topic} in the indices of the Emacs Info manual, 64This searches for @var{topic} in the indices of the Emacs Info manual,
60displaying the first match found. Press @kbd{,} to see subsequent 65displaying the first match found. Press @kbd{,} to see subsequent
61matches. You can use a regular expression as @var{topic}. 66matches. You can use a regular expression as @var{topic}.
62 67
63@item C-h i d m emacs @key{RET} s @var{topic} @key{RET} 68@item C-h r s @var{topic} @key{RET}
64Similar, but searches the @emph{text} of the manual rather than the 69Similar, but searches the @emph{text} of the manual rather than the
65indices. 70indices.
66 71
@@ -357,10 +362,12 @@ are included varies depending on the command used.
357@section Apropos 362@section Apropos
358@cindex apropos 363@cindex apropos
359 364
365@cindex apropos pattern
366@cindex apropos commands, list of keywords
360 The @dfn{apropos} commands answer questions like, ``What are the 367 The @dfn{apropos} commands answer questions like, ``What are the
361commands for working with files?'' More precisely, you specify your 368commands for working with files?'' More precisely, you specify your
362query as an @dfn{apropos pattern}, which is either a word, a list of 369query as an @dfn{apropos pattern}, which is either a word, a list of
363words, or a regular expression. 370words separated by whitespace, or a regular expression.
364 371
365 Each of the following apropos commands reads an apropos pattern in 372 Each of the following apropos commands reads an apropos pattern in
366the minibuffer, searches for items that match the pattern, and 373the minibuffer, searches for items that match the pattern, and