From 52f86a755b0befb6ad2a26bdb4edc46e2152b593 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 3 May 2016 13:30:21 -0700 Subject: * etc/NEWS: Mention (message "%s" (format ...)). --- etc/NEWS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/NEWS b/etc/NEWS index b5d2b44d39f..21ebba5933a 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1487,7 +1487,8 @@ before, characters preceded by \= are output as-is. They use the new 'format-message' function instead of plain 'format', so that they now follow user preference as per 'text-quoting-style' when processing curved single quotes, grave accents, and apostrophes -in their format argument. +in their format argument. To process % directives but not quotes, you +can use calls like (message "%s" (format FORMAT ARG1 ... ARGn)). +++ ** The character classes [:alpha:] and [:alnum:] in regular expressions -- cgit v1.2.1 From c68a09107c1f7459c626d38be5e0e991912e57ec Mon Sep 17 00:00:00 2001 From: Alan Mackenzie Date: Tue, 3 May 2016 20:27:48 +0000 Subject: Note the quote translation in `message' in section "incompatible changes". * etc/NEWS: Note that `message' translates quotes, that the translation cannot be disabled, and that `format' can be used to get the old behavior back. --- etc/NEWS | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'etc') diff --git a/etc/NEWS b/etc/NEWS index 21ebba5933a..dbc2944fb68 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1475,6 +1475,13 @@ displayable, and like 'grave' otherwise. The new variable affects display of diagnostics and help, but not of info. As the variable is not intended for casual use, it is not a user option. ++++ +** `message' now translates various sorts of single quotes in its +format string according to the value of `text-quoting-style' (see +above). This translation cannot be disabled. To get the old +behavior of `message', use `format', which is not affected by +`text-quoting-style', e.g. (message "%s" (format "...." foo bar)). + +++ ** substitute-command-keys now replaces quotes. That is, it converts documentation strings' quoting style as per the -- cgit v1.2.1 From e68ad1f3f08268f0642ba19e7c894f9e05cb8e6f Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 4 May 2016 13:23:21 -0400 Subject: ; * etc/NEWS: Tiny edit. (Bug#23432) --- etc/NEWS | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'etc') diff --git a/etc/NEWS b/etc/NEWS index dbc2944fb68..7d6e5334e5c 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1715,9 +1715,11 @@ permissions set to temporary values (e.g., for creating private files). --- ** Function 'system-name' now returns an updated value if the current -system's name has changed or if the Emacs process has changed systems, -and to avoid long waits it no longer consults DNS to canonicalize the -name. The variable 'system-name' is now obsolete. +system's name has changed or if the Emacs process has changed systems. +To avoid long waits it no longer consults DNS to canonicalize the name +(in some cases this may affect generated message-id headers - customize +'message-user-fqdn' if this bothers you). The variable 'system-name' +is now obsolete. +++ ** Function 'write-region' no longer outputs "Wrote FILE" in batch mode. -- cgit v1.2.1 From 5e814e02f0b0b85fa486975eced09e4a7ed8ce5c Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 5 May 2016 06:39:17 -0700 Subject: 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. --- etc/NEWS | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) (limited to 'etc') diff --git a/etc/NEWS b/etc/NEWS index 7d6e5334e5c..6c522e06e9e 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1476,11 +1476,12 @@ display of diagnostics and help, but not of info. As the variable is not intended for casual use, it is not a user option. +++ -** `message' now translates various sorts of single quotes in its -format string according to the value of `text-quoting-style' (see -above). This translation cannot be disabled. To get the old -behavior of `message', use `format', which is not affected by -`text-quoting-style', e.g. (message "%s" (format "...." foo bar)). +** Message-issuing functions like 'message' and 'error' now translate +various sorts of single quotes in their format strings according to +the value of 'text-quoting-style' (see above). This translation +cannot be disabled. To get the old behavior, use 'format', which is +not affected by 'text-quoting-style', e.g., (message "%s" (format +"...." foo bar)). +++ ** substitute-command-keys now replaces quotes. @@ -1489,14 +1490,6 @@ value of 'text-quoting-style'. Doc strings in source code can use either curved single quotes or grave accents and apostrophes. As before, characters preceded by \= are output as-is. -+++ -** Message-issuing functions 'error', 'message', etc. now convert quotes. -They use the new 'format-message' function instead of plain 'format', -so that they now follow user preference as per 'text-quoting-style' -when processing curved single quotes, grave accents, and apostrophes -in their format argument. To process % directives but not quotes, you -can use calls like (message "%s" (format FORMAT ARG1 ... ARGn)). - +++ ** The character classes [:alpha:] and [:alnum:] in regular expressions now match multibyte characters using Unicode character properties. -- cgit v1.2.1 From 50650cb6887d99b01eeb1e686fc1f695c2a0c64a Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 5 May 2016 12:48:33 -0700 Subject: Doc fixes for fclist and grep A newline is needed between two fc-list calls. egrep and fgrep have been withdrawn from POSIX, so document grep -E and grep -F instead. --- etc/PROBLEMS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/PROBLEMS b/etc/PROBLEMS index be9400bf264..533c4e9be8d 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS @@ -1655,7 +1655,7 @@ which combination produces "M-x" in the echo area. You can also use the 'xmodmap' utility to show all the keys which produce a Meta modifier: - xmodmap -pk | egrep -i "meta|alt" + xmodmap -pk | grep -Ei "meta|alt" A more convenient way of finding out which keys produce a Meta modifier is to use the 'xkbprint' utility, if it's available on your system: -- cgit v1.2.1