diff options
| author | Paul Eggert | 2015-08-02 15:58:02 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-08-02 15:58:31 -0700 |
| commit | fa10e77790a207aeabf354c9f5667b3dbde55bb2 (patch) | |
| tree | 9ab7b0e8bbd340d76f34583aeaa7721c7f59008f /etc | |
| parent | fc9206b73a254a400245578b94542cfe82c68e9c (diff) | |
| download | emacs-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/NEWS | 20 |
1 files changed, 10 insertions, 10 deletions
| @@ -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. |
| 891 | That is, it converts documentation strings' quoting style as per the | 891 | That is, it converts documentation strings' quoting style as per the |
| 892 | value of the new custom variable ‘help-quote-translation’: ?‘ means | 892 | value of the new custom variable ‘text-quoting-style’: ‘curve’ means |
| 893 | use curved quotes (also known as curly quotes) ‘like this’, ?' means | 893 | use curved quotes (also known as curly quotes) ‘like this’, ‘straight’ |
| 894 | use apostrophes 'like this', ?` means use grave accent and apostrophe | 894 | means use straight apostrophes 'like this', ‘grave’ means use grave |
| 895 | `like this', and nil (default) means use curved quotes if displayable | 895 | accent and apostrophe `like this', and nil (default) means use curved |
| 896 | and grave accent and apostrophe otherwise. Doc strings in source code | 896 | quotes if displayable and grave accent and apostrophe otherwise. Doc |
| 897 | can use either curved quotes or grave accent and apostrophe. As | 897 | strings in source code can use either curved quotes or grave accent |
| 898 | before, isolated apostrophes and characters preceded by \= are output | 898 | and apostrophe. As before, isolated apostrophes and characters |
| 899 | as-is. | 899 | preceded 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 | |||
| 1017 | into documentation by typing ` and '. Outside Electric Quote mode, | 1017 | into documentation by typing ` and '. Outside Electric Quote mode, |
| 1018 | you can enter them by typing ‘C-x 8 [’ and ‘C-x 8 ]’, or (if your Alt | 1018 | you can enter them by typing ‘C-x 8 [’ and ‘C-x 8 ]’, or (if your Alt |
| 1019 | key works) by typing ‘A-[’ and ‘A-]’. As described above under | 1019 | key works) by typing ‘A-[’ and ‘A-]’. As described above under |
| 1020 | ‘help-quote-translation’, the user can specify how to display doc | 1020 | ‘text-quoting-style’, the user can specify how to display doc string |
| 1021 | string quotes. | 1021 | quotes. |
| 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 |