aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2015-08-24 08:19:41 -0700
committerPaul Eggert2015-08-24 08:20:55 -0700
commita1055489c63dddf9259eba012f995f7c9d00c1da (patch)
tree0e39399baa823047bb838f6b61177ec3545e53c2
parent7741988982ea5de8dea80702a510505bb153c86a (diff)
downloademacs-a1055489c63dddf9259eba012f995f7c9d00c1da.tar.gz
emacs-a1055489c63dddf9259eba012f995f7c9d00c1da.zip
* etc/NEWS: Clarify text-quoting-style and electric-quote-mode.
-rw-r--r--etc/NEWS13
1 files changed, 11 insertions, 2 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 90a13b75844..fd2ed4dd8af 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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”
275as 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
910in languages like German where downcasing rules depend on grammar. 911in 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.
915Set it to ‘curve’ for curved single quotes ‘like this’, to ‘straight’
916for straight apostrophes 'like this', and to ‘grave’ for grave accent
917and apostrophe `like this'. The default value nil acts like ‘curve’
918if curved single quotes are displayable, and like ‘grave’ otherwise.
919Quotes in info files are not translated.
920
921+++
913** substitute-command-keys now replaces quotes. 922** substitute-command-keys now replaces quotes.
914That is, it converts documentation strings' quoting style as per the 923That is, it converts documentation strings quoting style as per the
915value of ‘text-quoting-style’. Doc strings in source code can use 924value of ‘text-quoting-style’. Doc strings in source code can use
916either curved quotes or grave accent and apostrophe. As before, 925either curved quotes or grave accent and apostrophe. As before,
917isolated apostrophes and characters preceded by \= are output as-is. 926isolated apostrophes and characters preceded by \= are output as-is.