aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2008-12-18 01:19:22 +0000
committerJuri Linkov2008-12-18 01:19:22 +0000
commit97b3a00b2000ec04ee2743fe3fa53a8ae7a9c144 (patch)
treec0b9dc53c6841f3d0a44b5999192524ef175a2d6
parentfd4c2a393b0531625740930608ba5de6f0ad729d (diff)
downloademacs-97b3a00b2000ec04ee2743fe3fa53a8ae7a9c144.tar.gz
emacs-97b3a00b2000ec04ee2743fe3fa53a8ae7a9c144.zip
(Word Search): Replace `C-s RET C-w' with `M-s w RET'
as a key binding to start a forward nonincremental word search. Replace `C-r RET C-w' with `M-s w C-r RET' as a key binding to start a backward nonincremental word search. Add index for `M-s w' `isearch-forward-word'. (Regexp Search): Add a short summary of regexp key commands like in the node "Basic Isearch". (Other Repeating Search): Fix typo.
-rw-r--r--doc/emacs/ChangeLog13
-rw-r--r--doc/emacs/search.texi25
2 files changed, 29 insertions, 9 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 57ea99cef21..18e866d1b0f 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,4 +1,15 @@
12008-12-14 vinicius Jose Latorre <viniciusjl@ig.com.br> 12008-12-18 Juri Linkov <juri@jurta.org>
2
3 * search.texi (Word Search): Replace `C-s RET C-w' with `M-s w RET'
4 as a key binding to start a forward nonincremental word search.
5 Replace `C-r RET C-w' with `M-s w C-r RET' as a key binding to start
6 a backward nonincremental word search. Add index for `M-s w'
7 `isearch-forward-word'.
8 (Regexp Search): Add a short summary of regexp key commands like
9 in the node "Basic Isearch".
10 (Other Repeating Search): Fix typo.
11
122008-12-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2 13
3 * misc.texi (PostScript Variables): Fix doc. 14 * misc.texi (PostScript Variables): Fix doc.
4 15
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi
index b9642ab9b4f..6ca24205085 100644
--- a/doc/emacs/search.texi
+++ b/doc/emacs/search.texi
@@ -67,7 +67,7 @@ Incremental search backward (@code{isearch-backward}).
67@subsection Basics of Incremental Search 67@subsection Basics of Incremental Search
68 68
69@table @kbd 69@table @kbd
70@item C-s 70@item C-s
71Begin incremental search (@code{isearch-forward}). 71Begin incremental search (@code{isearch-forward}).
72@item C-r 72@item C-r
73Begin reverse incremental search (@code{isearch-backward}). 73Begin reverse incremental search (@code{isearch-backward}).
@@ -434,12 +434,14 @@ newlines or spaces.
434If incremental search is active, toggle word search mode 434If incremental search is active, toggle word search mode
435(@code{isearch-toggle-word}); otherwise, begin an incremental forward 435(@code{isearch-toggle-word}); otherwise, begin an incremental forward
436word search (@code{isearch-forward-word}). 436word search (@code{isearch-forward-word}).
437@item C-s @key{RET} C-w 437@item M-s w @key{RET} @var{words} @key{RET}
438Begin a non-incremental forward word search. 438Search for @var{words}, using a forward nonincremental word search.
439@item C-r @key{RET} C-w 439@item M-s w C-r @key{RET} @var{words} @key{RET}
440Begin a non-incremental backward word search. 440Search backward for @var{words}, using a nonincremental word search.
441@end table 441@end table
442 442
443@kindex M-s w
444@findex isearch-forward-word
443 To begin a forward incremental word search, type @kbd{M-s w}. If 445 To begin a forward incremental word search, type @kbd{M-s w}. If
444incremental search is not already active, this runs the command 446incremental search is not already active, this runs the command
445@code{isearch-forward-word}. If incremental search is already active 447@code{isearch-forward-word}. If incremental search is already active
@@ -450,8 +452,8 @@ typing @kbd{M-s w} again.
450 452
451@findex word-search-forward 453@findex word-search-forward
452@findex word-search-backward 454@findex word-search-backward
453 To begin a nonincremental word search, type @kbd{C-s @key{RET} C-w} 455 To begin a nonincremental word search, type @kbd{M-s w @key{RET}}
454for a forward search or @kbd{C-r @key{RET} C-w} for a forward search. 456for a forward search, or @kbd{M-s w C-r @key{RET}} for a backward search.
455These run the commands @code{word-search-forward} and 457These run the commands @code{word-search-forward} and
456@code{word-search-backward} respectively. 458@code{word-search-backward} respectively.
457 459
@@ -472,6 +474,13 @@ provides both incremental and nonincremental ways to search for a
472match for a regexp. The syntax of regular expressions is explained in 474match for a regexp. The syntax of regular expressions is explained in
473the following section. 475the following section.
474 476
477@table @kbd
478@item C-M-s
479Begin incremental regexp search (@code{isearch-forward-regexp}).
480@item C-M-r
481Begin reverse incremental regexp search (@code{isearch-backward-regexp}).
482@end table
483
475@kindex C-M-s 484@kindex C-M-s
476@findex isearch-forward-regexp 485@findex isearch-forward-regexp
477@kindex C-M-r 486@kindex C-M-r
@@ -1311,7 +1320,7 @@ the occurrences found, one by one. @ref{Compilation Mode}.
1311@kindex M-s o 1320@kindex M-s o
1312@item M-s o 1321@item M-s o
1313Run @code{occur} using the search string of the last incremental 1322Run @code{occur} using the search string of the last incremental
1314string search. You can also run @kbd{M-s o} which an incremental 1323string search. You can also run @kbd{M-s o} when an incremental
1315search is active; this uses the current search string. 1324search is active; this uses the current search string.
1316 1325
1317@item M-x list-matching-lines 1326@item M-x list-matching-lines