Mercurial > emacs
changeset 77595:b5b132a74c17
*** empty log message ***
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 28 Apr 2007 17:09:54 +0000 |
parents | 8523f69b8831 |
children | a7e7fba52d2d |
files | etc/NEWS |
diffstat | 1 files changed, 10 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/NEWS Sat Apr 28 15:51:04 2007 +0000 +++ b/etc/NEWS Sat Apr 28 17:09:54 2007 +0000 @@ -3674,11 +3674,16 @@ ** String changes: -*** The escape sequence \s is now interpreted as a SPACE character. - -Exception: In a character constant, if it is followed by a `-' in a -character constant (e.g. ?\s-A), it is still interpreted as the super -modifier. In strings, \s is always interpreted as a space. +*** The escape sequence \s now stands for the SPACE character. + +`?\s' is a new way to write the space character. You must make sure +it is not followed by a dash, since `?\s-...' indicates the "super" +modifier. However, it would be strange to write a character constant +and a following symbol (beginning with `-') with no space between +them. + +`\s' stands for space in strings, too, but it is not really meant for +strings; it is easier and nicer just to write a space. *** A hex escape in a string constant forces the string to be multibyte.