Mercurial > emacs
comparison etc/NEWS @ 80810:cf94b00de5ef
*** empty log message ***
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 28 Apr 2007 17:46:24 +0000 |
parents | d823156fd547 |
children | cf8ef82131e4 |
comparison
equal
deleted
inserted
replaced
80809:958471f534b7 | 80810:cf94b00de5ef |
---|---|
3462 | 3462 |
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 *** New syntax: \s now stands for the SPACE character. | |
3468 | |
3469 `?\s' is a new way to write the space character. You must make sure | |
3470 it is not followed by a dash, since `?\s-...' indicates the "super" | |
3471 modifier. However, it would be strange to write a character constant | |
3472 and a following symbol (beginning with `-') with no space between | |
3473 them. | |
3474 | |
3475 `\s' stands for space in strings, too, but it is not really meant for | |
3476 strings; it is easier and nicer just to write a space. | |
3477 | |
3478 *** New syntax: \uXXXX and \UXXXXXXXX specify Unicode code points in hex. | |
3479 | |
3480 For instance, you can use "\u0428" to specify a string consisting of | |
3481 CYRILLIC CAPITAL LETTER SHA, or `"U0001D6E2" to specify one consisting | |
3482 of MATHEMATICAL ITALIC CAPITAL ALPHA (the latter is greater than | |
3483 #xFFFF and thus needs the longer syntax). | |
3484 | |
3485 This syntax works for both character constants and strings. | |
3467 | 3486 |
3468 *** The function `expt' handles negative exponents differently. | 3487 *** The function `expt' handles negative exponents differently. |
3469 The value for `(expt A B)', if both A and B are integers and B is | 3488 The value for `(expt A B)', if both A and B are integers and B is |
3470 negative, is now a float. For example: (expt 2 -2) => 0.25. | 3489 negative, is now a float. For example: (expt 2 -2) => 0.25. |
3471 | 3490 |
3671 variable `customize-package-emacs-version-alist'. | 3690 variable `customize-package-emacs-version-alist'. |
3672 | 3691 |
3673 *** The new customization type `float' requires a floating point number. | 3692 *** The new customization type `float' requires a floating point number. |
3674 | 3693 |
3675 ** String changes: | 3694 ** String changes: |
3676 | |
3677 *** The escape sequence \s is now interpreted as a SPACE character. | |
3678 | |
3679 Exception: In a character constant, if it is followed by a `-' in a | |
3680 character constant (e.g. ?\s-A), it is still interpreted as the super | |
3681 modifier. In strings, \s is always interpreted as a space. | |
3682 | 3695 |
3683 *** A hex escape in a string constant forces the string to be multibyte. | 3696 *** A hex escape in a string constant forces the string to be multibyte. |
3684 | 3697 |
3685 *** An octal escape in a string constant forces the string to be unibyte. | 3698 *** An octal escape in a string constant forces the string to be unibyte. |
3686 | 3699 |
3697 text properties. | 3710 text properties. |
3698 | 3711 |
3699 *** The new function `assoc-string' replaces `assoc-ignore-case' and | 3712 *** The new function `assoc-string' replaces `assoc-ignore-case' and |
3700 `assoc-ignore-representation', which are still available, but have | 3713 `assoc-ignore-representation', which are still available, but have |
3701 been declared obsolete. | 3714 been declared obsolete. |
3702 | |
3703 *** New syntax: \uXXXX and \UXXXXXXXX specify Unicode code points in hex. | |
3704 Use "\u0428" to specify a string consisting of CYRILLIC CAPITAL LETTER SHA, | |
3705 or "\U0001D6E2" to specify one consisting of MATHEMATICAL ITALIC CAPITAL | |
3706 ALPHA (the latter is greater than #xFFFF and thus needs the longer | |
3707 syntax). Also available for characters. | |
3708 | 3715 |
3709 ** Displaying warnings to the user. | 3716 ** Displaying warnings to the user. |
3710 | 3717 |
3711 See the functions `warn' and `display-warning', or the Lisp Manual. | 3718 See the functions `warn' and `display-warning', or the Lisp Manual. |
3712 If you want to be sure the warning will not be overlooked, this | 3719 If you want to be sure the warning will not be overlooked, this |