diff options
| author | Paul Eggert | 2015-08-02 12:43:20 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-08-02 12:43:48 -0700 |
| commit | d2c4309d46529bac656f332677d2c5e199577845 (patch) | |
| tree | 45b86067811076b9057282642f03819aacc3676f | |
| parent | 397e316b28f74d4b96ccb86203a3996fdd4755f9 (diff) | |
| download | emacs-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.texi | 1 | ||||
| -rw-r--r-- | etc/NEWS | 22 |
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 | ||
| 352 | The value of this variable specifies the style | 353 | The 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 |
| 354 | quotes. If the variable's value is @code{?‘} (U+2018 LEFT SINGLE | 355 | quotes. If the variable's value is @code{?‘} (U+2018 LEFT SINGLE |
| @@ -887,15 +887,15 @@ denied" instead of "permission denied". The old behavior was problematic | |||
| 887 | in languages like German where downcasing rules depend on grammar. | 887 | in 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. |
| 890 | That is, it replaces left single quotation marks (‘) by left quotes | 890 | That is, it converts documentation strings' quoting style as per the |
| 891 | and right single quotation marks (’) by right quotes. It also | 891 | value of the new custom variable ‘help-quote-translation’: ?‘ means |
| 892 | replaces grave accents by left quotes, and apostrophes that match | 892 | use curved quotes (also known as curly quotes) ‘like this’, ?' means |
| 893 | grave accents by right quotes. As before, isolated apostrophes and | 893 | use apostrophes 'like this', ?` means use grave accent and apostrophe |
| 894 | characters preceded by \= are output as-is. Left and right quotes are | 894 | `like this', and nil (default) means use curved quotes if displayable |
| 895 | determined by new custom variable ‘help-quote-translation’. ?‘ means | 895 | and grave accent and apostrophe otherwise. Doc strings in source code |
| 896 | quote ‘like this’, ?' means quote 'like this', ?` means quote `like | 896 | can use either curved quotes or grave accent and apostrophe. As |
| 897 | this', and nil (default) means quote ‘like this’ if displayable and | 897 | before, isolated apostrophes and characters preceded by \= are output |
| 898 | 'like this' otherwise. | 898 | as-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. | |||
| 1014 | In the new Electric Quote mode, you can enter curved single quotes | 1014 | In the new Electric Quote mode, you can enter curved single quotes |
| 1015 | into documentation by typing ` and '. Outside Electric Quote mode, | 1015 | into documentation by typing ` and '. Outside Electric Quote mode, |
| 1016 | you can enter them by typing ‘C-x 8 [’ and ‘C-x 8 ]’, or (if your Alt | 1016 | you can enter them by typing ‘C-x 8 [’ and ‘C-x 8 ]’, or (if your Alt |
| 1017 | key works) by typing ‘A-[’ and ‘A-]’. | 1017 | key works) by typing ‘A-[’ and ‘A-]’. As described above under |
| 1018 | ‘help-quote-translation’, the user can specify how to display doc | ||
| 1019 | string quotes. | ||
| 1018 | 1020 | ||
| 1019 | +++ | 1021 | +++ |
| 1020 | ** Time-related changes: | 1022 | ** Time-related changes: |