aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2015-08-02 12:43:20 -0700
committerPaul Eggert2015-08-02 12:43:48 -0700
commitd2c4309d46529bac656f332677d2c5e199577845 (patch)
tree45b86067811076b9057282642f03819aacc3676f
parent397e316b28f74d4b96ccb86203a3996fdd4755f9 (diff)
downloademacs-d2c4309d46529bac656f332677d2c5e199577845.tar.gz
emacs-d2c4309d46529bac656f332677d2c5e199577845.zip
Also mention "curly quotes"
See Drew Adams's email in: http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00040.html * doc/lispref/help.texi (Keys in Documentation): Add index entry "curly quotes". * etc/NEWS: Use the phrase "curly quotes" too.
-rw-r--r--doc/lispref/help.texi1
-rw-r--r--etc/NEWS22
2 files changed, 13 insertions, 10 deletions
diff --git a/doc/lispref/help.texi b/doc/lispref/help.texi
index fde985d9b0b..779a0d581e2 100644
--- a/doc/lispref/help.texi
+++ b/doc/lispref/help.texi
@@ -349,6 +349,7 @@ string in Emacs Lisp.
349 349
350@defvar help-quote-translation 350@defvar help-quote-translation
351@cindex curved quotes 351@cindex curved quotes
352@cindex curly quotes
352The value of this variable specifies the style 353The value of this variable specifies the style
353@code{substitute-command-keys} uses when generating left and right 354@code{substitute-command-keys} uses when generating left and right
354quotes. If the variable's value is @code{?‘} (U+2018 LEFT SINGLE 355quotes. If the variable's value is @code{?‘} (U+2018 LEFT SINGLE
diff --git a/etc/NEWS b/etc/NEWS
index 6dbe6b38b11..4ab80f53fd7 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -887,15 +887,15 @@ denied" instead of "permission denied". The old behavior was problematic
887in languages like German where downcasing rules depend on grammar. 887in languages like German where downcasing rules depend on grammar.
888 888
889** substitute-command-keys now replaces quotes. 889** substitute-command-keys now replaces quotes.
890That is, it replaces left single quotation marks (‘) by left quotes 890That is, it converts documentation strings' quoting style as per the
891and right single quotation marks (’) by right quotes. It also 891value of the new custom variable ‘help-quote-translation’: ?‘ means
892replaces grave accents by left quotes, and apostrophes that match 892use curved quotes (also known as curly quotes) ‘like this’, ?' means
893grave accents by right quotes. As before, isolated apostrophes and 893use apostrophes 'like this', ?` means use grave accent and apostrophe
894characters preceded by \= are output as-is. Left and right quotes are 894`like this', and nil (default) means use curved quotes if displayable
895determined by new custom variable ‘help-quote-translation’. ?‘ means 895and grave accent and apostrophe otherwise. Doc strings in source code
896quote ‘like this’, ?' means quote 'like this', ?` means quote `like 896can use either curved quotes or grave accent and apostrophe. As
897this', and nil (default) means quote ‘like this’ if displayable and 897before, isolated apostrophes and characters preceded by \= are output
898'like this' otherwise. 898as-is.
899 899
900+++ 900+++
901** The character classes [:alpha:] and [:alnum:] in regular expressions 901** The character classes [:alpha:] and [:alnum:] in regular expressions
@@ -1014,7 +1014,9 @@ apostrophe `like-this'. The new style looks better on today's displays.
1014In the new Electric Quote mode, you can enter curved single quotes 1014In the new Electric Quote mode, you can enter curved single quotes
1015into documentation by typing ` and '. Outside Electric Quote mode, 1015into documentation by typing ` and '. Outside Electric Quote mode,
1016you can enter them by typing ‘C-x 8 [’ and ‘C-x 8 ]’, or (if your Alt 1016you can enter them by typing ‘C-x 8 [’ and ‘C-x 8 ]’, or (if your Alt
1017key works) by typing ‘A-[’ and ‘A-]’. 1017key works) by typing ‘A-[’ and ‘A-]’. As described above under
1018‘help-quote-translation’, the user can specify how to display doc
1019string quotes.
1018 1020
1019+++ 1021+++
1020** Time-related changes: 1022** Time-related changes: