diff options
| author | Paul Eggert | 2015-08-24 08:19:41 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-08-24 08:20:55 -0700 |
| commit | a1055489c63dddf9259eba012f995f7c9d00c1da (patch) | |
| tree | 0e39399baa823047bb838f6b61177ec3545e53c2 | |
| parent | 7741988982ea5de8dea80702a510505bb153c86a (diff) | |
| download | emacs-a1055489c63dddf9259eba012f995f7c9d00c1da.tar.gz emacs-a1055489c63dddf9259eba012f995f7c9d00c1da.zip | |
* etc/NEWS: Clarify text-quoting-style and electric-quote-mode.
| -rw-r--r-- | etc/NEWS | 13 |
1 files changed, 11 insertions, 2 deletions
| @@ -271,7 +271,8 @@ successive char insertions. | |||
| 271 | ** C-x 8 now has shorthands for these chars: ‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″ | 271 | ** C-x 8 now has shorthands for these chars: ‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″ |
| 272 | € № ← → ↔ − ≈ ≠ ≤ ≥. As before, you can type C-x 8 C-h to list shorthands. | 272 | € № ← → ↔ − ≈ ≠ ≤ ≥. As before, you can type C-x 8 C-h to list shorthands. |
| 273 | 273 | ||
| 274 | ** New minor mode electric-quote-mode for quoting ‘like this’ and “like this”. | 274 | ** New minor mode electric-quote-mode for quoting ‘like this’ and “like this” |
| 275 | as you type. | ||
| 275 | 276 | ||
| 276 | ** New minor mode global-eldoc-mode is enabled by default. | 277 | ** New minor mode global-eldoc-mode is enabled by default. |
| 277 | 278 | ||
| @@ -910,8 +911,16 @@ denied" instead of "permission denied". The old behavior was problematic | |||
| 910 | in languages like German where downcasing rules depend on grammar. | 911 | in languages like German where downcasing rules depend on grammar. |
| 911 | 912 | ||
| 912 | +++ | 913 | +++ |
| 914 | ** New variable ‘text-quoting-style’ to control how Emacs translates quotes. | ||
| 915 | Set it to ‘curve’ for curved single quotes ‘like this’, to ‘straight’ | ||
| 916 | for straight apostrophes 'like this', and to ‘grave’ for grave accent | ||
| 917 | and apostrophe `like this'. The default value nil acts like ‘curve’ | ||
| 918 | if curved single quotes are displayable, and like ‘grave’ otherwise. | ||
| 919 | Quotes in info files are not translated. | ||
| 920 | |||
| 921 | +++ | ||
| 913 | ** substitute-command-keys now replaces quotes. | 922 | ** substitute-command-keys now replaces quotes. |
| 914 | That is, it converts documentation strings' quoting style as per the | 923 | That is, it converts documentation strings’ quoting style as per the |
| 915 | value of ‘text-quoting-style’. Doc strings in source code can use | 924 | value of ‘text-quoting-style’. Doc strings in source code can use |
| 916 | either curved quotes or grave accent and apostrophe. As before, | 925 | either curved quotes or grave accent and apostrophe. As before, |
| 917 | isolated apostrophes and characters preceded by \= are output as-is. | 926 | isolated apostrophes and characters preceded by \= are output as-is. |