diff options
| -rw-r--r-- | doc/emacs/ChangeLog | 13 | ||||
| -rw-r--r-- | doc/emacs/search.texi | 25 |
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 @@ | |||
| 1 | 2008-12-14 vinicius Jose Latorre <viniciusjl@ig.com.br> | 1 | 2008-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 | |||
| 12 | 2008-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 |
| 71 | Begin incremental search (@code{isearch-forward}). | 71 | Begin incremental search (@code{isearch-forward}). |
| 72 | @item C-r | 72 | @item C-r |
| 73 | Begin reverse incremental search (@code{isearch-backward}). | 73 | Begin reverse incremental search (@code{isearch-backward}). |
| @@ -434,12 +434,14 @@ newlines or spaces. | |||
| 434 | If incremental search is active, toggle word search mode | 434 | If 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 |
| 436 | word search (@code{isearch-forward-word}). | 436 | word search (@code{isearch-forward-word}). |
| 437 | @item C-s @key{RET} C-w | 437 | @item M-s w @key{RET} @var{words} @key{RET} |
| 438 | Begin a non-incremental forward word search. | 438 | Search 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} |
| 440 | Begin a non-incremental backward word search. | 440 | Search 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 |
| 444 | incremental search is not already active, this runs the command | 446 | incremental 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}} |
| 454 | for a forward search or @kbd{C-r @key{RET} C-w} for a forward search. | 456 | for a forward search, or @kbd{M-s w C-r @key{RET}} for a backward search. |
| 455 | These run the commands @code{word-search-forward} and | 457 | These 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 | |||
| 472 | match for a regexp. The syntax of regular expressions is explained in | 474 | match for a regexp. The syntax of regular expressions is explained in |
| 473 | the following section. | 475 | the following section. |
| 474 | 476 | ||
| 477 | @table @kbd | ||
| 478 | @item C-M-s | ||
| 479 | Begin incremental regexp search (@code{isearch-forward-regexp}). | ||
| 480 | @item C-M-r | ||
| 481 | Begin 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 |
| 1313 | Run @code{occur} using the search string of the last incremental | 1322 | Run @code{occur} using the search string of the last incremental |
| 1314 | string search. You can also run @kbd{M-s o} which an incremental | 1323 | string search. You can also run @kbd{M-s o} when an incremental |
| 1315 | search is active; this uses the current search string. | 1324 | search is active; this uses the current search string. |
| 1316 | 1325 | ||
| 1317 | @item M-x list-matching-lines | 1326 | @item M-x list-matching-lines |