diff options
| author | Eli Zaretskii | 2016-02-18 19:42:17 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2016-02-18 19:42:17 +0200 |
| commit | fa8fd65ef40eacb808583a968c3621c228bf021c (patch) | |
| tree | 98a8d4e3c85f22928bb8b679304012b4fab3e6c3 | |
| parent | 3722a694fa094f88f7dfe54ccce7ea7cbaab214a (diff) | |
| download | emacs-fa8fd65ef40eacb808583a968c3621c228bf021c.tar.gz emacs-fa8fd65ef40eacb808583a968c3621c228bf021c.zip | |
; Improve character-folding entries in NEWS
* etc/NEWS: Expand description of character-folding support.
Suggested by Mark Oteiza <mvoteiza@udel.edu>.
| -rw-r--r-- | etc/NEWS | 16 |
1 files changed, 12 insertions, 4 deletions
| @@ -610,10 +610,6 @@ item as before. | |||
| 610 | ** Search and Replace | 610 | ** Search and Replace |
| 611 | 611 | ||
| 612 | +++ | 612 | +++ |
| 613 | *** New user option `search-default-mode' | ||
| 614 | specifies the default mode for I-search. | ||
| 615 | |||
| 616 | +++ | ||
| 617 | *** `isearch' and `query-replace' can now perform character folding in matches. | 613 | *** `isearch' and `query-replace' can now perform character folding in matches. |
| 618 | Isearch does that by default, while `query-replace' will do that if | 614 | Isearch does that by default, while `query-replace' will do that if |
| 619 | the new variable `replace-character-fold' is customized to a non-nil | 615 | the new variable `replace-character-fold' is customized to a non-nil |
| @@ -628,6 +624,18 @@ and ”), and the letter a will match all of its accented cousins, even | |||
| 628 | those composed of multiple characters, as well as many other symbols | 624 | those composed of multiple characters, as well as many other symbols |
| 629 | like ℀, ℁, ⒜, and ⓐ. | 625 | like ℀, ℁, ⒜, and ⓐ. |
| 630 | 626 | ||
| 627 | Character folding is enabled by customizing `search-default-mode' to | ||
| 628 | the value `character-fold-to-regexp'. If you want to turn character | ||
| 629 | folding off, customize the value of `search-default-mode' to the `nil' | ||
| 630 | value. You can also toggle character folding in the middle of a | ||
| 631 | search by typing `M-s ''. | ||
| 632 | |||
| 633 | +++ | ||
| 634 | *** New user option `search-default-mode'. | ||
| 635 | This option specifies the default mode for Isearch. The default | ||
| 636 | value, `character-fold-to-regexp' specifies that Isearch should fold | ||
| 637 | characters when searching. | ||
| 638 | |||
| 631 | +++ | 639 | +++ |
| 632 | *** New function `character-fold-to-regexp' can be used | 640 | *** New function `character-fold-to-regexp' can be used |
| 633 | by searching commands to produce a regexp matching anything that | 641 | by searching commands to produce a regexp matching anything that |