diff options
| author | Juri Linkov | 2017-02-10 00:35:22 +0200 |
|---|---|---|
| committer | Juri Linkov | 2017-02-10 00:35:22 +0200 |
| commit | d825d1f28decd671feb71c7657d41d0502ab5cf5 (patch) | |
| tree | 7c1d3a817ae31d132074b617dd31eec671f5a97e /doc | |
| parent | 35b9b7e751fdd8092048cb688e2f043f70912670 (diff) | |
| download | emacs-d825d1f28decd671feb71c7657d41d0502ab5cf5.tar.gz emacs-d825d1f28decd671feb71c7657d41d0502ab5cf5.zip | |
* lisp/isearch.el (isearch-search-fun-default): Set isearch-adjusted
to t to display "Pending" in the search prompt for lax
word/symbol search (bug#25562). Don't use lax for lazy-highlighting
when 'bound' is non-nil.
(word-search-regexp, isearch-symbol-regexp): Don't depend on lax
at the beginning of regexp (bug#22589).
* lisp/info.el (Info-isearch-search):
Use isearch--lax-regexp-function-p.
* doc/emacs/search.texi (Word Search, Symbol Search):
Mention "Pending" prompt for lax word/symbol search.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/search.texi | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index fa69ba48f6a..77baae2a8f7 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi | |||
| @@ -609,6 +609,8 @@ string, its first and last words need not match whole words. This is | |||
| 609 | so that the matching can proceed incrementally as you type. This | 609 | so that the matching can proceed incrementally as you type. This |
| 610 | additional laxity does not apply to the lazy highlight | 610 | additional laxity does not apply to the lazy highlight |
| 611 | (@pxref{Incremental Search}), which always matches whole words. | 611 | (@pxref{Incremental Search}), which always matches whole words. |
| 612 | While you are typing the search string, @samp{Pending} appears in the | ||
| 613 | search prompt until you use a search repeating key like @kbd{C-s}. | ||
| 612 | 614 | ||
| 613 | The word search commands don't perform character folding, and | 615 | The word search commands don't perform character folding, and |
| 614 | toggling lax whitespace matching (@pxref{Lax Search, lax space | 616 | toggling lax whitespace matching (@pxref{Lax Search, lax space |
| @@ -661,8 +663,10 @@ search is not already active, this runs the command | |||
| 661 | active, @kbd{M-s _} switches to a symbol search, preserving the | 663 | active, @kbd{M-s _} switches to a symbol search, preserving the |
| 662 | direction of the search and the current search string; you can disable | 664 | direction of the search and the current search string; you can disable |
| 663 | symbol search by typing @kbd{M-s _} again. In incremental symbol | 665 | symbol search by typing @kbd{M-s _} again. In incremental symbol |
| 664 | search, only the beginning of the search string is required to match | 666 | search, while you are typing the search string, only the beginning |
| 665 | the beginning of a symbol. | 667 | of the search string is required to match the beginning of a symbol, |
| 668 | and @samp{Pending} appears in the search prompt until you use a search | ||
| 669 | repeating key like @kbd{C-s}. | ||
| 666 | 670 | ||
| 667 | To begin a nonincremental symbol search, type @kbd{M-s _ @key{RET}} | 671 | To begin a nonincremental symbol search, type @kbd{M-s _ @key{RET}} |
| 668 | for a forward search, or @kbd{M-s _ C-r @key{RET}} or a backward | 672 | for a forward search, or @kbd{M-s _ C-r @key{RET}} or a backward |