diff options
| author | John Wiegley | 2016-03-11 11:42:06 -0800 |
|---|---|---|
| committer | John Wiegley | 2016-03-11 11:42:06 -0800 |
| commit | facb5e20ce186e47506860bde982e35020fedce5 (patch) | |
| tree | 5d9e98b46157cc75e9cbecb713765e8cf639a66b /doc | |
| parent | 4efea8e70147f884265f20d0b36b930c095a811c (diff) | |
| download | emacs-facb5e20ce186e47506860bde982e35020fedce5.tar.gz emacs-facb5e20ce186e47506860bde982e35020fedce5.zip | |
Update Emacs manual section related to character folding
* search.texi: Character folding is not on by default.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/search.texi | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index 10c1f73b331..459e8446937 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi | |||
| @@ -1265,14 +1265,14 @@ character sequences}. | |||
| 1265 | 1265 | ||
| 1266 | @kindex M-s ' @r{(Incremental Search)} | 1266 | @kindex M-s ' @r{(Incremental Search)} |
| 1267 | @findex isearch-toggle-character-fold | 1267 | @findex isearch-toggle-character-fold |
| 1268 | Generally, search commands in Emacs by default perform character | 1268 | Generally, search commands in Emacs do not by default perform |
| 1269 | folding, thus matching equivalent character sequences. You can | 1269 | character folding in order to match equivalent character sequences. |
| 1270 | disable this behavior by customizing the variable | 1270 | You can enable this behavior by customizing the variable |
| 1271 | @code{search-default-mode} to @code{nil}. @xref{Search | 1271 | @code{search-default-mode} to @code{character-fold-to-regexp}. |
| 1272 | Customizations}. Within an incremental search, typing @kbd{M-s '} | 1272 | @xref{Search Customizations}. Within an incremental search, typing |
| 1273 | (@code{isearch-toggle-character-fold}) toggles character folding, but | 1273 | @kbd{M-s '} (@code{isearch-toggle-character-fold}) toggles character |
| 1274 | only for that search. (Replace commands have a different default, | 1274 | folding, but only for that search. (Replace commands have a different |
| 1275 | controlled by a separate option; see @ref{Replacement and Lax | 1275 | default, controlled by a separate option; see @ref{Replacement and Lax |
| 1276 | Matches}.) | 1276 | Matches}.) |
| 1277 | 1277 | ||
| 1278 | Like with case folding, typing an explicit variant of a character, | 1278 | 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 | |||
| 1806 | and lax-whitespace matches as determined by @code{case-fold-search} | 1806 | and lax-whitespace matches as determined by @code{case-fold-search} |
| 1807 | and @code{search-whitespace-regexp}, respectively (@pxref{Lax | 1807 | and @code{search-whitespace-regexp}, respectively (@pxref{Lax |
| 1808 | Search}). If the value is @code{t}, incremental search defaults to | 1808 | Search}). If the value is @code{t}, incremental search defaults to |
| 1809 | regexp searches. The default value specifies a function that causes | 1809 | regexp searches. The default value specifies a function that only |
| 1810 | the default search mode to perform character folding in addition to | 1810 | performs case folding and lax-whitespace matching. |
| 1811 | case folding and lax-whitespace matching. | ||
| 1812 | 1811 | ||
| 1813 | @vindex search-highlight | 1812 | @vindex search-highlight |
| 1814 | The current match of an on-going incremental search is highlighted | 1813 | The current match of an on-going incremental search is highlighted |