]> code.delx.au - gnu-emacs/commitdiff
(Word Search): Replace `C-s RET C-w' with `M-s w RET'
authorJuri Linkov <juri@jurta.org>
Thu, 18 Dec 2008 01:19:22 +0000 (01:19 +0000)
committerJuri Linkov <juri@jurta.org>
Thu, 18 Dec 2008 01:19:22 +0000 (01:19 +0000)
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.

doc/emacs/ChangeLog
doc/emacs/search.texi

index 57ea99cef21244eb4ceeaa6889b2f96ff5a8cc58..18e866d1b0f3b61dd061ba4c7cb830c7a78b3e2a 100644 (file)
@@ -1,4 +1,15 @@
-2008-12-14  vinicius Jose Latorre  <viniciusjl@ig.com.br>
+2008-12-18  Juri Linkov  <juri@jurta.org>
+
+       * search.texi (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.
+
+2008-12-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
 
        * misc.texi (PostScript Variables): Fix doc.
 
index b9642ab9b4fc4dbf25e6b7e327a19b48d4920817..6ca24205085f708955d7dc8dc1d6703da8bb3155 100644 (file)
@@ -67,7 +67,7 @@ Incremental search backward (@code{isearch-backward}).
 @subsection Basics of Incremental Search
 
 @table @kbd
-@item C-s 
+@item C-s
 Begin incremental search (@code{isearch-forward}).
 @item C-r
 Begin reverse incremental search (@code{isearch-backward}).
@@ -434,12 +434,14 @@ newlines or spaces.
 If incremental search is active, toggle word search mode
 (@code{isearch-toggle-word}); otherwise, begin an incremental forward
 word search (@code{isearch-forward-word}).
-@item C-s @key{RET} C-w
-Begin a non-incremental forward word search.
-@item C-r @key{RET} C-w
-Begin a non-incremental backward word search.
+@item M-s w @key{RET} @var{words} @key{RET}
+Search for @var{words}, using a forward nonincremental word search.
+@item M-s w C-r @key{RET} @var{words} @key{RET}
+Search backward for @var{words}, using a nonincremental word search.
 @end table
 
+@kindex M-s w
+@findex isearch-forward-word
   To begin a forward incremental word search, type @kbd{M-s w}.  If
 incremental search is not already active, this runs the command
 @code{isearch-forward-word}.  If incremental search is already active
@@ -450,8 +452,8 @@ typing @kbd{M-s w} again.
 
 @findex word-search-forward
 @findex word-search-backward
-  To begin a nonincremental word search, type @kbd{C-s @key{RET} C-w}
-for a forward search or @kbd{C-r @key{RET} C-w} for a forward search.
+  To begin a nonincremental word search, type @kbd{M-s w @key{RET}}
+for a forward search, or @kbd{M-s w C-r @key{RET}} for a backward search.
 These run the commands @code{word-search-forward} and
 @code{word-search-backward} respectively.
 
@@ -472,6 +474,13 @@ provides both incremental and nonincremental ways to search for a
 match for a regexp.  The syntax of regular expressions is explained in
 the following section.
 
+@table @kbd
+@item C-M-s
+Begin incremental regexp search (@code{isearch-forward-regexp}).
+@item C-M-r
+Begin reverse incremental regexp search (@code{isearch-backward-regexp}).
+@end table
+
 @kindex C-M-s
 @findex isearch-forward-regexp
 @kindex C-M-r
@@ -1311,7 +1320,7 @@ the occurrences found, one by one.  @ref{Compilation Mode}.
 @kindex M-s o
 @item M-s o
 Run @code{occur} using the search string of the last incremental
-string search.  You can also run @kbd{M-s o} which an incremental
+string search.  You can also run @kbd{M-s o} when an incremental
 search is active; this uses the current search string.
 
 @item M-x list-matching-lines