aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2003-07-14 16:05:43 +0000
committerRichard M. Stallman2003-07-14 16:05:43 +0000
commit51a8b4355dc2972c399de7fa24505a296241b03e (patch)
tree12a7c88e402cb9b2096c473b9369c7f849332d6d
parent61713ba43171187ac3536313c970d52a8c778511 (diff)
downloademacs-51a8b4355dc2972c399de7fa24505a296241b03e.tar.gz
emacs-51a8b4355dc2972c399de7fa24505a296241b03e.zip
*** empty log message ***
-rw-r--r--etc/NEWS92
-rw-r--r--lispref/ChangeLog52
2 files changed, 121 insertions, 23 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 33d3545147a..00a5684f9b6 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1680,31 +1680,48 @@ with Custom. cplus-md.el, which required it, has also been removed.
1680** New package benchmark.el contains simple support for convenient 1680** New package benchmark.el contains simple support for convenient
1681timing measurements of code (including the garbage collection component). 1681timing measurements of code (including the garbage collection component).
1682 1682
1683** The default values of paragraph-start and indent-line-function have
1684been changed to reflect those used in Text mode rather than those used
1685in Indented-Text mode.
1686
1687** If you set `query-replace-skip-read-only' non-nil,
1688`query-replace' and related functions simply ignore
1689a 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
1687actual text portion of the window, not including the scroll bar or 1696actual text portion of the window, not including the scroll bar or
1688divider line, the fringes, the display margins, the header line and 1697divider line, the fringes, the display margins, the header line and
1689the mode line. 1698the 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'
1692return window edges in units of pixels, rather than columns and lines. 1702return 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+++
1697text-properties, according to their stickiness. This also means that it 1708** `select-window' takes an optional second argument `norecord', like
1698works with empty overlays. The same hold for the `keymap' property. 1709`switch-to-buffer'.
1699 1710
1700** `select-window' takes a second optional argument `norecord', like 1711+++
1701`switch-to-buffer'. `with-selected-window' is a new macro that uses 1712** The new macro `with-selected-window' temporarily switches the
1702this to temporarily switch the selected window without impacting 1713selected window without impacting the order of buffer-list.
1703the order of buffer-list. 1714
1715+++
1716** The `keymap' property now also works at the ends of overlays and
1717text-properties, according to their stickiness. This also means that it
1718works with empty overlays. The same hold for the `local-map' property.
1704 1719
1720+++
1705** (map-keymap FUNCTION KEYMAP) applies the function to each binding 1721** (map-keymap FUNCTION KEYMAP) applies the function to each binding
1706in the keymap. 1722in 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'
@@ -1712,6 +1729,7 @@ parameter of the `checkout' backend function.
1712Old code still works thanks to a default `find-version' behavior that 1729Old code still works thanks to a default `find-version' behavior that
1713uses the old `destfile' parameter. 1730uses 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
1716as a dynamic completion table. 1734as a dynamic completion table.
1717 1735
@@ -1724,6 +1742,7 @@ can ignore the value of its argument. If completion is performed in the
1724minibuffer, FUN will be called in the buffer from which the minibuffer was 1742minibuffer, FUN will be called in the buffer from which the minibuffer was
1725entered. dynamic-completion-table then computes the completion. 1743entered. 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
1728as a lazy completion table. 1747as a lazy completion table.
1729 1748
@@ -1736,15 +1755,19 @@ completion is requested in the minibuffer, FUN will be called in the buffer
1736from which the minibuffer was entered. The return value of 1755from 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
1742for all (existing and future) frames. 1762for 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
@@ -2488,6 +2511,7 @@ on the screen.
2488You should not set it up so that both the position before and the position 2511You should not set it up so that both the position before and the position
2489after are unacceptable. 2512after 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
2492argument, LIMIT. 2516argument, LIMIT.
2493 2517
@@ -2498,10 +2522,13 @@ it won't be stored in the user's abbrevs file if he saves the abbrevs.
2498Major modes that predefine some abbrevs should always specify this 2522Major modes that predefine some abbrevs should always specify this
2499flag. 2523flag.
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.
2506Instead of blindly choosing the first handler that matches, 2533Instead of blindly choosing the first handler that matches,
2507find-file-name-handler now gives precedence to a file-name handler 2534find-file-name-handler now gives precedence to a file-name handler
@@ -2509,10 +2536,12 @@ that matches near the end of the file name. More specifically, the
2509handler whose (match-beginning 0) is the largest is chosen. 2536handler whose (match-beginning 0) is the largest is chosen.
2510In case of ties, the old "first matched" rule applies. 2537In 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.
2513Previously a dense keymap would hide all of the simple-char key 2541Previously a dense keymap would hide all of the simple-char key
2514bindings of the parent keymap. 2542bindings 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'.
2517If a piece of text with that property gets contextually refontified 2546If 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
@@ -2531,46 +2560,44 @@ text to being a piece of code, so you'd put a jit-lock-defer-multiline
2531property over the second half of the command to force (deferred) 2560property over the second half of the command to force (deferred)
2532refontification of `bar' whenever the `e' is added/removed. 2561refontification 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
2535called to print the entries' values. It defaults to `princ'. 2565called 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
2541it receives a request from emacsclient. 2572it 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.
2544Emacs now signals an error if the same file is loaded with more 2576Emacs now signals an error if the same file is loaded with more
2545than 3 levels of nesting. 2577than 3 levels of nesting.
2546 2578
2547** The default values of paragraph-start and indent-line-function have 2579---
2548been changed to reflect those used in Text mode rather than those used
2549in 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'
2552property, `clone-indirect-buffer' signals an error if you use 2581property, `clone-indirect-buffer' signals an error if you use
2553it in that buffer. 2582it 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
2557a 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
2560properties from surrounding text. 2586properties from surrounding text.
2561 2587
2588+++
2562** New function `buffer-local-value'. 2589** New function `buffer-local-value'.
2563 2590
2564- Function: buffer-local-value variable buffer
2565
2566This function returns the buffer-local binding of VARIABLE (a symbol) 2591This function returns the buffer-local binding of VARIABLE (a symbol)
2567in buffer BUFFER. If VARIABLE does not have a buffer-local binding in 2592in buffer BUFFER. If VARIABLE does not have a buffer-local binding in
2568buffer BUFFER, it returns the default value of VARIABLE instead. 2593buffer 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
2571that are kept identical by transparently propagating changes from one 2597that are kept identical by transparently propagating changes from one
2572clone to the other. 2598clone 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
2576of the form (face FACE PROP1 VAL1 PROP2 VAL2 ...) so you can set 2603of the form (face FACE PROP1 VAL1 PROP2 VAL2 ...) so you can set
@@ -2578,17 +2605,23 @@ 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
2579properties are automatically cleaned up by font-lock. 2606properties 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'
2582or `bg:COLOR' has been removed. Lisp programs should use the 2610or `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
2612the feature of specifying the face attributes :foreground and :background
2613directly in the `face' property instead of using a named face.
2584 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'
2586are used by define-derived-mode to make sure the mode hook for the 2617are used by define-derived-mode to make sure the mode hook for the
2587parent mode is run at the end of the child mode. 2618parent 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
2590and simply passes them to defcustom, if applicable. 2622and 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.
2593It does not copy abbrevs from the parent mode's abbrev table. 2626It does not copy abbrevs from the parent mode's abbrev table.
2594 2627
@@ -2597,6 +2630,7 @@ It does not copy abbrevs from the parent mode's abbrev table.
2597to test/provide subfeatures. Also `provide' now checks `after-load-alist' 2630to test/provide subfeatures. Also `provide' now checks `after-load-alist'
2598and runs any code associated with the provided feature. 2631and 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
2601be used to transform filenames found in compilation output. 2635be used to transform filenames found in compilation output.
2602 2636
@@ -2605,29 +2639,37 @@ be used to transform filenames found in compilation output.
2605ignore the leading dots in file names, so that file names such as 2639ignore 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
2609user UID doesn't fit in a Lisp integer. Function `user-full-name' 2644user UID doesn't fit in a Lisp integer. Function `user-full-name'
2610accepts a float as UID parameter. 2645accepts 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
2617character position of errors, where possible. Additionally, the form 2655character position of errors, where possible. Additionally, the form
2618of its warning and error messages have been brought more in line with 2656of its warning and error messages have been brought more in line with
2619the output of other GNU tools. 2657the 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
2626searching for an executable resp. an elisp file. 2667searching 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
2632This function defines the symbol ALIAS-VAR as a variable alias for 2674This function defines the symbol ALIAS-VAR as a variable alias for
2633symbol BASE-VAR. This means that retrieving the value of ALIAS-VAR 2675symbol BASE-VAR. This means that retrieving the value of ALIAS-VAR
@@ -2637,7 +2679,7 @@ changes the value of BASE-VAR.
2637DOCSTRING, if present, is the documentation for ALIAS-VAR; else it has 2679DOCSTRING, if present, is the documentation for ALIAS-VAR; else it has
2638the same documentation as BASE-VAR. 2680the same documentation as BASE-VAR.
2639 2681
2640- Function: indirect-variable VARIABLE 2682*** indirect-variable VARIABLE
2641 2683
2642This function returns the variable at the end of the chain of aliases 2684This function returns the variable at the end of the chain of aliases
2643of VARIABLE. If VARIABLE is not a symbol, or if VARIABLE is not 2685of VARIABLE. If VARIABLE is not a symbol, or if VARIABLE is not
@@ -2646,21 +2688,25 @@ defined as an alias, the function returns VARIABLE.
2646It might be noteworthy that variables aliases work for all kinds of 2688It might be noteworthy that variables aliases work for all kinds of
2647variables, including buffer-local and frame-local variables. 2689variables, 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
2650collection. The hook is run with GC inhibited, so use it with care. 2693collection. 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,
2653the file is copied to that directory instead of signaling an error. 2697the 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
2656have been moved from the CL package to the core. 2701hold 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.
2659The Windows specific variable w32-system-coding-system, which was 2705The Windows specific variable w32-system-coding-system, which was
2660formerly used for that purpose is now an alias for locale-coding-system. 2706formerly 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
2663display a prompt but don't use the minibuffer now display the prompt 2709display a prompt but don't use the minibuffer, now display the prompt
2664using the text properties (esp. the face) of the prompt string. 2710using the text properties (esp. the face) of the prompt string.
2665 2711
2666** New packages: 2712** New packages:
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 9fd145248d1..765b3c4d4e9 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,55 @@
12003-07-14 Richard M. Stallman <rms@gnu.org>
2
3 * buffers.texi (Killing Buffers): kill-buffer-hook is perm local.
4
5 * windows.texi (Selecting Windows): New arg to select-window.
6 (Selecting Windows): Add with-selected-window.
7 (Size of Window): Add window-inside-edges, etc.
8
9 * internals.texi (Garbage Collection): Add post-gc-hook.
10
11 * processes.texi (Subprocess Creation): Add exec-suffixes.
12
13 * keymaps.texi (Functions for Key Lookup): Add current-active-maps.
14 (Scanning Keymaps): Add map-keymaps.
15 (Defining Menus): Add keymap-prompt.
16
17 * numbers.texi (Integer Basics): Add most-positive-fixnum,
18 most-negative-fixnum.
19
20 * compile.texi (Byte Compilation): Explain no-byte-compile
21 (Compiler Errors): New node.
22
23 * os.texi (User Identification): user-uid, user-real-uid
24 can return float.
25
26 * modes.texi (Major Mode Conventions): Explain about run-mode-hooks
27 and about derived modes.
28 (Minor Modes): Add minor-mode-list.
29 (Defining Minor Modes): Keyword args for define-minor-mode.
30 (Search-based Fontification): Explain managing other properties.
31 (Other Font Lock Variables): Add font-lock-extra-managed-props.
32 (Faces for Font Lock): Add font-locl-preprocessor-face.
33 (Hooks): Add run-mode-hooks and delay-mode-hooks.
34
35 * variables.texi (Creating Buffer-Local): Add buffer-local-value.
36 (Variable Aliases): Clarify defvralias.
37
38 * loading.texi (Library Search): Add load-suffixes.
39
40 * minibuf.texi (Basic Completion): Add lazy-completion-table.
41 (Programmed Completion): Add dynamic-completion-table.
42
43 * files.texi (Changing Files): copy-file allows dir as NEWNAME.
44 (Magic File Names): Specify precedence order of handlers.
45o
46 * commands.texi (Command Overview): Emacs server runs pre-command-hook
47 and post-command-hook.
48 (Waiting): New calling convention for sit-for.
49
50 * text.texi (Special Properties): local-map and keymap properties
51 apply based on their stickiness.
52
12003-07-07 Richard M. Stallman <rms@gnu.org> 532003-07-07 Richard M. Stallman <rms@gnu.org>
2 54
3 * modes.texi (Minor Mode Conventions): Specify only some kinds 55 * modes.texi (Minor Mode Conventions): Specify only some kinds