summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2016-03-09 15:32:22 -0800
committerJohn Wiegley <johnw@newartisans.com>2016-03-09 15:32:22 -0800
commit83b2a2071460b7aa0d4460fec3d900a75ee51d9c (patch)
treeebe2d650f1425eedd8b8bfd6e699bc6ffcb598c6 /etc
parentb417c5a3b35bf31e66a170529c5aeb34cb3318d0 (diff)
downloademacs-83b2a2071460b7aa0d4460fec3d900a75ee51d9c.tar.gz
Change how /etc/NEWS presents character folding
* NEWS: Note that character folding is no longer the default.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS31
1 files changed, 15 insertions, 16 deletions
diff --git a/etc/NEWS b/etc/NEWS
index c9d0b99ba62..5d831fde3ac 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -622,31 +622,30 @@ item as before.
** Search and Replace
+++
-*** `isearch' and `query-replace' can now perform character folding in matches.
-Isearch does that by default, while `query-replace' will do that if
-the new variable `replace-character-fold' is customized to a non-nil
-value. This is analogous to case folding, but instead of disregarding
-case variants, it disregards wider classes of distinctions between
-similar characters. (Case folding is a special case of character
-folding.) This means many characters in the search string will match
-entire groups of characters instead of just themselves.
+*** `isearch' and `query-replace' can now perform character folding in
+matches. Character folding is enabled by customizing
+`search-default-mode' to the value `character-fold-to-regexp'. You
+can also toggle character folding in the middle of a search by typing
+`M-s ''.
+
+`query-replace' honors character folding this if the new variable
+`replace-character-fold' is customized to a non-nil value. This is
+analogous to case folding, but instead of disregarding case variants,
+it disregards wider classes of distinctions between similar
+characters. (Case folding is a special case of character folding.)
+This means many characters in the search string will match entire
+groups of characters instead of just themselves.
For instance, the " will match all variants of double quotes (like “
and ”), and the letter a will match all of its accented cousins, even
those composed of multiple characters, as well as many other symbols
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.
+value, nil specifies that Isearch does not fold characters when
+searching.
+++
*** New function `character-fold-to-regexp' can be used