; Improve character-folding entries in NEWS

* etc/NEWS: Expand description of character-folding support.
Suggested by Mark Oteiza <mvoteiza@udel.edu>.
This commit is contained in:
Eli Zaretskii 2016-02-18 19:42:17 +02:00
parent 3722a694fa
commit fa8fd65ef4

View file

@ -609,10 +609,6 @@ item as before.
** Search and Replace ** Search and Replace
+++
*** New user option `search-default-mode'
specifies the default mode for I-search.
+++ +++
*** `isearch' and `query-replace' can now perform character folding in matches. *** `isearch' and `query-replace' can now perform character folding in matches.
Isearch does that by default, while `query-replace' will do that if Isearch does that by default, while `query-replace' will do that if
@ -628,6 +624,18 @@ and ”), and the letter a will match all of its accented cousins, even
those composed of multiple characters, as well as many other symbols those composed of multiple characters, as well as many other symbols
like ℀, ℁, ⒜, and ⓐ. like ℀, ℁, ⒜, and ⓐ.
Character folding is enabled by customizing `search-default-mode' to
the value `character-fold-to-regexp'. If you want to turn character
folding off, customize the value of `search-default-mode' to the `nil'
value. You can also toggle character folding in the middle of a
search by typing `M-s ''.
+++
*** New user option `search-default-mode'.
This option specifies the default mode for Isearch. The default
value, `character-fold-to-regexp' specifies that Isearch should fold
characters when searching.
+++ +++
*** New function `character-fold-to-regexp' can be used *** New function `character-fold-to-regexp' can be used
by searching commands to produce a regexp matching anything that by searching commands to produce a regexp matching anything that