[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master ef4c2ea: Minor fixes in doc/emacs/search.texi
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] master ef4c2ea: Minor fixes in doc/emacs/search.texi |
Date: |
Tue, 25 Aug 2015 17:28:46 +0000 |
branch: master
commit ef4c2eac6c6e1df8f40efde52d737d911cf2dcf9
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
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 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi
index 3562f8a..34d4e8f 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},
address@hidden 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
address@hidden For example, to make spaces match
-sequences of newlines as well as spaces, set it to
address@hidden@w{ }bar}, @address@hidden }bar}, and so on (but not
address@hidden). 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}}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master ef4c2ea: Minor fixes in doc/emacs/search.texi,
Eli Zaretskii <=