Mercurial > emacs
changeset 65693:8430a6e62d6c
(Regexp Search): Doc search-whitespace-regexp.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 25 Sep 2005 23:57:10 +0000 |
parents | b4317398b284 |
children | c2508361021b |
files | man/search.texi |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/man/search.texi Sun Sep 25 23:49:15 2005 +0000 +++ b/man/search.texi Sun Sep 25 23:57:10 2005 +0000 @@ -464,9 +464,12 @@ defaults. They also have separate search rings that you can access with @kbd{M-p} and @kbd{M-n}. +@vindex search-whitespace-regexp If you type @key{SPC} in incremental regexp search, it matches any -sequence of whitespace characters, including newlines. If you want -to match just a space, type @kbd{C-q @key{SPC}}. +sequence of whitespace characters, including newlines. If you want to +match just a space, type @kbd{C-q @key{SPC}}. You can control what a +bare spece matches by setting the variable +@code{search-whitespace-regexp} to the desired regexp. Note that adding characters to the regexp in an incremental regexp search can make the cursor move back and start again. For example, if