emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master a105548: * etc/NEWS: Clarify text-quoting-style and


From: Paul Eggert
Subject: [Emacs-diffs] master a105548: * etc/NEWS: Clarify text-quoting-style and electric-quote-mode.
Date: Mon, 24 Aug 2015 15:20:59 +0000

branch: master
commit a1055489c63dddf9259eba012f995f7c9d00c1da
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    * etc/NEWS: Clarify text-quoting-style and electric-quote-mode.
---
 etc/NEWS |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index 90a13b7..fd2ed4d 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -271,7 +271,8 @@ successive char insertions.
 ** C-x 8 now has shorthands for these chars: ‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″
 € № ← → ↔ − ≈ ≠ ≤ ≥.  As before, you can type C-x 8 C-h to list shorthands.
 
-** New minor mode electric-quote-mode for quoting ‘like this’ and “like this”.
+** New minor mode electric-quote-mode for quoting ‘like this’ and “like this”
+as you type.
 
 ** New minor mode global-eldoc-mode is enabled by default.
 
@@ -910,8 +911,16 @@ denied" instead of "permission denied".  The old behavior 
was problematic
 in languages like German where downcasing rules depend on grammar.
 
 +++
+** New variable ‘text-quoting-style’ to control how Emacs translates quotes.
+Set it to ‘curve’ for curved single quotes ‘like this’, to ‘straight’
+for straight apostrophes 'like this', and to ‘grave’ for grave accent
+and apostrophe `like this'.  The default value nil acts like ‘curve’
+if curved single quotes are displayable, and like ‘grave’ otherwise.
+Quotes in info files are not translated.
+
++++
 ** substitute-command-keys now replaces quotes.
-That is, it converts documentation strings' quoting style as per the
+That is, it converts documentation strings’ quoting style as per the
 value of ‘text-quoting-style’.  Doc strings in source code can use
 either curved quotes or grave accent and apostrophe.  As before,
 isolated apostrophes and characters preceded by \= are output as-is.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]