aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2014-07-04 02:52:42 +0300
committerJuri Linkov2014-07-04 02:52:42 +0300
commitf35b80810d584b30397c5ce38acf2305e50c23db (patch)
treecf35764cd78b80b83f5a0f2fa236487b08f171a0
parent8abe20426b1e8e9911de1e355d82c66b8b1063aa (diff)
downloademacs-f35b80810d584b30397c5ce38acf2305e50c23db.tar.gz
emacs-f35b80810d584b30397c5ce38acf2305e50c23db.zip
* doc/emacs/search.texi (Regexp Search): Update lax space matching that is
not active in regexp search by default now. Fixes: debbugs:17901
-rw-r--r--doc/emacs/ChangeLog5
-rw-r--r--doc/emacs/search.texi13
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 @@
12014-07-03 Juri Linkov <juri@jurta.org>
2
3 * search.texi (Regexp Search): Update lax space matching that is
4 not active in regexp search by default now. (Bug#17901)
5
12014-06-29 Glenn Morris <rgm@gnu.org> 62014-06-29 Glenn Morris <rgm@gnu.org>
2 7
3 * help.texi (Misc Help): 8 * 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.
602They also have separate search rings, which you can access with 602They also have separate search rings, which you can access with
603@kbd{M-p} and @kbd{M-n}. 603@kbd{M-p} and @kbd{M-n}.
604 604
605 Just as in ordinary incremental search, any @key{SPC} typed in 605 Unlike ordinary incremental search, incremental regexp search
606incremental regexp search matches any sequence of one or more 606do not use lax space matching by default. To toggle this feature
607whitespace characters. The variable @code{search-whitespace-regexp} 607use @kbd{M-s @key{SPC}} (@code{isearch-toggle-lax-whitespace}).
608specifies the regexp for the lax space matching, and @kbd{M-s @key{SPC}} 608Then any @key{SPC} typed in incremental regexp search will match
609(@code{isearch-toggle-lax-whitespace}) toggles the feature. 609any sequence of one or more whitespace characters. The variable
610@xref{Special Isearch}. 610@code{search-whitespace-regexp} specifies the regexp for the lax
611space matching. @xref{Special Isearch}.
611 612
612 In some cases, adding characters to the regexp in an incremental 613 In some cases, adding characters to the regexp in an incremental
613regexp search can make the cursor move back and start again. For 614regexp search can make the cursor move back and start again. For