>From 726bf1239d9fadf9e808394831e9a5059f8460fd Mon Sep 17 00:00:00 2001 From: Paul Eggert
Date: Mon, 24 Aug 2015 08:19:41 -0700 Subject: [PATCH] * etc/NEWS: Clarify text-quoting-style and electric-quote-mode. --- etc/NEWS | 13 +++++++++++-- 1 file 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. -- 2.1.0