aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPaul Eggert2015-08-02 15:58:02 -0700
committerPaul Eggert2015-08-02 15:58:31 -0700
commitfa10e77790a207aeabf354c9f5667b3dbde55bb2 (patch)
tree9ab7b0e8bbd340d76f34583aeaa7721c7f59008f /etc
parentfc9206b73a254a400245578b94542cfe82c68e9c (diff)
downloademacs-fa10e77790a207aeabf354c9f5667b3dbde55bb2.tar.gz
emacs-fa10e77790a207aeabf354c9f5667b3dbde55bb2.zip
Redo text-quoting-style variable
Rename help-quote-translation to text-quoting-style, and use symbols rather than characters as values. This follows suggestions along these lines by Alan Mackenzie in: http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00343.html and by Drew Adams in: http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00048.html * doc/lispref/help.texi (Keys in Documentation) * etc/NEWS: * lisp/cus-start.el (standard): * src/doc.c (Fsubstitute_command_keys, syms_of_doc): Document and/or implement the new behavior instead of the old. (syms_of_doc): New symbols 'grave' and 'straight'.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS20
1 files changed, 10 insertions, 10 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 85df71607ee..e384d17e395 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -889,14 +889,14 @@ in languages like German where downcasing rules depend on grammar.
889+++ 889+++
890** substitute-command-keys now replaces quotes. 890** substitute-command-keys now replaces quotes.
891That is, it converts documentation strings' quoting style as per the 891That is, it converts documentation strings' quoting style as per the
892value of the new custom variable ‘help-quote-translation’: ?‘ means 892value of the new custom variable ‘text-quoting-style’: ‘curve’ means
893use curved quotes (also known as curly quotes) ‘like this’, ?' means 893use curved quotes (also known as curly quotes) ‘like this’, straight’
894use apostrophes 'like this', ?` means use grave accent and apostrophe 894means use straight apostrophes 'like this', ‘grave’ means use grave
895`like this', and nil (default) means use curved quotes if displayable 895accent and apostrophe `like this', and nil (default) means use curved
896and grave accent and apostrophe otherwise. Doc strings in source code 896quotes if displayable and grave accent and apostrophe otherwise. Doc
897can use either curved quotes or grave accent and apostrophe. As 897strings in source code can use either curved quotes or grave accent
898before, isolated apostrophes and characters preceded by \= are output 898and apostrophe. As before, isolated apostrophes and characters
899as-is. 899preceded by \= are output as-is.
900 900
901+++ 901+++
902** The character classes [:alpha:] and [:alnum:] in regular expressions 902** The character classes [:alpha:] and [:alnum:] in regular expressions
@@ -1017,8 +1017,8 @@ In the new Electric Quote mode, you can enter curved single quotes
1017into documentation by typing ` and '. Outside Electric Quote mode, 1017into documentation by typing ` and '. Outside Electric Quote mode,
1018you can enter them by typing ‘C-x 8 [’ and ‘C-x 8 ]’, or (if your Alt 1018you can enter them by typing ‘C-x 8 [’ and ‘C-x 8 ]’, or (if your Alt
1019key works) by typing ‘A-[’ and ‘A-]’. As described above under 1019key works) by typing ‘A-[’ and ‘A-]’. As described above under
1020help-quote-translation’, the user can specify how to display doc 1020text-quoting-style’, the user can specify how to display doc string
1021string quotes. 1021quotes.
1022 1022
1023+++ 1023+++
1024** show-help-function's arg is converted via substitute-command-keys 1024** show-help-function's arg is converted via substitute-command-keys