comparison etc/NEWS @ 39075:8722aa0ae475

Mark (almost) all entries either --- or +++.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 01 Sep 2001 18:03:16 +0000
parents f5db16d9b787
children 64e39b9789cc
comparison
equal deleted inserted replaced
39074:cb9433671068 39075:8722aa0ae475
95 ** Sound support 95 ** Sound support
96 96
97 Emacs supports playing sound files on GNU/Linux and FreeBSD (Voxware 97 Emacs supports playing sound files on GNU/Linux and FreeBSD (Voxware
98 driver and native BSD driver, a.k.a. Luigi's driver). Currently 98 driver and native BSD driver, a.k.a. Luigi's driver). Currently
99 supported file formats are RIFF-WAVE (*.wav) and Sun Audio (*.au). 99 supported file formats are RIFF-WAVE (*.wav) and Sun Audio (*.au).
100 You must configure Emacs with the option `--with-sound=yes' to enable
101 sound support.
100 102
101 +++ 103 +++
102 ** Emacs now resizes mini-windows if appropriate. 104 ** Emacs now resizes mini-windows if appropriate.
103 105
104 If a message is longer than one line, or minibuffer contents are 106 If a message is longer than one line, or minibuffer contents are
2456 2458
2457 2459
2458 * Lisp changes made after edition 2.6 of the Emacs Lisp Manual, 2460 * Lisp changes made after edition 2.6 of the Emacs Lisp Manual,
2459 (Display-related features are described in a page of their own below.) 2461 (Display-related features are described in a page of their own below.)
2460 2462
2463 ---
2461 ** The new function amimate-string, from lisp/play/animate.el 2464 ** The new function amimate-string, from lisp/play/animate.el
2462 allows the animated display of strings. 2465 allows the animated display of strings.
2463 2466
2467 +++
2464 ** The new function `interactive-form' can be used to obtain the 2468 ** The new function `interactive-form' can be used to obtain the
2465 interactive form of a function. 2469 interactive form of a function.
2466 2470
2471 +++
2467 ** The keyword :set-after in defcustom allows to specify dependencies 2472 ** The keyword :set-after in defcustom allows to specify dependencies
2468 between custom options. Example: 2473 between custom options. Example:
2469 2474
2470 (defcustom default-input-method nil 2475 (defcustom default-input-method nil
2471 "*Default input method for multilingual text (a string). 2476 "*Default input method for multilingual text (a string).
2477 2482
2478 This specifies that default-input-method should be set after 2483 This specifies that default-input-method should be set after
2479 current-language-environment even if default-input-method appears 2484 current-language-environment even if default-input-method appears
2480 first in a custom-set-variables statement. 2485 first in a custom-set-variables statement.
2481 2486
2487 +++
2482 ** The new hook `kbd-macro-termination-hook' is run at the end of 2488 ** The new hook `kbd-macro-termination-hook' is run at the end of
2483 function execute-kbd-macro. Functions on this hook are called with no 2489 function execute-kbd-macro. Functions on this hook are called with no
2484 args. The hook is run independent of how the macro was terminated 2490 args. The hook is run independent of how the macro was terminated
2485 (signal or normal termination). 2491 (signal or normal termination).
2486 2492
2494 2500
2495 +++ 2501 +++
2496 ** The user-option `face-font-registry-alternatives' specifies 2502 ** The user-option `face-font-registry-alternatives' specifies
2497 alternative font registry names to try when looking for a font. 2503 alternative font registry names to try when looking for a font.
2498 2504
2505 +++
2499 ** Function `md5' calculates the MD5 "message digest"/"checksum". 2506 ** Function `md5' calculates the MD5 "message digest"/"checksum".
2500 2507
2501 +++ 2508 +++
2502 ** Function `delete-frame' runs `delete-frame-hook' before actually 2509 ** Function `delete-frame' runs `delete-frame-hook' before actually
2503 deleting the frame. The hook is called with one arg, the frame 2510 deleting the frame. The hook is called with one arg, the frame
2517 +++ 2524 +++
2518 ** The new function `display-message-or-buffer' displays a message in 2525 ** The new function `display-message-or-buffer' displays a message in
2519 the echo area or pops up a buffer, depending on the length of the 2526 the echo area or pops up a buffer, depending on the length of the
2520 message. 2527 message.
2521 2528
2529 ---
2522 ** The new macro `with-auto-compression-mode' allows evaluating an 2530 ** The new macro `with-auto-compression-mode' allows evaluating an
2523 expression with auto-compression-mode enabled. 2531 expression with auto-compression-mode enabled.
2524 2532
2525 +++ 2533 +++
2526 ** In image specifications, `:heuristic-mask' has been replaced 2534 ** In image specifications, `:heuristic-mask' has been replaced
2527 with the more general `:mask' property. 2535 with the more general `:mask' property.
2528 2536
2529 +++ 2537 +++
2530 ** Image specifications accept more `:conversion's. 2538 ** Image specifications accept more `:conversion's.
2531 2539
2540 ---
2532 ** A `?' can be used in a symbol name without escaping it with a 2541 ** A `?' can be used in a symbol name without escaping it with a
2533 backslash. 2542 backslash.
2534 2543
2535 +++ 2544 +++
2536 ** Reading from the mini-buffer now reads from standard input if Emacs 2545 ** Reading from the mini-buffer now reads from standard input if Emacs
2543 2552
2544 +++ 2553 +++
2545 ** The argument of `down-list', `backward-up-list', `up-list', 2554 ** The argument of `down-list', `backward-up-list', `up-list',
2546 `kill-sexp', `backward-kill-sexp' and `mark-sexp' is now optional. 2555 `kill-sexp', `backward-kill-sexp' and `mark-sexp' is now optional.
2547 2556
2557 +++
2548 ** If `display-buffer-reuse-frames' is set, function `display-buffer' 2558 ** If `display-buffer-reuse-frames' is set, function `display-buffer'
2549 will raise frames displaying a buffer, instead of creating a new 2559 will raise frames displaying a buffer, instead of creating a new
2550 frame or window. 2560 frame or window.
2551 2561
2552 +++ 2562 +++
2564 comparison is done with `eq'. 2574 comparison is done with `eq'.
2565 2575
2566 +++ 2576 +++
2567 ** The function `delete' now also works with vectors and strings. 2577 ** The function `delete' now also works with vectors and strings.
2568 2578
2579 +++
2569 ** The meaning of the `:weakness WEAK' argument of make-hash-table 2580 ** The meaning of the `:weakness WEAK' argument of make-hash-table
2570 has been changed. 2581 has been changed: WEAK can now have new values `key-or-value' and
2582 `key-and-value', in addtion the `nil', `key', `value', and `t'.
2571 2583
2572 +++ 2584 +++
2573 ** Function `aset' stores any multibyte character in any string 2585 ** Function `aset' stores any multibyte character in any string
2574 without signaling "Attempt to change char length of a string". It may 2586 without signaling "Attempt to change char length of a string". It may
2575 convert a unibyte string to multibyte if necessary. 2587 convert a unibyte string to multibyte if necessary.
2576 2588
2577 +++ 2589 +++
2578 ** The value of the `help-echo' text property is called as a function 2590 ** The value of the `help-echo' text property is called as a function
2579 or evaluated, if it is not a string already, to obtain a help string. 2591 or evaluated, if it is not a string already, to obtain a help string.
2580 2592
2593 ---
2581 ** Function `make-obsolete' now has an optional arg to say when the 2594 ** Function `make-obsolete' now has an optional arg to say when the
2582 function was declared obsolete. 2595 function was declared obsolete.
2583 2596
2584 +++ 2597 +++
2585 ** Function `plist-member' is renamed from `widget-plist-member' (which is 2598 ** Function `plist-member' is renamed from `widget-plist-member' (which is
2586 retained as an alias). 2599 retained as an alias).
2587 2600
2601 ---
2588 ** Easy-menu's :filter now works as in XEmacs. 2602 ** Easy-menu's :filter now works as in XEmacs.
2589 It takes the unconverted (i.e. XEmacs) form of the menu and the result 2603 It takes the unconverted (i.e. XEmacs) form of the menu and the result
2590 is automatically converted to Emacs' form. 2604 is automatically converted to Emacs' form.
2591 2605
2606 +++
2592 ** The new function `window-list' has been defined 2607 ** The new function `window-list' has been defined
2593 2608
2594 - Function: window-list &optional FRAME WINDOW MINIBUF 2609 - Function: window-list &optional FRAME WINDOW MINIBUF
2595 2610
2596 Return a list of windows on FRAME, starting with WINDOW. FRAME nil or 2611 Return a list of windows on FRAME, starting with WINDOW. FRAME nil or
2598 the selected window. MINIBUF t means include the minibuffer window, 2613 the selected window. MINIBUF t means include the minibuffer window,
2599 even if it isn't active. MINIBUF nil or omitted means include the 2614 even if it isn't active. MINIBUF nil or omitted means include the
2600 minibuffer window only if it's active. MINIBUF neither nil nor t 2615 minibuffer window only if it's active. MINIBUF neither nil nor t
2601 means never include the minibuffer window. 2616 means never include the minibuffer window.
2602 2617
2618 +++
2603 ** There's a new function `some-window' defined as follows 2619 ** There's a new function `some-window' defined as follows
2604 2620
2605 - Function: some-window PREDICATE &optional MINIBUF ALL-FRAMES DEFAULT 2621 - Function: some-window PREDICATE &optional MINIBUF ALL-FRAMES DEFAULT
2606 2622
2607 Return a window satisfying PREDICATE. 2623 Return a window satisfying PREDICATE.
2630 ALL-FRAMES = 0 means include windows on all visible and iconified frames. 2646 ALL-FRAMES = 0 means include windows on all visible and iconified frames.
2631 ALL-FRAMES = t means include windows on all frames including invisible frames. 2647 ALL-FRAMES = t means include windows on all frames including invisible frames.
2632 If ALL-FRAMES is a frame, it means include windows on that frame. 2648 If ALL-FRAMES is a frame, it means include windows on that frame.
2633 Anything else means restrict to the selected frame. 2649 Anything else means restrict to the selected frame.
2634 2650
2651 +++
2635 ** The function `single-key-description' now encloses function key and 2652 ** The function `single-key-description' now encloses function key and
2636 event names in angle brackets. When called with a second optional 2653 event names in angle brackets. When called with a second optional
2637 argument non-nil, angle brackets won't be printed. 2654 argument non-nil, angle brackets won't be printed.
2638 2655
2656 +++
2639 ** If the variable `message-truncate-lines' is bound to t around a 2657 ** If the variable `message-truncate-lines' is bound to t around a
2640 call to `message', the echo area will not be resized to display that 2658 call to `message', the echo area will not be resized to display that
2641 message; it will be truncated instead, as it was done in 20.x. 2659 message; it will be truncated instead, as it was done in 20.x.
2642 Default value is nil. 2660 Default value is nil.
2643 2661
2648 +++ 2666 +++
2649 ** The new user option `line-number-display-limit-width' controls 2667 ** The new user option `line-number-display-limit-width' controls
2650 the maximum width of lines in a buffer for which Emacs displays line 2668 the maximum width of lines in a buffer for which Emacs displays line
2651 numbers in the mode line. The default is 200. 2669 numbers in the mode line. The default is 200.
2652 2670
2671 +++
2653 ** `select-safe-coding-system' now also checks the most preferred 2672 ** `select-safe-coding-system' now also checks the most preferred
2654 coding-system if buffer-file-coding-system is `undecided' and 2673 coding-system if buffer-file-coding-system is `undecided' and
2655 DEFAULT-CODING-SYSTEM is not specified, 2674 DEFAULT-CODING-SYSTEM is not specified,
2656 2675
2657 +++ 2676 +++
2658 ** The function `subr-arity' provides information about the argument 2677 ** The function `subr-arity' provides information about the argument
2659 list of a primitive. 2678 list of a primitive.
2660 2679
2680 +++
2661 ** `where-is-internal' now also accepts a list of keymaps. 2681 ** `where-is-internal' now also accepts a list of keymaps.
2662 2682
2663 +++ 2683 +++
2664 ** The text property `keymap' specifies a key map which overrides the 2684 ** The text property `keymap' specifies a key map which overrides the
2665 buffer's local map and the map specified by the `local-map' property. 2685 buffer's local map and the map specified by the `local-map' property.
2666 This is probably what most current uses of `local-map' want, rather 2686 This is probably what most current uses of `local-map' want, rather
2667 than replacing the local map. 2687 than replacing the local map.
2668 2688
2689 ---
2669 ** The obsolete variables `before-change-function' and 2690 ** The obsolete variables `before-change-function' and
2670 `after-change-function' are no longer acted upon and have been 2691 `after-change-function' are no longer acted upon and have been
2671 removed. Use `before-change-functions' and `after-change-functions' 2692 removed. Use `before-change-functions' and `after-change-functions'
2672 instead. 2693 instead.
2673 2694
2695 +++
2674 ** The function `apropos-mode' runs the hook `apropos-mode-hook'. 2696 ** The function `apropos-mode' runs the hook `apropos-mode-hook'.
2675 2697
2676 +++ 2698 +++
2677 ** `concat' no longer accepts individual integer arguments, 2699 ** `concat' no longer accepts individual integer arguments,
2678 as promised long ago. 2700 as promised long ago.
2679 2701
2702 +++
2680 ** The new function `float-time' returns the current time as a float. 2703 ** The new function `float-time' returns the current time as a float.
2681 2704
2705 +++
2682 ** The new variable auto-coding-regexp-alist specifies coding systems 2706 ** The new variable auto-coding-regexp-alist specifies coding systems
2683 for reading specific files, analogous to auto-coding-alist, but 2707 for reading specific files, analogous to auto-coding-alist, but
2684 patterns are checked against file contents instead of file names. 2708 patterns are checked against file contents instead of file names.
2685 2709
2686 2710
2689 Note that +++ before an item means the Lisp manual has been updated. 2713 Note that +++ before an item means the Lisp manual has been updated.
2690 --- means that I have decided it does not need to be in the Lisp manual. 2714 --- means that I have decided it does not need to be in the Lisp manual.
2691 When you add a new item, please add it without either +++ or --- 2715 When you add a new item, please add it without either +++ or ---
2692 so I will know I still need to look at it -- rms. 2716 so I will know I still need to look at it -- rms.
2693 2717
2718 ---
2694 *** The features `md5' and `overlay' are now provided by default. 2719 *** The features `md5' and `overlay' are now provided by default.
2695 2720
2721 ---
2696 *** The special form `save-restriction' now works correctly even if the 2722 *** The special form `save-restriction' now works correctly even if the
2697 buffer is widened inside the save-restriction and changes made outside 2723 buffer is widened inside the save-restriction and changes made outside
2698 the original restriction. Previously, doing this would cause the saved 2724 the original restriction. Previously, doing this would cause the saved
2699 restriction to be restored incorrectly. 2725 restriction to be restored incorrectly.
2700 2726
2727 ---
2701 *** The functions `find-charset-region' and `find-charset-string' include 2728 *** The functions `find-charset-region' and `find-charset-string' include
2702 `eight-bit-control' and/or `eight-bit-graphic' in the returned list 2729 `eight-bit-control' and/or `eight-bit-graphic' in the returned list
2703 when they find 8-bit characters. Previously, they included `ascii' in a 2730 when they find 8-bit characters. Previously, they included `ascii' in a
2704 multibyte buffer and `unknown' in a unibyte buffer. 2731 multibyte buffer and `unknown' in a unibyte buffer.
2705 2732
2733 ---
2706 *** The functions `set-buffer-modified', `string-as-multibyte' and 2734 *** The functions `set-buffer-modified', `string-as-multibyte' and
2707 `string-as-unibyte' change the byte sequence of a buffer if it 2735 `string-as-unibyte' change the byte sequence of a buffer if it
2708 contains a character from the `eight-bit-control' character set. 2736 contains a character from the `eight-bit-control' character set.
2709 2737
2738 ---
2710 *** The handling of multibyte sequences in a multibyte buffer is 2739 *** The handling of multibyte sequences in a multibyte buffer is
2711 changed. Previously, a byte sequence matching the pattern 2740 changed. Previously, a byte sequence matching the pattern
2712 [\200-\237][\240-\377]+ was interpreted as a single character 2741 [\200-\237][\240-\377]+ was interpreted as a single character
2713 regardless of the length of the trailing bytes [\240-\377]+. Thus, if 2742 regardless of the length of the trailing bytes [\240-\377]+. Thus, if
2714 the sequence was longer than what the leading byte indicated, the 2743 the sequence was longer than what the leading byte indicated, the
2715 extra trailing bytes were ignored by Lisp functions. Now such extra 2744 extra trailing bytes were ignored by Lisp functions. Now such extra
2716 bytes are independent 8-bit characters belonging to the charset 2745 bytes are independent 8-bit characters belonging to the charset
2717 eight-bit-graphic. 2746 eight-bit-graphic.
2718 2747
2748 ---
2719 ** Fontsets are now implemented using char-tables. 2749 ** Fontsets are now implemented using char-tables.
2720 2750
2721 A fontset can now be specified for each independent character, for 2751 A fontset can now be specified for each independent character, for
2722 a group of characters or for a character set rather than just for a 2752 a group of characters or for a character set rather than just for a
2723 character set as previously. 2753 character set as previously.
2775 a composition at a specified position in a buffer or a string. 2805 a composition at a specified position in a buffer or a string.
2776 2806
2777 *** The function `decompose-composite-char' is now labeled as 2807 *** The function `decompose-composite-char' is now labeled as
2778 obsolete. 2808 obsolete.
2779 2809
2810 ---
2780 ** The new coding system `mac-roman' is primarily intended for use on 2811 ** The new coding system `mac-roman' is primarily intended for use on
2781 the Macintosh but may be used generally for Macintosh-encoded text. 2812 the Macintosh but may be used generally for Macintosh-encoded text.
2782 2813
2814 ---
2783 ** The new character sets `mule-unicode-0100-24ff', 2815 ** The new character sets `mule-unicode-0100-24ff',
2784 `mule-unicode-2500-33ff', and `mule-unicode-e000-ffff' have been 2816 `mule-unicode-2500-33ff', and `mule-unicode-e000-ffff' have been
2785 introduced for Unicode characters in the range U+0100..U+24FF, 2817 introduced for Unicode characters in the range U+0100..U+24FF,
2786 U+2500..U+33FF, U+E000..U+FFFF respectively. 2818 U+2500..U+33FF, U+E000..U+FFFF respectively.
2787 2819
2790 etc. and the same characters in the `mule-unicode-*' charsets are 2822 etc. and the same characters in the `mule-unicode-*' charsets are
2791 different characters, as far as Emacs is concerned. For example, text 2823 different characters, as far as Emacs is concerned. For example, text
2792 which includes Unicode characters from the Latin-2 locale cannot be 2824 which includes Unicode characters from the Latin-2 locale cannot be
2793 encoded by Emacs with ISO 8859-2 coding system. 2825 encoded by Emacs with ISO 8859-2 coding system.
2794 2826
2827 ---
2795 ** The new coding system `mule-utf-8' has been added. 2828 ** The new coding system `mule-utf-8' has been added.
2796 It provides limited support for decoding/encoding UTF-8 text. For 2829 It provides limited support for decoding/encoding UTF-8 text. For
2797 details, please see the documentation string of this coding system. 2830 details, please see the documentation string of this coding system.
2798 2831
2832 ---
2799 ** The new character sets `japanese-jisx0213-1' and 2833 ** The new character sets `japanese-jisx0213-1' and
2800 `japanese-jisx0213-2' have been introduced for the new Japanese 2834 `japanese-jisx0213-2' have been introduced for the new Japanese
2801 standard JIS X 0213 Plane 1 and Plane 2. 2835 standard JIS X 0213 Plane 1 and Plane 2.
2802 2836
2837 +++
2803 ** The new character sets `latin-iso8859-14' and `latin-iso8859-15' 2838 ** The new character sets `latin-iso8859-14' and `latin-iso8859-15'
2804 have been introduced. 2839 have been introduced.
2805 2840
2806 +++ 2841 +++
2807 ** The new character sets `eight-bit-control' and `eight-bit-graphic' 2842 ** The new character sets `eight-bit-control' and `eight-bit-graphic'
2816 2851
2817 +++ 2852 +++
2818 ** If the APPEND argument of `write-region' is an integer, it seeks to 2853 ** If the APPEND argument of `write-region' is an integer, it seeks to
2819 that offset in the file before writing. 2854 that offset in the file before writing.
2820 2855
2856 ---
2821 ** The function `add-minor-mode' has been added for convenience and 2857 ** The function `add-minor-mode' has been added for convenience and
2822 compatibility with XEmacs (and is used internally by define-minor-mode). 2858 compatibility with XEmacs (and is used internally by define-minor-mode).
2823 2859
2860 ---
2824 ** The function `shell-command' now sets the default directory of the 2861 ** The function `shell-command' now sets the default directory of the
2825 `*Shell Command Output*' buffer to the default directory of the buffer 2862 `*Shell Command Output*' buffer to the default directory of the buffer
2826 from which the command was issued. 2863 from which the command was issued.
2827 2864
2865 ---
2828 ** The functions `query-replace', `query-replace-regexp', 2866 ** The functions `query-replace', `query-replace-regexp',
2829 `query-replace-regexp-eval' `map-query-replace-regexp', 2867 `query-replace-regexp-eval' `map-query-replace-regexp',
2830 `replace-string', `replace-regexp', and `perform-replace' take two 2868 `replace-string', `replace-regexp', and `perform-replace' take two
2831 additional optional arguments START and END that specify the region to 2869 additional optional arguments START and END that specify the region to
2832 operate on. 2870 operate on.
2833 2871
2872 ---
2834 ** The new function `count-screen-lines' is a more flexible alternative 2873 ** The new function `count-screen-lines' is a more flexible alternative
2835 to `window-buffer-height'. 2874 to `window-buffer-height'.
2836 2875
2837 - Function: count-screen-lines &optional BEG END COUNT-FINAL-NEWLINE WINDOW 2876 - Function: count-screen-lines &optional BEG END COUNT-FINAL-NEWLINE WINDOW
2838 2877
2853 Like `vertical-motion', `count-screen-lines' always uses the current 2892 Like `vertical-motion', `count-screen-lines' always uses the current
2854 buffer, regardless of which buffer is displayed in WINDOW. This makes 2893 buffer, regardless of which buffer is displayed in WINDOW. This makes
2855 possible to use `count-screen-lines' in any buffer, whether or not it 2894 possible to use `count-screen-lines' in any buffer, whether or not it
2856 is currently displayed in some window. 2895 is currently displayed in some window.
2857 2896
2897 +++
2858 ** The new function `mapc' is like `mapcar' but doesn't collect the 2898 ** The new function `mapc' is like `mapcar' but doesn't collect the
2859 argument function's results. 2899 argument function's results.
2860 2900
2901 +++
2861 ** The functions base64-decode-region and base64-decode-string now 2902 ** The functions base64-decode-region and base64-decode-string now
2862 signal an error instead of returning nil if decoding fails. Also, 2903 signal an error instead of returning nil if decoding fails. Also,
2863 base64-decode-string now always returns a unibyte string (in Emacs 20, 2904 `base64-decode-string' now always returns a unibyte string (in Emacs
2864 it returned a multibyte string when the result was a valid multibyte 2905 20, it returned a multibyte string when the result was a valid multibyte
2865 sequence). 2906 sequence).
2866 2907
2908 ---
2867 ** The function sendmail-user-agent-compose now recognizes a `body' 2909 ** The function sendmail-user-agent-compose now recognizes a `body'
2868 header in the list of headers passed to it. 2910 header in the list of headers passed to it.
2869 2911
2912 +++
2870 ** The new function member-ignore-case works like `member', but 2913 ** The new function member-ignore-case works like `member', but
2871 ignores differences in case and text representation. 2914 ignores differences in case and text representation.
2872 2915
2916 +++
2873 ** The buffer-local variable cursor-type can be used to specify the 2917 ** The buffer-local variable cursor-type can be used to specify the
2874 cursor to use in windows displaying a buffer. Values are interpreted 2918 cursor to use in windows displaying a buffer. Values are interpreted
2875 as follows: 2919 as follows:
2876 2920
2877 t use the cursor specified for the frame (default) 2921 t use the cursor specified for the frame (default)
2878 nil don't display a cursor 2922 nil don't display a cursor
2879 `bar' display a bar cursor with default width 2923 `bar' display a bar cursor with default width
2880 (bar . WIDTH) display a bar cursor with width WIDTH 2924 (bar . WIDTH) display a bar cursor with width WIDTH
2881 others display a box cursor. 2925 others display a box cursor.
2882 2926
2927 +++
2883 ** The variable open-paren-in-column-0-is-defun-start controls whether 2928 ** The variable open-paren-in-column-0-is-defun-start controls whether
2884 an open parenthesis in column 0 is considered to be the start of a 2929 an open parenthesis in column 0 is considered to be the start of a
2885 defun. If set, the default, it is considered a defun start. If not 2930 defun. If set, the default, it is considered a defun start. If not
2886 set, an open parenthesis in column 0 has no special meaning. 2931 set, an open parenthesis in column 0 has no special meaning.
2887 2932
2933 +++
2888 ** The new function `string-to-syntax' can be used to translate syntax 2934 ** The new function `string-to-syntax' can be used to translate syntax
2889 specifications in string form as accepted by `modify-syntax-entry' to 2935 specifications in string form as accepted by `modify-syntax-entry' to
2890 the cons-cell form that is used for the values of the `syntax-table' 2936 the cons-cell form that is used for the values of the `syntax-table'
2891 text property, and in `font-lock-syntactic-keywords'. 2937 text property, and in `font-lock-syntactic-keywords'.
2892 2938
2893 Example: 2939 Example:
2894 2940
2895 (string-to-syntax "()") 2941 (string-to-syntax "()")
2896 => (4 . 41) 2942 => (4 . 41)
2897 2943
2944 +++
2898 ** Emacs' reader supports CL read syntax for integers in bases 2945 ** Emacs' reader supports CL read syntax for integers in bases
2899 other than 10. 2946 other than 10.
2900 2947
2901 *** `#BINTEGER' or `#bINTEGER' reads INTEGER in binary (radix 2). 2948 *** `#BINTEGER' or `#bINTEGER' reads INTEGER in binary (radix 2).
2902 INTEGER optionally contains a sign. 2949 INTEGER optionally contains a sign.
2921 #2R-111 2968 #2R-111
2922 => -7 2969 => -7
2923 #25rah 2970 #25rah
2924 => 267 2971 => 267
2925 2972
2973 +++
2926 ** The function `documentation-property' now evaluates the value of 2974 ** The function `documentation-property' now evaluates the value of
2927 the given property to obtain a string if it doesn't refer to etc/DOC 2975 the given property to obtain a string if it doesn't refer to etc/DOC
2928 and isn't a string. 2976 and isn't a string.
2929 2977
2978 +++
2930 ** If called for a symbol, the function `documentation' now looks for 2979 ** If called for a symbol, the function `documentation' now looks for
2931 a `function-documentation' property of that symbol. If it has a non-nil 2980 a `function-documentation' property of that symbol. If it has a non-nil
2932 value, the documentation is taken from that value. If the value is 2981 value, the documentation is taken from that value. If the value is
2933 not a string, it is evaluated to obtain a string. 2982 not a string, it is evaluated to obtain a string.
2934 2983
2936 ** The last argument of `define-key-after' defaults to t for convenience. 2985 ** The last argument of `define-key-after' defaults to t for convenience.
2937 2986
2938 ** The new function `replace-regexp-in-string' replaces all matches 2987 ** The new function `replace-regexp-in-string' replaces all matches
2939 for a regexp in a string. 2988 for a regexp in a string.
2940 2989
2990 +++
2941 ** `mouse-position' now runs the abnormal hook 2991 ** `mouse-position' now runs the abnormal hook
2942 `mouse-position-function'. 2992 `mouse-position-function'.
2943 2993
2994 +++
2944 ** The function string-to-number now returns a float for numbers 2995 ** The function string-to-number now returns a float for numbers
2945 that don't fit into a Lisp integer. 2996 that don't fit into a Lisp integer.
2946 2997
2998 +++
2947 ** The variable keyword-symbols-constants-flag has been removed. 2999 ** The variable keyword-symbols-constants-flag has been removed.
2948 Keywords are now always considered constants. 3000 Keywords are now always considered constants.
2949 3001
2950 +++ 3002 +++
2951 ** The new function `delete-and-extract-region' deletes text and 3003 ** The new function `delete-and-extract-region' deletes text and
2952 returns it. 3004 returns it.
2953 3005
3006 +++
2954 ** The function `clear-this-command-keys' now also clears the vector 3007 ** The function `clear-this-command-keys' now also clears the vector
2955 returned by function `recent-keys'. 3008 returned by function `recent-keys'.
2956 3009
2957 +++ 3010 +++
2958 ** Variables `beginning-of-defun-function' and `end-of-defun-function' 3011 ** Variables `beginning-of-defun-function' and `end-of-defun-function'
3064 3117
3065 (push NEWELT LISTNAME) add NEWELT to the front of LISTNAME's value. 3118 (push NEWELT LISTNAME) add NEWELT to the front of LISTNAME's value.
3066 (pop LISTNAME) return first elt of LISTNAME, and remove it 3119 (pop LISTNAME) return first elt of LISTNAME, and remove it
3067 (thus altering the value of LISTNAME). 3120 (thus altering the value of LISTNAME).
3068 3121
3122 ---
3069 ** New dolist and dotimes macros. 3123 ** New dolist and dotimes macros.
3070 3124
3071 Simple versions of the dolist and dotimes macros of Common Lisp 3125 Simple versions of the dolist and dotimes macros of Common Lisp
3072 are now defined in Emacs Lisp. 3126 are now defined in Emacs Lisp.
3073 3127
3397 Other properties are ignored. 3451 Other properties are ignored.
3398 3452
3399 An alternative interface is called as 3453 An alternative interface is called as
3400 (play-sound-file FILE &optional VOLUME DEVICE). 3454 (play-sound-file FILE &optional VOLUME DEVICE).
3401 3455
3456 ---
3402 ** `multimedia' is a new Finder keyword and Custom group. 3457 ** `multimedia' is a new Finder keyword and Custom group.
3403 3458
3404 +++ 3459 +++
3405 ** keywordp is a new predicate to test efficiently for an object being 3460 ** keywordp is a new predicate to test efficiently for an object being
3406 a keyword symbol. 3461 a keyword symbol.
3407 3462
3463 +++
3408 ** Changes to garbage collection 3464 ** Changes to garbage collection
3409 3465
3410 *** The function garbage-collect now additionally returns the number 3466 *** The function garbage-collect now additionally returns the number
3411 of live and free strings. 3467 of live and free strings.
3412 3468
3424 +++ 3480 +++
3425 ** The function `pos-visible-in-window-p' now has a third optional 3481 ** The function `pos-visible-in-window-p' now has a third optional
3426 argument, PARTIALLY. If a character is only partially visible, nil is 3482 argument, PARTIALLY. If a character is only partially visible, nil is
3427 returned, unless PARTIALLY is non-nil. 3483 returned, unless PARTIALLY is non-nil.
3428 3484
3485 +++
3429 ** On window systems, `glyph-table' is no longer used. 3486 ** On window systems, `glyph-table' is no longer used.
3430 3487
3431 +++ 3488 +++
3432 ** Help strings in menu items are now used to provide `help-echo' text. 3489 ** Help strings in menu items are now used to provide `help-echo' text.
3433 3490
3473 Note that +++ before an item means the Lisp manual has been updated. 3530 Note that +++ before an item means the Lisp manual has been updated.
3474 --- means that I have decided it does not need to be in the Lisp manual. 3531 --- means that I have decided it does not need to be in the Lisp manual.
3475 When you add a new item, please add it without either +++ or --- 3532 When you add a new item, please add it without either +++ or ---
3476 so I will know I still need to look at it -- rms. 3533 so I will know I still need to look at it -- rms.
3477 3534
3535 ---
3478 ** The function tty-suppress-bold-inverse-default-colors can be used 3536 ** The function tty-suppress-bold-inverse-default-colors can be used
3479 to make Emacs avoid displaying text with bold black foreground on TTYs. 3537 to make Emacs avoid displaying text with bold black foreground on TTYs.
3480 3538
3481 Some terminals, notably PC consoles, emulate bold text by displaying 3539 Some terminals, notably PC consoles, emulate bold text by displaying
3482 text in brighter colors. On such a console, a bold black foreground 3540 text in brighter colors. On such a console, a bold black foreground
3813 3871
3814 VALUE is the name of a face from which to inherit attributes, or a list 3872 VALUE is the name of a face from which to inherit attributes, or a list
3815 of face names. Attributes from inherited faces are merged into the face 3873 of face names. Attributes from inherited faces are merged into the face
3816 like an underlying face would be, with higher priority than underlying faces. 3874 like an underlying face would be, with higher priority than underlying faces.
3817 3875
3876 +++
3818 *** Face attributes and X resources 3877 *** Face attributes and X resources
3819 3878
3820 The following X resource names can be used to set face attributes 3879 The following X resource names can be used to set face attributes
3821 from X resources: 3880 from X resources:
3822 3881
3884 modify their color-related behavior. 3943 modify their color-related behavior.
3885 3944
3886 The primitives `color-gray-p' and `color-supported-p' also work for 3945 The primitives `color-gray-p' and `color-supported-p' also work for
3887 any frame type. 3946 any frame type.
3888 3947
3948 +++
3889 ** Platform-independent functions to describe display capabilities. 3949 ** Platform-independent functions to describe display capabilities.
3890 3950
3891 The new functions `display-mouse-p', `display-popup-menus-p', 3951 The new functions `display-mouse-p', `display-popup-menus-p',
3892 `display-graphic-p', `display-selections-p', `display-screens', 3952 `display-graphic-p', `display-selections-p', `display-screens',
3893 `display-pixel-width', `display-pixel-height', `display-mm-width', 3953 `display-pixel-width', `display-pixel-height', `display-mm-width',
3911 3971
3912 The function minibuffer-prompt-end returns the current position of the 3972 The function minibuffer-prompt-end returns the current position of the
3913 end of the minibuffer prompt, if the minibuffer is current. 3973 end of the minibuffer prompt, if the minibuffer is current.
3914 Otherwise, it returns zero. 3974 Otherwise, it returns zero.
3915 3975
3976 +++
3916 ** New `field' abstraction in buffers. 3977 ** New `field' abstraction in buffers.
3917 3978
3918 There is now code to support an abstraction called `fields' in emacs 3979 There is now code to support an abstraction called `fields' in emacs
3919 buffers. A field is a contiguous region of text with the same `field' 3980 buffers. A field is a contiguous region of text with the same `field'
3920 property (which can be a text property or an overlay). 3981 property (which can be a text property or an overlay).
4515 4576
4516 The same mechanism is used to determine the `face' and `help-echo' 4577 The same mechanism is used to determine the `face' and `help-echo'
4517 properties of strings in the mode line. See `bindings.el' for an 4578 properties of strings in the mode line. See `bindings.el' for an
4518 example. 4579 example.
4519 4580
4581 +++
4520 *** If a mode line element has the form `(:eval FORM)', FORM is 4582 *** If a mode line element has the form `(:eval FORM)', FORM is
4521 evaluated and the result is used as mode line element. 4583 evaluated and the result is used as mode line element.
4522 4584
4523 +++ 4585 +++
4524 *** You can suppress mode-line display by setting the buffer-local 4586 *** You can suppress mode-line display by setting the buffer-local