From ef4c2eac6c6e1df8f40efde52d737d911cf2dcf9 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 25 Aug 2015 20:27:35 +0300 Subject: [PATCH] Minor fixes in doc/emacs/search.texi * doc/emacs/search.texi (Basic Isearch): Fix a typo. (Special Isearch): Use @w{} to generate several consecutive spaces with Texinfo 6. (Bug#21345) --- doc/emacs/search.texi | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index 3562f8a2cc4..34d4e8f54cb 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi @@ -80,10 +80,10 @@ past the end of the next occurrence of those characters in the buffer. For instance, if you type @kbd{C-s} and then @kbd{F}, that puts the cursor after the first @samp{F} that occurs in the buffer after the -starting point. Then if you then type @kbd{O}, the cursor moves to -just after the first @samp{FO}; the @samp{F} in that @samp{FO} might -not be the first @samp{F} previously found. After another @kbd{O}, -the cursor moves to just after the first @samp{FOO}. +starting point. If you then type @kbd{O}, the cursor moves to just +after the first @samp{FO}; the @samp{F} in that @samp{FO} might not be +the first @samp{F} previously found. After another @kbd{O}, the +cursor moves to just after the first @samp{FOO}. @cindex faces for highlighting search matches @cindex isearch face @@ -227,11 +227,11 @@ special effects. By default, incremental search performs @dfn{lax space matching}: each space, or sequence of spaces, matches any sequence of one or more spaces in the text. Hence, @samp{foo bar} matches @samp{foo bar}, -@samp{foo bar}, @samp{foo bar}, and so on (but not @samp{foobar}). -More precisely, Emacs matches each sequence of space characters in the -search string to a regular expression specified by the variable -@code{search-whitespace-regexp}. For example, to make spaces match -sequences of newlines as well as spaces, set it to +@samp{foo@w{ }bar}, @samp{foo@w{ }bar}, and so on (but not +@samp{foobar}). More precisely, Emacs matches each sequence of space +characters in the search string to a regular expression specified by +the variable @code{search-whitespace-regexp}. For example, to make +spaces match sequences of newlines as well as spaces, set it to @samp{"[[:space:]\n]+"}. To toggle lax space matching, type @kbd{M-s @key{SPC}} -- 2.39.5