comparison etc/NEWS @ 77600:317edcdecb49

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Sat, 28 Apr 2007 18:06:15 +0000
parents a7e7fba52d2d
children db1d22f6f9ba
comparison
equal deleted inserted replaced
77599:d80221a6229e 77600:317edcdecb49
3463 3463
3464 * Lisp Changes in Emacs 22.1 3464 * Lisp Changes in Emacs 22.1
3465 3465
3466 ** General Lisp changes: 3466 ** General Lisp changes:
3467 3467
3468 *** The escape sequence \s now stands for the SPACE character. 3468 *** New syntax: \s now stands for the SPACE character.
3469 3469
3470 `?\s' is a new way to write the space character. You must make sure 3470 `?\s' is a new way to write the space character. You must make sure
3471 it is not followed by a dash, since `?\s-...' indicates the "super" 3471 it is not followed by a dash, since `?\s-...' indicates the "super"
3472 modifier. However, it would be strange to write a character constant 3472 modifier. However, it would be strange to write a character constant
3473 and a following symbol (beginning with `-') with no space between 3473 and a following symbol (beginning with `-') with no space between
3474 them. 3474 them.
3475 3475
3476 `\s' stands for space in strings, too, but it is not really meant for 3476 `\s' stands for space in strings, too, but it is not really meant for
3477 strings; it is easier and nicer just to write a space. 3477 strings; it is easier and nicer just to write a space.
3478 3478
3479 *** New syntax: \uXXXX and \UXXXXXXXX specify Unicode code points in hex.
3480
3481 For instance, you can use "\u0428" to specify a string consisting of
3482 CYRILLIC CAPITAL LETTER SHA, or `"U0001D6E2" to specify one consisting
3483 of MATHEMATICAL ITALIC CAPITAL ALPHA (the latter is greater than
3484 #xFFFF and thus needs the longer syntax).
3485
3486 This syntax works for both character constants and strings.
3487
3479 *** The function `expt' handles negative exponents differently. 3488 *** The function `expt' handles negative exponents differently.
3480 The value for `(expt A B)', if both A and B are integers and B is 3489 The value for `(expt A B)', if both A and B are integers and B is
3481 negative, is now a float. For example: (expt 2 -2) => 0.25. 3490 negative, is now a float. For example: (expt 2 -2) => 0.25.
3482 3491
3483 *** The function `eql' is now available without requiring the CL package. 3492 *** The function `eql' is now available without requiring the CL package.
3702 text properties. 3711 text properties.
3703 3712
3704 *** The new function `assoc-string' replaces `assoc-ignore-case' and 3713 *** The new function `assoc-string' replaces `assoc-ignore-case' and
3705 `assoc-ignore-representation', which are still available, but have 3714 `assoc-ignore-representation', which are still available, but have
3706 been declared obsolete. 3715 been declared obsolete.
3707
3708 *** New syntax: \uXXXX and \UXXXXXXXX specify Unicode code points in hex.
3709 Use "\u0428" to specify a string consisting of CYRILLIC CAPITAL LETTER SHA,
3710 or "\U0001D6E2" to specify one consisting of MATHEMATICAL ITALIC CAPITAL
3711 ALPHA (the latter is greater than #xFFFF and thus needs the longer
3712 syntax). Also available for characters.
3713 3716
3714 ** Displaying warnings to the user. 3717 ** Displaying warnings to the user.
3715 3718
3716 See the functions `warn' and `display-warning', or the Lisp Manual. 3719 See the functions `warn' and `display-warning', or the Lisp Manual.
3717 If you want to be sure the warning will not be overlooked, this 3720 If you want to be sure the warning will not be overlooked, this