aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorEli Zaretskii2016-03-10 12:17:02 +0200
committerEli Zaretskii2016-03-10 12:17:02 +0200
commita7d6f39d8a291ba78b7605f0e841e2751dfe5e11 (patch)
treeda65728cec8706ce3a6c8b4a436077b286017be6 /etc
parent83b2a2071460b7aa0d4460fec3d900a75ee51d9c (diff)
downloademacs-a7d6f39d8a291ba78b7605f0e841e2751dfe5e11.tar.gz
emacs-a7d6f39d8a291ba78b7605f0e841e2751dfe5e11.zip
; Fix last change in NEWS
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS33
1 files changed, 17 insertions, 16 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 5d831fde3ac..9addc1acf45 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -622,30 +622,31 @@ item as before.
622** Search and Replace 622** Search and Replace
623 623
624+++ 624+++
625*** `isearch' and `query-replace' can now perform character folding in 625*** `isearch' and `query-replace' can now perform character folding in matches.
626matches. Character folding is enabled by customizing 626This is analogous to case folding, but instead of disregarding case
627`search-default-mode' to the value `character-fold-to-regexp'. You 627variants, it disregards wider classes of distinctions between similar
628can also toggle character folding in the middle of a search by typing
629`M-s ''.
630
631`query-replace' honors character folding this if the new variable
632`replace-character-fold' is customized to a non-nil value. This is
633analogous to case folding, but instead of disregarding case variants,
634it disregards wider classes of distinctions between similar
635characters. (Case folding is a special case of character folding.) 628characters. (Case folding is a special case of character folding.)
636This means many characters in the search string will match entire 629This means many characters in the search string will match entire
637groups of characters instead of just themselves. 630groups of characters instead of just themselves.
638 631
639For instance, the " will match all variants of double quotes (like “ 632For instance, the ASCII double quote character " will match all
640and ”), and the letter a will match all of its accented cousins, even 633variants of double quotes (like “ and ”), and the letter a will match
641those composed of multiple characters, as well as many other symbols 634all of its accented cousins, even those composed of multiple
642like ℀, ℁, ⒜, and ⓐ. 635characters, as well as many other symbols like ℀, ℁, ⒜, and ⓐ.
636
637Character folding is enabled by customizing `search-default-mode' to
638the value `character-fold-to-regexp'. You can also toggle character
639folding in the middle of a search by typing `M-s ''.
640
641`query-replace' honors character folding if the new variable
642`replace-character-fold' is customized to a non-nil value.
643 643
644+++ 644+++
645*** New user option `search-default-mode'. 645*** New user option `search-default-mode'.
646This option specifies the default mode for Isearch. The default 646This option specifies the default mode for Isearch. The default
647value, nil specifies that Isearch does not fold characters when 647value, nil specifies that Isearch does literal searches (however,
648searching. 648`case-fold-search' and `isearch-lax-whitespace' may still be applied,
649as in previous Emacs versions).
649 650
650+++ 651+++
651*** New function `character-fold-to-regexp' can be used 652*** New function `character-fold-to-regexp' can be used