Update Emacs manual section related to character folding

* search.texi: Character folding is not on by default.
This commit is contained in:
John Wiegley 2016-03-11 11:42:06 -08:00
parent 4efea8e701
commit facb5e20ce

View file

@ -1265,14 +1265,14 @@ character sequences}.
@kindex M-s ' @r{(Incremental Search)} @kindex M-s ' @r{(Incremental Search)}
@findex isearch-toggle-character-fold @findex isearch-toggle-character-fold
Generally, search commands in Emacs by default perform character Generally, search commands in Emacs do not by default perform
folding, thus matching equivalent character sequences. You can character folding in order to match equivalent character sequences.
disable this behavior by customizing the variable You can enable this behavior by customizing the variable
@code{search-default-mode} to @code{nil}. @xref{Search @code{search-default-mode} to @code{character-fold-to-regexp}.
Customizations}. Within an incremental search, typing @kbd{M-s '} @xref{Search Customizations}. Within an incremental search, typing
(@code{isearch-toggle-character-fold}) toggles character folding, but @kbd{M-s '} (@code{isearch-toggle-character-fold}) toggles character
only for that search. (Replace commands have a different default, folding, but only for that search. (Replace commands have a different
controlled by a separate option; see @ref{Replacement and Lax default, controlled by a separate option; see @ref{Replacement and Lax
Matches}.) Matches}.)
Like with case folding, typing an explicit variant of a character, Like with case folding, typing an explicit variant of a character,
@ -1806,9 +1806,8 @@ do literal searches without character folding, but with case folding
and lax-whitespace matches as determined by @code{case-fold-search} and lax-whitespace matches as determined by @code{case-fold-search}
and @code{search-whitespace-regexp}, respectively (@pxref{Lax and @code{search-whitespace-regexp}, respectively (@pxref{Lax
Search}). If the value is @code{t}, incremental search defaults to Search}). If the value is @code{t}, incremental search defaults to
regexp searches. The default value specifies a function that causes regexp searches. The default value specifies a function that only
the default search mode to perform character folding in addition to performs case folding and lax-whitespace matching.
case folding and lax-whitespace matching.
@vindex search-highlight @vindex search-highlight
The current match of an on-going incremental search is highlighted The current match of an on-going incremental search is highlighted