diff options
| -rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/search.texi | 13 |
2 files changed, 12 insertions, 6 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 5457f2d1f42..e2a6b627a19 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,3 +1,8 @@ +2014-07-03 Juri Linkov <juri@jurta.org> + + * search.texi (Regexp Search): Update lax space matching that is + not active in regexp search by default now. (Bug#17901) + 2014-06-29 Glenn Morris <rgm@gnu.org> * help.texi (Misc Help): diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index 5331f7da1b9..64ecf165349 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi @@ -602,12 +602,13 @@ Incremental regexp and non-regexp searches have independent defaults. They also have separate search rings, which you can access with @kbd{M-p} and @kbd{M-n}. - Just as in ordinary incremental search, any @key{SPC} typed in -incremental regexp search matches any sequence of one or more -whitespace characters. The variable @code{search-whitespace-regexp} -specifies the regexp for the lax space matching, and @kbd{M-s @key{SPC}} -(@code{isearch-toggle-lax-whitespace}) toggles the feature. -@xref{Special Isearch}. + Unlike ordinary incremental search, incremental regexp search +do not use lax space matching by default. To toggle this feature +use @kbd{M-s @key{SPC}} (@code{isearch-toggle-lax-whitespace}). +Then any @key{SPC} typed in incremental regexp search will match +any sequence of one or more whitespace characters. The variable +@code{search-whitespace-regexp} specifies the regexp for the lax +space matching. @xref{Special Isearch}. In some cases, adding characters to the regexp in an incremental regexp search can make the cursor move back and start again. For |
