Mercurial > emacs
comparison etc/NEWS @ 52214:0a6efed807f5
*** empty log message ***
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 17 Aug 2003 00:27:53 +0000 |
parents | 2f8d4ec4e546 |
children | 20e27d5ca4c8 |
comparison
equal
deleted
inserted
replaced
52213:d8341603541c | 52214:0a6efed807f5 |
---|---|
1651 | 1651 |
1652 ** The new Lisp library fringe.el controls the apperance of fringes. | 1652 ** The new Lisp library fringe.el controls the apperance of fringes. |
1653 | 1653 |
1654 * Lisp Changes in Emacs 21.4 | 1654 * Lisp Changes in Emacs 21.4 |
1655 | 1655 |
1656 ** The argument to forward-word, backward-word, forward-to-indentation | |
1657 and backward-to-indentation is now optional, and defaults to 1. | |
1658 | |
1656 +++ | 1659 +++ |
1657 ** The new function `window-inside-edges' returns the edges of the | 1660 ** The new function `window-inside-edges' returns the edges of the |
1658 actual text portion of the window, not including the scroll bar or | 1661 actual text portion of the window, not including the scroll bar or |
1659 divider line, the fringes, the display margins, the header line and | 1662 divider line, the fringes, the display margins, the header line and |
1660 the mode line. | 1663 the mode line. |
2065 | 2068 |
2066 (edebug DEBUG) | 2069 (edebug DEBUG) |
2067 Set NAME's `edebug-form-spec' property to DEBUG. (This is | 2070 Set NAME's `edebug-form-spec' property to DEBUG. (This is |
2068 equivalent to writing a `def-edebug-spec' for the macro. | 2071 equivalent to writing a `def-edebug-spec' for the macro. |
2069 | 2072 |
2073 +++ | |
2070 ** Interactive commands can be remapped through keymaps. | 2074 ** Interactive commands can be remapped through keymaps. |
2071 | 2075 |
2072 This is an alternative to using defadvice or substitute-key-definition | 2076 This is an alternative to using defadvice or substitute-key-definition |
2073 to modify the behavior of a key binding using the normal keymap | 2077 to modify the behavior of a key binding using the normal keymap |
2074 binding and lookup functionality. | 2078 binding and lookup functionality. |
2121 | 2125 |
2122 - The new variable `this-original-command' contains the original | 2126 - The new variable `this-original-command' contains the original |
2123 command before remapping. It is equal to `this-command' when the | 2127 command before remapping. It is equal to `this-command' when the |
2124 command was not remapped. | 2128 command was not remapped. |
2125 | 2129 |
2130 +++ | |
2126 ** New variable emulation-mode-map-alists. | 2131 ** New variable emulation-mode-map-alists. |
2127 | 2132 |
2128 Lisp packages using many minor mode keymaps can now maintain their own | 2133 Lisp packages using many minor mode keymaps can now maintain their own |
2129 keymap alist separate from minor-mode-map-alist by adding their keymap | 2134 keymap alist separate from minor-mode-map-alist by adding their keymap |
2130 alist to this list. | 2135 alist to this list. |
2192 This variable allows you to create alternative names for text | 2197 This variable allows you to create alternative names for text |
2193 properties. It works at the same level as `default-text-properties', | 2198 properties. It works at the same level as `default-text-properties', |
2194 although it applies to overlays as well. This variable was introduced | 2199 although it applies to overlays as well. This variable was introduced |
2195 to implement the `font-lock-face' property. | 2200 to implement the `font-lock-face' property. |
2196 | 2201 |
2202 +++ | |
2197 ** New special text property `font-lock-face'. | 2203 ** New special text property `font-lock-face'. |
2198 | 2204 |
2199 This property acts like the `face' property, but it is controlled by | 2205 This property acts like the `face' property, but it is controlled by |
2200 M-x font-lock-mode. It is not, strictly speaking, a builtin text | 2206 M-x font-lock-mode. It is not, strictly speaking, a builtin text |
2201 property. Instead, it is implemented inside font-core.el, using the | 2207 property. Instead, it is implemented inside font-core.el, using the |
2202 new variable `char-property-alias-alist'. | 2208 new variable `char-property-alias-alist'. |
2203 | 2209 |
2210 +++ | |
2204 ** New function remove-list-of-text-properties. | 2211 ** New function remove-list-of-text-properties. |
2205 | 2212 |
2206 The new function `remove-list-of-text-properties' is almost the same | 2213 The new function `remove-list-of-text-properties' is almost the same |
2207 as `remove-text-properties'. The only difference is that it takes | 2214 as `remove-text-properties'. The only difference is that it takes |
2208 a list of property names as argument rather than a property list. | 2215 a list of property names as argument rather than a property list. |
2209 | 2216 |
2217 +++ | |
2210 ** New function insert-for-yank. | 2218 ** New function insert-for-yank. |
2211 | 2219 |
2212 This function normally works like `insert' but removes the text | 2220 This function normally works like `insert' but removes the text |
2213 properties in the `yank-excluded-properties' list. However, if the | 2221 properties in the `yank-excluded-properties' list. However, if the |
2214 inserted text has a `yank-handler' text property on the first | 2222 inserted text has a `yank-handler' text property on the first |
2215 character of the string, the insertion of the text may be modified in | 2223 character of the string, the insertion of the text may be modified in |
2216 a number of ways. See the description of `yank-handler' below. | 2224 a number of ways. See the description of `yank-handler' below. |
2217 | 2225 |
2226 +++ | |
2218 ** New function insert-buffer-substring-as-yank. | 2227 ** New function insert-buffer-substring-as-yank. |
2219 | 2228 |
2220 This function works like `insert-buffer-substring', but removes the | 2229 This function works like `insert-buffer-substring', but removes the |
2221 text properties in the `yank-excluded-properties' list. | 2230 text properties in the `yank-excluded-properties' list. |
2222 | 2231 |
2232 +++ | |
2223 ** New function insert-buffer-substring-no-properties. | 2233 ** New function insert-buffer-substring-no-properties. |
2224 | 2234 |
2225 This function is like insert-buffer-substring, but removes all | 2235 This function is like insert-buffer-substring, but removes all |
2226 text properties from the inserted substring. | 2236 text properties from the inserted substring. |
2227 | 2237 |
2238 +++ | |
2228 ** New `yank-handler' text property may be used to control how | 2239 ** New `yank-handler' text property may be used to control how |
2229 previously killed text on the kill-ring is reinserted. | 2240 previously killed text on the kill-ring is reinserted. |
2230 | 2241 |
2231 The value of the yank-handler property must be a list with one to five | 2242 The value of the yank-handler property must be a list with one to four |
2232 elements with the following format: | 2243 elements with the following format: |
2233 (FUNCTION PARAM NOEXCLUDE UNDO). | 2244 (FUNCTION PARAM NOEXCLUDE UNDO). |
2234 | 2245 |
2235 The `insert-for-yank' function looks for a yank-handler property on | 2246 The `insert-for-yank' function looks for a yank-handler property on |
2236 the first character on its string argument (typically the first | 2247 the first character on its string argument (typically the first |
2250 If UNDO is present and non-nil, it is a function that will be called | 2261 If UNDO is present and non-nil, it is a function that will be called |
2251 by `yank-pop' to undo the insertion of the current object. It is | 2262 by `yank-pop' to undo the insertion of the current object. It is |
2252 called with two arguments, the start and end of the current region. | 2263 called with two arguments, the start and end of the current region. |
2253 FUNCTION may set `yank-undo-function' to override the UNDO value. | 2264 FUNCTION may set `yank-undo-function' to override the UNDO value. |
2254 | 2265 |
2255 *** The functions kill-new, kill-append, and kill-region now has an | 2266 *** The functions kill-new, kill-append, and kill-region now have an |
2256 optional third argument to specify the yank-handler text property | 2267 optional argument to specify the yank-handler text property to put on |
2257 to put on the killed text. | 2268 the killed text. |
2258 | 2269 |
2259 *** The function yank-pop will now use a non-nil value of the variable | 2270 *** The function yank-pop will now use a non-nil value of the variable |
2260 `yank-undo-function' (instead of delete-region) to undo the previous | 2271 `yank-undo-function' (instead of delete-region) to undo the previous |
2261 yank or yank-pop command (or a call to insert-for-yank). The function | 2272 yank or yank-pop command (or a call to insert-for-yank). The function |
2262 insert-for-yank automatically sets that variable according to the UNDO | 2273 insert-for-yank automatically sets that variable according to the UNDO |
2374 as the "key" bound by that key binding. | 2385 as the "key" bound by that key binding. |
2375 | 2386 |
2376 This is relevant only if Lisp code looks for | 2387 This is relevant only if Lisp code looks for |
2377 the bindings that were made with easymenu. | 2388 the bindings that were made with easymenu. |
2378 | 2389 |
2390 +++ | |
2379 ** The function `commandp' takes an additional optional | 2391 ** The function `commandp' takes an additional optional |
2380 argument. If it is non-nil, then `commandp' checks | 2392 argument. If it is non-nil, then `commandp' checks |
2381 for a function that could be called with `call-interactively', | 2393 for a function that could be called with `call-interactively', |
2382 and does not return t for keyboard macros. | 2394 and does not return t for keyboard macros. |
2383 | 2395 |
2410 ** New function window-body-height. | 2422 ** New function window-body-height. |
2411 | 2423 |
2412 This is like window-height but does not count the mode line | 2424 This is like window-height but does not count the mode line |
2413 or the header line. | 2425 or the header line. |
2414 | 2426 |
2427 +++ | |
2415 ** New function format-mode-line. | 2428 ** New function format-mode-line. |
2416 | 2429 |
2417 This returns the mode-line or header-line of the selected (or a | 2430 This returns the mode-line or header-line of the selected (or a |
2418 specified) window as a string with or without text properties. | 2431 specified) window as a string with or without text properties. |
2419 | 2432 |
2433 +++ | |
2420 ** New functions `lax-plist-get' and `lax-plist-put'. | 2434 ** New functions `lax-plist-get' and `lax-plist-put'. |
2421 | 2435 |
2422 These functions are like `plist-get' and `plist-put' except that they | 2436 These functions are like `plist-get' and `plist-put' except that they |
2423 compare the property name using `equal' rather than `eq'. | 2437 compare the property name using `equal' rather than `eq'. |
2424 | 2438 |
2439 +++ | |
2425 ** New function `tool-bar-local-item-from-menu' | 2440 ** New function `tool-bar-local-item-from-menu' |
2426 | 2441 |
2427 The `tool-bar-add-item-from-menu' must not be used (as previously | 2442 The `tool-bar-add-item-from-menu' must not be used (as previously |
2428 recommended) for making entries in the tool bar for local keymaps. | 2443 recommended) for making entries in the tool bar for local keymaps. |
2429 Instead, use the function `tool-bar-local-item-from-menu', which lets | 2444 Instead, use the function `tool-bar-local-item-from-menu', which lets |