aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJuri Linkov2017-02-10 00:35:22 +0200
committerJuri Linkov2017-02-10 00:35:22 +0200
commitd825d1f28decd671feb71c7657d41d0502ab5cf5 (patch)
tree7c1d3a817ae31d132074b617dd31eec671f5a97e /doc
parent35b9b7e751fdd8092048cb688e2f043f70912670 (diff)
downloademacs-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.texi8
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
609so that the matching can proceed incrementally as you type. This 609so that the matching can proceed incrementally as you type. This
610additional laxity does not apply to the lazy highlight 610additional 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.
612While you are typing the search string, @samp{Pending} appears in the
613search 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
614toggling lax whitespace matching (@pxref{Lax Search, lax space 616toggling lax whitespace matching (@pxref{Lax Search, lax space
@@ -661,8 +663,10 @@ search is not already active, this runs the command
661active, @kbd{M-s _} switches to a symbol search, preserving the 663active, @kbd{M-s _} switches to a symbol search, preserving the
662direction of the search and the current search string; you can disable 664direction of the search and the current search string; you can disable
663symbol search by typing @kbd{M-s _} again. In incremental symbol 665symbol search by typing @kbd{M-s _} again. In incremental symbol
664search, only the beginning of the search string is required to match 666search, while you are typing the search string, only the beginning
665the beginning of a symbol. 667of the search string is required to match the beginning of a symbol,
668and @samp{Pending} appears in the search prompt until you use a search
669repeating 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}}
668for a forward search, or @kbd{M-s _ C-r @key{RET}} or a backward 672for a forward search, or @kbd{M-s _ C-r @key{RET}} or a backward