]> code.delx.au - gnu-emacs/blobdiff - man/search.texi
(align-regexp, align-highlight-rule): Use region-beginning and region-end
[gnu-emacs] / man / search.texi
index 0233f7ce8de47b2da334190c6fea4cc11069072d..3c9e439e76d36da788c1d3772712f12f46a0d0de 100644 (file)
@@ -464,9 +464,12 @@ say, incremental regexp and non-regexp searches have independent
 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
@@ -907,6 +910,12 @@ searches also, including those performed by the replace commands
 (@pxref{Replace}) and the minibuffer history matching commands
 (@pxref{Minibuffer History}).
 
+  Several related variables control case-sensitivity of searching and
+matching for specific commands or activities.  For instance,
+@code{tags-case-fold-search} controls case sensitivity for
+@code{find-tag}.  To find these variables, do @kbd{M-x
+apropos-variable @key{RET} case-fold-search @key{RET}}.
+
 @node Replace
 @section Replacement Commands
 @cindex replacement