comparison etc/NEWS @ 51926:402fb9100d33

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Mon, 14 Jul 2003 16:05:43 +0000
parents 80522e1627b8
children c94d493b710a
comparison
equal deleted inserted replaced
51925:803b9aa5604e 51926:402fb9100d33
1678 with Custom. cplus-md.el, which required it, has also been removed. 1678 with Custom. cplus-md.el, which required it, has also been removed.
1679 1679
1680 ** New package benchmark.el contains simple support for convenient 1680 ** New package benchmark.el contains simple support for convenient
1681 timing measurements of code (including the garbage collection component). 1681 timing measurements of code (including the garbage collection component).
1682 1682
1683 ** The default values of paragraph-start and indent-line-function have
1684 been changed to reflect those used in Text mode rather than those used
1685 in Indented-Text mode.
1686
1687 ** If you set `query-replace-skip-read-only' non-nil,
1688 `query-replace' and related functions simply ignore
1689 a match if part of it has a read-only property.
1690
1683 1691
1684 * Lisp Changes in Emacs 21.4 1692 * Lisp Changes in Emacs 21.4
1685 1693
1694 +++
1686 ** The new function `window-inside-edges' returns the edges of the 1695 ** The new function `window-inside-edges' returns the edges of the
1687 actual text portion of the window, not including the scroll bar or 1696 actual text portion of the window, not including the scroll bar or
1688 divider line, the fringes, the display margins, the header line and 1697 divider line, the fringes, the display margins, the header line and
1689 the mode line. 1698 the mode line.
1690 1699
1700 +++
1691 ** The new functions `window-pixel-edges' and `window-inside-pixel-edges' 1701 ** The new functions `window-pixel-edges' and `window-inside-pixel-edges'
1692 return window edges in units of pixels, rather than columns and lines. 1702 return window edges in units of pixels, rather than columns and lines.
1693 1703
1704 +++
1694 ** The kill-buffer-hook is now permanent-local. 1705 ** The kill-buffer-hook is now permanent-local.
1695 1706
1696 ** The `local-map' property now also works at the ends of overlays and 1707 +++
1708 ** `select-window' takes an optional second argument `norecord', like
1709 `switch-to-buffer'.
1710
1711 +++
1712 ** The new macro `with-selected-window' temporarily switches the
1713 selected window without impacting the order of buffer-list.
1714
1715 +++
1716 ** The `keymap' property now also works at the ends of overlays and
1697 text-properties, according to their stickiness. This also means that it 1717 text-properties, according to their stickiness. This also means that it
1698 works with empty overlays. The same hold for the `keymap' property. 1718 works with empty overlays. The same hold for the `local-map' property.
1699 1719
1700 ** `select-window' takes a second optional argument `norecord', like 1720 +++
1701 `switch-to-buffer'. `with-selected-window' is a new macro that uses
1702 this to temporarily switch the selected window without impacting
1703 the order of buffer-list.
1704
1705 ** (map-keymap FUNCTION KEYMAP) applies the function to each binding 1721 ** (map-keymap FUNCTION KEYMAP) applies the function to each binding
1706 in the keymap. 1722 in the keymap.
1707 1723
1724 ---
1708 ** VC changes for backends: 1725 ** VC changes for backends:
1709 *** (vc-switches BACKEND OPERATION) is a new function for use by backends. 1726 *** (vc-switches BACKEND OPERATION) is a new function for use by backends.
1710 *** The new `find-version' backend function replaces the `destfile' 1727 *** The new `find-version' backend function replaces the `destfile'
1711 parameter of the `checkout' backend function. 1728 parameter of the `checkout' backend function.
1712 Old code still works thanks to a default `find-version' behavior that 1729 Old code still works thanks to a default `find-version' behavior that
1713 uses the old `destfile' parameter. 1730 uses the old `destfile' parameter.
1714 1731
1732 +++
1715 ** The new macro dynamic-completion-table supports using functions 1733 ** The new macro dynamic-completion-table supports using functions
1716 as a dynamic completion table. 1734 as a dynamic completion table.
1717 1735
1718 (dynamic-completion-table FUN) 1736 (dynamic-completion-table FUN)
1719 1737
1722 completions. This alist may be a full list of possible completions so that FUN 1740 completions. This alist may be a full list of possible completions so that FUN
1723 can ignore the value of its argument. If completion is performed in the 1741 can ignore the value of its argument. If completion is performed in the
1724 minibuffer, FUN will be called in the buffer from which the minibuffer was 1742 minibuffer, FUN will be called in the buffer from which the minibuffer was
1725 entered. dynamic-completion-table then computes the completion. 1743 entered. dynamic-completion-table then computes the completion.
1726 1744
1745 +++
1727 ** The new macro lazy-completion-table initializes a variable 1746 ** The new macro lazy-completion-table initializes a variable
1728 as a lazy completion table. 1747 as a lazy completion table.
1729 1748
1730 (lazy-completion-table VAR FUN &rest ARGS) 1749 (lazy-completion-table VAR FUN &rest ARGS)
1731 1750
1734 ARGS. FUN must return the completion table that will be stored in VAR. If 1753 ARGS. FUN must return the completion table that will be stored in VAR. If
1735 completion is requested in the minibuffer, FUN will be called in the buffer 1754 completion is requested in the minibuffer, FUN will be called in the buffer
1736 from which the minibuffer was entered. The return value of 1755 from which the minibuffer was entered. The return value of
1737 `lazy-completion-table' must be used to initialize the value of VAR. 1756 `lazy-completion-table' must be used to initialize the value of VAR.
1738 1757
1758 +++
1739 ** `minor-mode-list' now holds a list of minor mode commands. 1759 ** `minor-mode-list' now holds a list of minor mode commands.
1740 1760
1741 ** The new command `modify-all-frames-parameters' modifies parameters 1761 ** The new command `modify-all-frames-parameters' modifies parameters
1742 for all (existing and future) frames. 1762 for all (existing and future) frames.
1743 1763
1764 +++
1744 ** `sit-for' can now be called with args (SECONDS &optional NODISP). 1765 ** `sit-for' can now be called with args (SECONDS &optional NODISP).
1745 1766
1767 +++
1746 ** New standard font-lock face `font-lock-preprocessor-face'. 1768 ** New standard font-lock face `font-lock-preprocessor-face'.
1747 1769
1770 +++
1748 ** The macro `with-syntax-table' does not copy the table any more. 1771 ** The macro `with-syntax-table' does not copy the table any more.
1749 1772
1750 ** The variable `face-font-rescale-alist' specifies how much larger 1773 ** The variable `face-font-rescale-alist' specifies how much larger
1751 (or smaller) font we should use. For instance, if the value is 1774 (or smaller) font we should use. For instance, if the value is
1752 '((SOME-FONTNAME-PATTERN . 1.3)) and a face requests a font of 10 1775 '((SOME-FONTNAME-PATTERN . 1.3)) and a face requests a font of 10
2486 on the screen. 2509 on the screen.
2487 2510
2488 You should not set it up so that both the position before and the position 2511 You should not set it up so that both the position before and the position
2489 after are unacceptable. 2512 after are unacceptable.
2490 2513
2514 +++
2491 ** field-beginning and field-end now accept an additional optional 2515 ** field-beginning and field-end now accept an additional optional
2492 argument, LIMIT. 2516 argument, LIMIT.
2493 2517
2494 +++ 2518 +++
2495 ** define-abbrev now accepts an optional argument SYSTEM-FLAG. If 2519 ** define-abbrev now accepts an optional argument SYSTEM-FLAG. If
2496 non-nil, this marks the abbrev as a "system" abbrev, which means that 2520 non-nil, this marks the abbrev as a "system" abbrev, which means that
2497 it won't be stored in the user's abbrevs file if he saves the abbrevs. 2521 it won't be stored in the user's abbrevs file if he saves the abbrevs.
2498 Major modes that predefine some abbrevs should always specify this 2522 Major modes that predefine some abbrevs should always specify this
2499 flag. 2523 flag.
2500 2524
2525 ---
2501 ** Support for Mocklisp has been removed. 2526 ** Support for Mocklisp has been removed.
2502 2527
2528 ---
2503 ** The function insert-string is now obsolete. 2529 ** The function insert-string is now obsolete.
2504 2530
2531 ---
2505 ** The precedence of file-name-handlers has been changed. 2532 ** The precedence of file-name-handlers has been changed.
2506 Instead of blindly choosing the first handler that matches, 2533 Instead of blindly choosing the first handler that matches,
2507 find-file-name-handler now gives precedence to a file-name handler 2534 find-file-name-handler now gives precedence to a file-name handler
2508 that matches near the end of the file name. More specifically, the 2535 that matches near the end of the file name. More specifically, the
2509 handler whose (match-beginning 0) is the largest is chosen. 2536 handler whose (match-beginning 0) is the largest is chosen.
2510 In case of ties, the old "first matched" rule applies. 2537 In case of ties, the old "first matched" rule applies.
2511 2538
2539 ---
2512 ** Dense keymaps now handle inheritance correctly. 2540 ** Dense keymaps now handle inheritance correctly.
2513 Previously a dense keymap would hide all of the simple-char key 2541 Previously a dense keymap would hide all of the simple-char key
2514 bindings of the parent keymap. 2542 bindings of the parent keymap.
2515 2543
2544 ---
2516 ** jit-lock obeys a new text-property `jit-lock-defer-multiline'. 2545 ** jit-lock obeys a new text-property `jit-lock-defer-multiline'.
2517 If a piece of text with that property gets contextually refontified 2546 If a piece of text with that property gets contextually refontified
2518 (see jit-lock-defer-contextually), then all of that text will 2547 (see jit-lock-defer-contextually), then all of that text will
2519 be refontified. This is useful when the syntax of a textual element 2548 be refontified. This is useful when the syntax of a textual element
2520 depends on text several lines further down (and when font-lock-multiline 2549 depends on text several lines further down (and when font-lock-multiline
2529 Adding/removing the last `e' changes the `bar' from being a piece of 2558 Adding/removing the last `e' changes the `bar' from being a piece of
2530 text to being a piece of code, so you'd put a jit-lock-defer-multiline 2559 text to being a piece of code, so you'd put a jit-lock-defer-multiline
2531 property over the second half of the command to force (deferred) 2560 property over the second half of the command to force (deferred)
2532 refontification of `bar' whenever the `e' is added/removed. 2561 refontification of `bar' whenever the `e' is added/removed.
2533 2562
2563 ---
2534 ** describe-vector now takes a second argument `describer' which is 2564 ** describe-vector now takes a second argument `describer' which is
2535 called to print the entries' values. It defaults to `princ'. 2565 called to print the entries' values. It defaults to `princ'.
2536 2566
2537 ** defcustom and other custom declarations now use a default group 2567 ** defcustom and other custom declarations now use a default group
2538 (the last group defined in the same file) when no :group was given. 2568 (the last group defined in the same file) when no :group was given.
2539 2569
2570 +++
2540 ** emacsserver now runs pre-command-hook and post-command-hook when 2571 ** emacsserver now runs pre-command-hook and post-command-hook when
2541 it receives a request from emacsclient. 2572 it receives a request from emacsclient.
2542 2573
2574 ---
2543 ** The variable `recursive-load-depth-limit' has been deleted. 2575 ** The variable `recursive-load-depth-limit' has been deleted.
2544 Emacs now signals an error if the same file is loaded with more 2576 Emacs now signals an error if the same file is loaded with more
2545 than 3 levels of nesting. 2577 than 3 levels of nesting.
2546 2578
2547 ** The default values of paragraph-start and indent-line-function have 2579 ---
2548 been changed to reflect those used in Text mode rather than those used
2549 in Indented-Text mode.
2550
2551 ** If a major mode function has a non-nil `no-clone-indirect' 2580 ** If a major mode function has a non-nil `no-clone-indirect'
2552 property, `clone-indirect-buffer' signals an error if you use 2581 property, `clone-indirect-buffer' signals an error if you use
2553 it in that buffer. 2582 it in that buffer.
2554 2583
2555 ** If you set `query-replace-skip-read-only' non-nil, 2584 ---
2556 `query-replace' and related functions simply ignore
2557 a match if part of it has a read-only property.
2558
2559 ** In `replace-match', the replacement text no longer inherits 2585 ** In `replace-match', the replacement text no longer inherits
2560 properties from surrounding text. 2586 properties from surrounding text.
2561 2587
2588 +++
2562 ** New function `buffer-local-value'. 2589 ** New function `buffer-local-value'.
2563
2564 - Function: buffer-local-value variable buffer
2565 2590
2566 This function returns the buffer-local binding of VARIABLE (a symbol) 2591 This function returns the buffer-local binding of VARIABLE (a symbol)
2567 in buffer BUFFER. If VARIABLE does not have a buffer-local binding in 2592 in buffer BUFFER. If VARIABLE does not have a buffer-local binding in
2568 buffer BUFFER, it returns the default value of VARIABLE instead. 2593 buffer BUFFER, it returns the default value of VARIABLE instead.
2569 2594
2595 ---
2570 ** New function `text-clone-create'. Text clones are chunks of text 2596 ** New function `text-clone-create'. Text clones are chunks of text
2571 that are kept identical by transparently propagating changes from one 2597 that are kept identical by transparently propagating changes from one
2572 clone to the other. 2598 clone to the other.
2573 2599
2600 +++
2574 ** font-lock can manage arbitrary text-properties beside `face'. 2601 ** font-lock can manage arbitrary text-properties beside `face'.
2575 *** the FACENAME returned in font-lock-keywords can be a list 2602 *** the FACENAME returned in font-lock-keywords can be a list
2576 of the form (face FACE PROP1 VAL1 PROP2 VAL2 ...) so you can set 2603 of the form (face FACE PROP1 VAL1 PROP2 VAL2 ...) so you can set
2577 other properties than `face'. 2604 other properties than `face'.
2578 *** font-lock-extra-managed-props can be set to make sure those extra 2605 *** font-lock-extra-managed-props can be set to make sure those extra
2579 properties are automatically cleaned up by font-lock. 2606 properties are automatically cleaned up by font-lock.
2580 2607
2608 ---
2581 ** The special treatment of faces whose names are of the form `fg:COLOR' 2609 ** The special treatment of faces whose names are of the form `fg:COLOR'
2582 or `bg:COLOR' has been removed. Lisp programs should use the 2610 or `bg:COLOR' has been removed. Lisp programs should use the
2583 `defface' facility for defining faces with specific colors. 2611 `defface' facility for defining faces with specific colors, or use
2584 2612 the feature of specifying the face attributes :foreground and :background
2613 directly in the `face' property instead of using a named face.
2614
2615 +++
2585 ** The new function `run-mode-hooks' and the new macro `delay-mode-hooks' 2616 ** The new function `run-mode-hooks' and the new macro `delay-mode-hooks'
2586 are used by define-derived-mode to make sure the mode hook for the 2617 are used by define-derived-mode to make sure the mode hook for the
2587 parent mode is run at the end of the child mode. 2618 parent mode is run at the end of the child mode.
2588 2619
2620 +++
2589 ** define-minor-mode now accepts arbitrary additional keyword arguments 2621 ** define-minor-mode now accepts arbitrary additional keyword arguments
2590 and simply passes them to defcustom, if applicable. 2622 and simply passes them to defcustom, if applicable.
2591 2623
2624 +++
2592 ** define-derived-mode by default creates a new empty abbrev table. 2625 ** define-derived-mode by default creates a new empty abbrev table.
2593 It does not copy abbrevs from the parent mode's abbrev table. 2626 It does not copy abbrevs from the parent mode's abbrev table.
2594 2627
2595 +++ 2628 +++
2596 ** `provide' and `featurep' now accept an optional second argument 2629 ** `provide' and `featurep' now accept an optional second argument
2597 to test/provide subfeatures. Also `provide' now checks `after-load-alist' 2630 to test/provide subfeatures. Also `provide' now checks `after-load-alist'
2598 and runs any code associated with the provided feature. 2631 and runs any code associated with the provided feature.
2599 2632
2633 ---
2600 ** The variable `compilation-parse-errors-filename-function' can 2634 ** The variable `compilation-parse-errors-filename-function' can
2601 be used to transform filenames found in compilation output. 2635 be used to transform filenames found in compilation output.
2602 2636
2603 +++ 2637 +++
2604 ** Functions `file-name-sans-extension' and `file-name-extension' now 2638 ** Functions `file-name-sans-extension' and `file-name-extension' now
2605 ignore the leading dots in file names, so that file names such as 2639 ignore the leading dots in file names, so that file names such as
2606 `.emacs' are treated as extensionless. 2640 `.emacs' are treated as extensionless.
2607 2641
2642 +++
2608 ** Functions `user-uid' and `user-real-uid' now return floats if the 2643 ** Functions `user-uid' and `user-real-uid' now return floats if the
2609 user UID doesn't fit in a Lisp integer. Function `user-full-name' 2644 user UID doesn't fit in a Lisp integer. Function `user-full-name'
2610 accepts a float as UID parameter. 2645 accepts a float as UID parameter.
2611 2646
2647 ---
2612 ** `define-key-after' now accepts keys longer than 1. 2648 ** `define-key-after' now accepts keys longer than 1.
2613 2649
2650 +++
2614 ** The local variable `no-byte-compile' in elisp files is now obeyed. 2651 ** The local variable `no-byte-compile' in elisp files is now obeyed.
2615 2652
2653 +++
2616 ** The Emacs Lisp byte-compiler now displays the actual line and 2654 ** The Emacs Lisp byte-compiler now displays the actual line and
2617 character position of errors, where possible. Additionally, the form 2655 character position of errors, where possible. Additionally, the form
2618 of its warning and error messages have been brought more in line with 2656 of its warning and error messages have been brought more in line with
2619 the output of other GNU tools. 2657 the output of other GNU tools.
2620 2658
2659 +++
2621 ** New functions `keymap-prompt' and `current-active-maps'. 2660 ** New functions `keymap-prompt' and `current-active-maps'.
2622 2661
2662 ---
2623 ** New function `describe-buffer-bindings'. 2663 ** New function `describe-buffer-bindings'.
2624 2664
2665 +++
2625 ** New vars `exec-suffixes' and `load-suffixes' used when 2666 ** New vars `exec-suffixes' and `load-suffixes' used when
2626 searching for an executable resp. an elisp file. 2667 searching for an executable resp. an elisp file.
2627 2668
2669 +++
2628 ** Variable aliases have been implemented: 2670 ** Variable aliases have been implemented:
2629 2671
2630 - Function: defvaralias ALIAS-VAR BASE-VAR [DOCSTRING] 2672 *** defvaralias ALIAS-VAR BASE-VAR [DOCSTRING]
2631 2673
2632 This function defines the symbol ALIAS-VAR as a variable alias for 2674 This function defines the symbol ALIAS-VAR as a variable alias for
2633 symbol BASE-VAR. This means that retrieving the value of ALIAS-VAR 2675 symbol BASE-VAR. This means that retrieving the value of ALIAS-VAR
2634 returns the value of BASE-VAR, and changing the value of ALIAS-VAR 2676 returns the value of BASE-VAR, and changing the value of ALIAS-VAR
2635 changes the value of BASE-VAR. 2677 changes the value of BASE-VAR.
2636 2678
2637 DOCSTRING, if present, is the documentation for ALIAS-VAR; else it has 2679 DOCSTRING, if present, is the documentation for ALIAS-VAR; else it has
2638 the same documentation as BASE-VAR. 2680 the same documentation as BASE-VAR.
2639 2681
2640 - Function: indirect-variable VARIABLE 2682 *** indirect-variable VARIABLE
2641 2683
2642 This function returns the variable at the end of the chain of aliases 2684 This function returns the variable at the end of the chain of aliases
2643 of VARIABLE. If VARIABLE is not a symbol, or if VARIABLE is not 2685 of VARIABLE. If VARIABLE is not a symbol, or if VARIABLE is not
2644 defined as an alias, the function returns VARIABLE. 2686 defined as an alias, the function returns VARIABLE.
2645 2687
2646 It might be noteworthy that variables aliases work for all kinds of 2688 It might be noteworthy that variables aliases work for all kinds of
2647 variables, including buffer-local and frame-local variables. 2689 variables, including buffer-local and frame-local variables.
2648 2690
2691 +++
2649 ** Functions from `post-gc-hook' are run at the end of garbage 2692 ** Functions from `post-gc-hook' are run at the end of garbage
2650 collection. The hook is run with GC inhibited, so use it with care. 2693 collection. The hook is run with GC inhibited, so use it with care.
2651 2694
2695 +++
2652 ** If the second argument to `copy-file' is the name of a directory, 2696 ** If the second argument to `copy-file' is the name of a directory,
2653 the file is copied to that directory instead of signaling an error. 2697 the file is copied to that directory instead of signaling an error.
2654 2698
2699 +++
2655 ** The variables most-positive-fixnum and most-negative-fixnum 2700 ** The variables most-positive-fixnum and most-negative-fixnum
2656 have been moved from the CL package to the core. 2701 hold the largest and smallest possible integer values.
2657 2702
2703 ---
2658 ** On MS Windows, locale-coding-system is used to interact with the OS. 2704 ** On MS Windows, locale-coding-system is used to interact with the OS.
2659 The Windows specific variable w32-system-coding-system, which was 2705 The Windows specific variable w32-system-coding-system, which was
2660 formerly used for that purpose is now an alias for locale-coding-system. 2706 formerly used for that purpose is now an alias for locale-coding-system.
2661 2707
2662 ** Functions y-or-n-p, read-char, read-keysequence and alike that 2708 ** Functions y-or-n-p, read-char, read-key-sequence and the like, that
2663 display a prompt but don't use the minibuffer now display the prompt 2709 display a prompt but don't use the minibuffer, now display the prompt
2664 using the text properties (esp. the face) of the prompt string. 2710 using the text properties (esp. the face) of the prompt string.
2665 2711
2666 ** New packages: 2712 ** New packages:
2667 2713
2668 *** The new package syntax.el provides an efficient way to find the 2714 *** The new package syntax.el provides an efficient way to find the