comparison etc/NEWS @ 51808:fb3e76b44f41

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Mon, 07 Jul 2003 21:06:01 +0000
parents 31b7c8b5289d
children 94d3cf9e9e14
comparison
equal deleted inserted replaced
51807:96f6726bae4d 51808:fb3e76b44f41
87 ** A French translation of the Emacs Tutorial is available. 87 ** A French translation of the Emacs Tutorial is available.
88 88
89 89
90 * Changes in Emacs 21.4 90 * Changes in Emacs 21.4
91 91
92 ** New minor mode `vis-mode' toggles invisibility in the current buffer. 92 +++
93 ** The old bindings C-M-delete and C-M-backspace have been deleted,
94 since there are situations where one or the other will shut down
95 the operating system or your X server.
96
97 ** New minor mode, Visible mode, toggles invisibility in the current buffer.
93 When enabled, it makes all invisible text visible. When disabled, it 98 When enabled, it makes all invisible text visible. When disabled, it
94 restores the previous value of `buffer-invisibility-spec'. 99 restores the previous value of `buffer-invisibility-spec'.
95 100
96 ** New command `kill-whole-line' kills an entire line at once. 101 ** New command `kill-whole-line' kills an entire line at once.
97 By default, it is bound to C-S-<backspace>. 102 By default, it is bound to C-S-<backspace>.
1591 timing measurements of code (including the garbage collection component). 1596 timing measurements of code (including the garbage collection component).
1592 1597
1593 1598
1594 * Lisp Changes in Emacs 21.4 1599 * Lisp Changes in Emacs 21.4
1595 1600
1601 ** The new function `window-inside-edges' returns the edges of the
1602 actual text portion of the window, not including the scroll bar or
1603 divider line, the fringes, the display margins, the header line and
1604 the mode line.
1605
1606 ** The new functions `window-pixel-edges' and `window-inside-pixel-edges'
1607 return window edges in units of pixels, rather than columns and lines.
1608
1596 ** The kill-buffer-hook is now permanent-local. 1609 ** The kill-buffer-hook is now permanent-local.
1597 1610
1598 ** The `local-map' property now also works at the ends of overlays and 1611 ** The `local-map' property now also works at the ends of overlays and
1599 text-properties, according to their stickiness. This also means that it 1612 text-properties, according to their stickiness. This also means that it
1600 works with empty overlays. The same hold for the `keymap' property. 1613 works with empty overlays. The same hold for the `keymap' property.
1611 *** (vc-switches BACKEND OPERATION) is a new function for use by backends. 1624 *** (vc-switches BACKEND OPERATION) is a new function for use by backends.
1612 *** The new `find-version' backend function replaces the `destfile' 1625 *** The new `find-version' backend function replaces the `destfile'
1613 parameter of the `checkout' backend function. 1626 parameter of the `checkout' backend function.
1614 Old code still works thanks to a default `find-version' behavior that 1627 Old code still works thanks to a default `find-version' behavior that
1615 uses the old `destfile' parameter. 1628 uses the old `destfile' parameter.
1629
1630 ** The new macro dynamic-completion-table supports using functions
1631 as a dynamic completion table.
1632
1633 (dynamic-completion-table FUN)
1634
1635 FUN is called with one argument, the string for which completion is required,
1636 and it should return an alist containing all the intended possible
1637 completions. This alist may be a full list of possible completions so that FUN
1638 can ignore the value of its argument. If completion is performed in the
1639 minibuffer, FUN will be called in the buffer from which the minibuffer was
1640 entered. dynamic-completion-table then computes the completion.
1641
1642 ** The new macro lazy-completion-table initializes a variable
1643 as a lazy completion table.
1644
1645 (lazy-completion-table VAR FUN &rest ARGS)
1646
1647 If the completion table VAR is used for the first time (e.g., by passing VAR
1648 as an argument to `try-completion'), the function FUN is called with arguments
1649 ARGS. FUN must return the completion table that will be stored in VAR. If
1650 completion is requested in the minibuffer, FUN will be called in the buffer
1651 from which the minibuffer was entered. The return value of
1652 `lazy-completion-table' must be used to initialize the value of VAR.
1616 1653
1617 ** `minor-mode-list' now holds a list of minor mode commands. 1654 ** `minor-mode-list' now holds a list of minor mode commands.
1618 1655
1619 ** The new command `modify-all-frames-parameters' modifies parameters 1656 ** The new command `modify-all-frames-parameters' modifies parameters
1620 for all (existing and future) frames. 1657 for all (existing and future) frames.