]> code.delx.au - gnu-emacs/commitdiff
Minor fixes in doc/emacs/search.texi
authorEli Zaretskii <eliz@gnu.org>
Tue, 25 Aug 2015 17:27:35 +0000 (20:27 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 25 Aug 2015 17:27:35 +0000 (20:27 +0300)
* 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

index 3562f8a2cc41870d31799ce8e18bdb197858fd98..34d4e8f54cbb50431902eee5351d47d43ba734be 100644 (file)
@@ -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}}