diff options
| author | Paul Eggert | 2016-05-05 06:39:17 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-05-05 06:40:12 -0700 |
| commit | 5e814e02f0b0b85fa486975eced09e4a7ed8ce5c (patch) | |
| tree | 0e3d4677bd2e193558ea7245ad176afeae6abd57 /etc | |
| parent | 3347a733e0778dfefaeabe28ae73f4226236a881 (diff) | |
| download | emacs-5e814e02f0b0b85fa486975eced09e4a7ed8ce5c.tar.gz emacs-5e814e02f0b0b85fa486975eced09e4a7ed8ce5c.zip | |
Minor doc fixes for quoting
* doc/lispref/control.texi (Signaling Errors):
* doc/lispref/display.texi (Displaying Messages):
Don’t say that formats “generate”. Try to word more clearly.
* etc/NEWS: Coalesce near-duplicate entries.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 19 |
1 files changed, 6 insertions, 13 deletions
| @@ -1476,11 +1476,12 @@ display of diagnostics and help, but not of info. As the variable is | |||
| 1476 | not intended for casual use, it is not a user option. | 1476 | not intended for casual use, it is not a user option. |
| 1477 | 1477 | ||
| 1478 | +++ | 1478 | +++ |
| 1479 | ** `message' now translates various sorts of single quotes in its | 1479 | ** Message-issuing functions like 'message' and 'error' now translate |
| 1480 | format string according to the value of `text-quoting-style' (see | 1480 | various sorts of single quotes in their format strings according to |
| 1481 | above). This translation cannot be disabled. To get the old | 1481 | the value of 'text-quoting-style' (see above). This translation |
| 1482 | behavior of `message', use `format', which is not affected by | 1482 | cannot be disabled. To get the old behavior, use 'format', which is |
| 1483 | `text-quoting-style', e.g. (message "%s" (format "...." foo bar)). | 1483 | not affected by 'text-quoting-style', e.g., (message "%s" (format |
| 1484 | "...." foo bar)). | ||
| 1484 | 1485 | ||
| 1485 | +++ | 1486 | +++ |
| 1486 | ** substitute-command-keys now replaces quotes. | 1487 | ** substitute-command-keys now replaces quotes. |
| @@ -1490,14 +1491,6 @@ either curved single quotes or grave accents and apostrophes. As | |||
| 1490 | before, characters preceded by \= are output as-is. | 1491 | before, characters preceded by \= are output as-is. |
| 1491 | 1492 | ||
| 1492 | +++ | 1493 | +++ |
| 1493 | ** Message-issuing functions 'error', 'message', etc. now convert quotes. | ||
| 1494 | They use the new 'format-message' function instead of plain 'format', | ||
| 1495 | so that they now follow user preference as per 'text-quoting-style' | ||
| 1496 | when processing curved single quotes, grave accents, and apostrophes | ||
| 1497 | in their format argument. To process % directives but not quotes, you | ||
| 1498 | can use calls like (message "%s" (format FORMAT ARG1 ... ARGn)). | ||
| 1499 | |||
| 1500 | +++ | ||
| 1501 | ** The character classes [:alpha:] and [:alnum:] in regular expressions | 1494 | ** The character classes [:alpha:] and [:alnum:] in regular expressions |
| 1502 | now match multibyte characters using Unicode character properties. | 1495 | now match multibyte characters using Unicode character properties. |
| 1503 | If you want the old behavior where they matched any character with | 1496 | If you want the old behavior where they matched any character with |