[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 194ded5: Fix multiple spaces in Emacs manual
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-26 194ded5: Fix multiple spaces in Emacs manual |
Date: |
Sun, 28 Jan 2018 12:29:36 -0500 (EST) |
branch: emacs-26
commit 194ded59904b77e7073e697ebf8eac08e05a7ed3
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Fix multiple spaces in Emacs manual
* doc/emacs/search.texi (Lax Search): Fix multiple consecutive
spaces in printed manual.
---
doc/emacs/search.texi | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi
index bb01f10..daaded1 100644
--- a/doc/emacs/search.texi
+++ b/doc/emacs/search.texi
@@ -1187,15 +1187,16 @@ tailor them to your needs.
By default, search commands perform @dfn{lax space matching}:
each space, or sequence of spaces, matches any sequence of one or more
whitespace characters in the text. (Incremental regexp search has a
-separate default; see @ref{Regexp Search}.) Hence, @samp{foo bar}
-matches @samp{foo bar}, @address@hidden }bar}, @address@hidden }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]+"}. The default value of this
-variable depends on the buffer's major mode; most major modes classify
-spaces, tabs, and formfeed characters as whitespace.
+separate default; see @ref{Regexp Search}.) Hence, @address@hidden bar}}
+matches @address@hidden bar}}, @address@hidden@ @ bar}},
address@hidden@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"[[:space:]\n]+"}. The default value of this variable depends
+on the buffer's major mode; most major modes classify spaces, tabs,
+and formfeed characters as whitespace.
If you want whitespace characters to match exactly, you can turn lax
space matching off by typing @kbd{M-s @key{SPC}}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 194ded5: Fix multiple spaces in Emacs manual,
Eli Zaretskii <=