changeset 80810:cf94b00de5ef

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Sat, 28 Apr 2007 17:46:24 +0000
parents 958471f534b7
children f40c1549ef99
files etc/NEWS lisp/ChangeLog src/ChangeLog
diffstat 3 files changed, 27 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Sat Apr 28 17:46:09 2007 +0000
+++ b/etc/NEWS	Sat Apr 28 17:46:24 2007 +0000
@@ -3464,6 +3464,25 @@
 * Lisp Changes in Emacs 22.1
 
 ** General Lisp changes:
+*** New syntax: \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.
+
+*** New syntax: \uXXXX and \UXXXXXXXX specify Unicode code points in hex.
+
+For instance, you can use "\u0428" to specify a string consisting of
+CYRILLIC CAPITAL LETTER SHA, or `"U0001D6E2" to specify one consisting
+of MATHEMATICAL ITALIC CAPITAL ALPHA (the latter is greater than
+#xFFFF and thus needs the longer syntax).
+
+This syntax works for both character constants and strings.
 
 *** The function `expt' handles negative exponents differently.
 The value for `(expt A B)', if both A and B are integers and B is
@@ -3674,12 +3693,6 @@
 
 ** 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.
-
 *** A hex escape in a string constant forces the string to be multibyte.
 
 *** An octal escape in a string constant forces the string to be unibyte.
@@ -3700,12 +3713,6 @@
 `assoc-ignore-representation', which are still available, but have
 been declared obsolete.
 
-*** New syntax: \uXXXX and \UXXXXXXXX specify Unicode code points in hex.
-Use "\u0428" to specify a string consisting of CYRILLIC CAPITAL LETTER SHA,
-or "\U0001D6E2" to specify one consisting of MATHEMATICAL ITALIC CAPITAL
-ALPHA (the latter is greater than #xFFFF and thus needs the longer
-syntax).  Also available for characters.
-
 ** Displaying warnings to the user.
 
 See the functions `warn' and `display-warning', or the Lisp Manual.
--- a/lisp/ChangeLog	Sat Apr 28 17:46:09 2007 +0000
+++ b/lisp/ChangeLog	Sat Apr 28 17:46:24 2007 +0000
@@ -1,3 +1,7 @@
+2007-04-28  Richard Stallman  <rms@gnu.org>
+
+	* progmodes/sh-script.el (sh-mode): Recognize .profile as sh style.
+
 2007-04-28  Nick Roberts  <nickrob@snap.net.nz>
 
 	* progmodes/gud.el (gud-menu-map): Pdb can't handle SIGINT so
--- a/src/ChangeLog	Sat Apr 28 17:46:09 2007 +0000
+++ b/src/ChangeLog	Sat Apr 28 17:46:24 2007 +0000
@@ -1,3 +1,7 @@
+2007-04-28  Richard Stallman  <rms@gnu.org>
+
+	* lread.c (read_escape): In a string, \s is always space.
+
 2007-04-27  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
 
 	* xmenu.c (xdialog_show): Call Fredisplay before showing the dialog.