diff options
| author | Chong Yidong | 2012-09-30 17:18:38 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-09-30 17:18:38 +0800 |
| commit | 48de8b12215e22390db1bc822e809708070ab938 (patch) | |
| tree | 125595be25583796bec86a019f75c8049164133e /etc | |
| parent | 5938d5196d09aff887aa74603c102b1f303a613a (diff) | |
| download | emacs-48de8b12215e22390db1bc822e809708070ab938.tar.gz emacs-48de8b12215e22390db1bc822e809708070ab938.zip | |
Update docs for a bunch of 24.3 changes.
* doc/emacs/killing.texi (Rectangles): Document copy-rectangle-as-kill.
* doc/emacs/search.texi (Special Isearch): Document the lax space search
feature and M-s SPC.
(Regexp Search): Move main search-whitespace-regexp description to
Special Isearch.
(Replace): Document replace-lax-whitespace.
* doc/emacs/basic.texi (Position Info): Document C-u M-=.
(Moving Point): Document move-to-column.
* doc/emacs/display.texi (Useless Whitespace): Add delete-trailing-lines.
* doc/emacs/misc.texi (emacsclient Options): Document the effect of
initial-buffer-choice on client frames. Document server-auth-dir.
Do not document server-host, which is bad security practice.
* doc/emacs/building.texi (Lisp Libraries): Docstring lookups can trigger
autoloading. Document help-enable-auto-load.
* doc/emacs/mini.texi (Yes or No Prompts): New node.
* doc/emacs/ack.texi (Acknowledgments): Remove obsolete packages.
* doc/lispref/commands.texi (Click Events): Define "mouse position list".
Remove mention of unimplemented horizontal scroll bars.
(Drag Events, Motion Events): Refer to "mouse position list".
(Accessing Mouse): Document posnp.
* doc/lispref/errors.texi (Standard Errors): Tweak arith-error description.
Tweak markup. Remove domain-error and friends, which seem to be
unused after the floating-point code revamp.
* doc/lispref/functions.texi (Obsolete Functions): Obsolescence also affects
documentation commands. Various clarifications.
(Declare Form): New node.
* doc/lispref/loading.texi (Autoload):
* doc/lispref/help.texi (Documentation Basics): The special sequences can
trigger autoloading.
* doc/lispref/macros.texi (Defining Macros): Move description of `declare' to
Declare Form node.
* doc/lispref/numbers.texi (Integer Basics): Copyedits.
(Float Basics): Consider IEEE floating point always available.
(Random Numbers): Document actual limits.
(Arithmetic Operations): Clarify division by zero. Don't mention
the machine-independence of negative division since it does not
happen in practice.
* doc/lispref/os.texi (Idle Timers): Minor clarifications.
(User Identification): Add system-users and system-groups.
* doc/lispref/strings.texi (String Basics): Copyedits.
* lisp/minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
* lisp/server.el (server-host): Document the security implications.
(server-auth-key): Doc fix.
* lisp/startup.el (initial-buffer-choice): Doc fix.
* src/fns.c (Frandom): Doc fix.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 89 |
1 files changed, 53 insertions, 36 deletions
| @@ -76,6 +76,7 @@ You can explicitly require a specific version by passing | |||
| 76 | 76 | ||
| 77 | * Startup Changes in Emacs 24.3 | 77 | * Startup Changes in Emacs 24.3 |
| 78 | 78 | ||
| 79 | +++ | ||
| 79 | ** Emacs no longer searches for `leim-list.el' files beneath the standard | 80 | ** Emacs no longer searches for `leim-list.el' files beneath the standard |
| 80 | lisp/ directory. There should not be any there anyway. If you have | 81 | lisp/ directory. There should not be any there anyway. If you have |
| 81 | been adding them there, put them somewhere else, eg site-lisp. | 82 | been adding them there, put them somewhere else, eg site-lisp. |
| @@ -89,10 +90,12 @@ been adding them there, put them somewhere else, eg site-lisp. | |||
| 89 | ** minibuffer-electric-default-mode can rewrite (default ...) to [...]. | 90 | ** minibuffer-electric-default-mode can rewrite (default ...) to [...]. |
| 90 | Just set minibuffer-eldef-shorten-default to t before enabling the mode. | 91 | Just set minibuffer-eldef-shorten-default to t before enabling the mode. |
| 91 | 92 | ||
| 93 | +++ | ||
| 92 | ** Most y-or-n prompts now allow you to scroll the selected window. | 94 | ** Most y-or-n prompts now allow you to scroll the selected window. |
| 93 | Typing C-v or M-v at a y-or-n prompt scrolls forward or backward | 95 | Typing C-v or M-v at a y-or-n prompt scrolls forward or backward |
| 94 | respectively, without exiting from the prompt. | 96 | respectively, without exiting from the prompt. |
| 95 | 97 | ||
| 98 | --- | ||
| 96 | ** In minibuffer filename prompts, `C-M-f' and `C-M-b' now move to the | 99 | ** In minibuffer filename prompts, `C-M-f' and `C-M-b' now move to the |
| 97 | next and previous path separator, respectively. | 100 | next and previous path separator, respectively. |
| 98 | 101 | ||
| @@ -107,12 +110,14 @@ invokes `set-buffer-file-coding-system'. | |||
| 107 | 110 | ||
| 108 | ** Help changes | 111 | ** Help changes |
| 109 | 112 | ||
| 113 | +++ | ||
| 110 | *** `C-h f' (describe-function) can now perform autoloading. | 114 | *** `C-h f' (describe-function) can now perform autoloading. |
| 111 | When this command is called for an autoloaded function whose docstring | 115 | When this command is called for an autoloaded function whose docstring |
| 112 | contains a key substitution construct, that function's library is | 116 | contains a key substitution construct, that function's library is |
| 113 | automatically loaded, so that the documentation can be shown | 117 | automatically loaded, so that the documentation can be shown |
| 114 | correctly. To disable this, set `help-enable-auto-load' to nil. | 118 | correctly. To disable this, set `help-enable-auto-load' to nil. |
| 115 | 119 | ||
| 120 | --- | ||
| 116 | *** `C-h f' now reports previously-autoloaded functions as "autoloaded", | 121 | *** `C-h f' now reports previously-autoloaded functions as "autoloaded", |
| 117 | even after their associated libraries have been loaded (and the | 122 | even after their associated libraries have been loaded (and the |
| 118 | autoloads have been redefined as functions). | 123 | autoloads have been redefined as functions). |
| @@ -136,11 +141,11 @@ treated as images. | |||
| 136 | :background image spec property. | 141 | :background image spec property. |
| 137 | 142 | ||
| 138 | ** Server and client changes | 143 | ** Server and client changes |
| 139 | 144 | +++ | |
| 140 | *** emacsclient now obeys string values for `initial-buffer-choice', | 145 | *** emacsclient now obeys string values for `initial-buffer-choice', |
| 141 | if it is told to open a new frame without specifying any file to visit | 146 | if it is told to open a new frame without specifying any file to visit |
| 142 | or expression to evaluate. | 147 | or expression to evaluate. |
| 143 | 148 | --- | |
| 144 | *** New option `server-auth-key' specifies a shared server key. | 149 | *** New option `server-auth-key' specifies a shared server key. |
| 145 | 150 | ||
| 146 | ** In the Package Menu, newly-available packages are listed as "new", | 151 | ** In the Package Menu, newly-available packages are listed as "new", |
| @@ -155,6 +160,7 @@ On encountering a fatal error, Emacs now outputs a textual description | |||
| 155 | of the fatal signal, and a short backtrace on platforms like glibc | 160 | of the fatal signal, and a short backtrace on platforms like glibc |
| 156 | that support backtraces. | 161 | that support backtraces. |
| 157 | 162 | ||
| 163 | --- | ||
| 158 | ** If your Emacs was built from a bzr checkout, the new variable | 164 | ** If your Emacs was built from a bzr checkout, the new variable |
| 159 | `emacs-bzr-version' contains information about the bzr revision used. | 165 | `emacs-bzr-version' contains information about the bzr revision used. |
| 160 | 166 | ||
| @@ -185,38 +191,25 @@ The PCL-CVS commands are still available via the keyboard. | |||
| 185 | * Editing Changes in Emacs 24.3 | 191 | * Editing Changes in Emacs 24.3 |
| 186 | 192 | ||
| 187 | ** Navigation command changes | 193 | ** Navigation command changes |
| 188 | 194 | +++ | |
| 189 | *** New binding `M-g c' for `goto-char'. | 195 | *** New binding `M-g c' for `goto-char'. |
| 190 | 196 | +++ | |
| 191 | *** New binding `M-g TAB' for `move-to-column'. | 197 | *** New binding `M-g TAB' for `move-to-column'. |
| 192 | 198 | +++ | |
| 193 | *** `M-g TAB' (`move-to-column') prompts for a column number if called | 199 | *** `M-g TAB' (`move-to-column') prompts for a column number if called |
| 194 | interactively with no prefix arg. Previously, it moved to column 1. | 200 | interactively with no prefix arg. Previously, it moved to column 1. |
| 195 | 201 | ||
| 196 | +++ | ||
| 197 | ** `C-x 8 RET' is now bound to `insert-char', which is now a command. | ||
| 198 | `ucs-insert' is now an obsolete alias for `insert-char'. | ||
| 199 | |||
| 200 | --- | ||
| 201 | ** The `z' key no longer has a binding in most special modes. | ||
| 202 | It used to be bound to `kill-this-buffer', but `z' is too easy to | ||
| 203 | accidentally type. | ||
| 204 | |||
| 205 | ** New option `delete-trailing-lines' specifies whether | ||
| 206 | M-x delete-trailing-whitespace should delete trailing lines at the end | ||
| 207 | of the buffer. It defaults to t. | ||
| 208 | |||
| 209 | ** Search and Replace changes | 202 | ** Search and Replace changes |
| 210 | 203 | +++ | |
| 211 | *** Non-regexp Isearch now performs "lax" space matching. | 204 | *** Non-regexp Isearch now performs "lax" space matching. |
| 212 | Each sequence of spaces in the supplied search string may match any | 205 | Each sequence of spaces in the supplied search string may match any |
| 213 | sequence of one or more whitespace characters, as specified by the | 206 | sequence of one or more whitespace characters, as specified by the |
| 214 | variable `search-whitespace-regexp'. (This variable is also used by a | 207 | variable `search-whitespace-regexp'. (This variable is also used by a |
| 215 | similar existing feature for regexp Isearch). | 208 | similar existing feature for regexp Isearch). |
| 216 | 209 | +++ | |
| 217 | *** New Isearch command `M-s SPC' toggles lax space matching. | 210 | *** New Isearch command `M-s SPC' toggles lax space matching. |
| 218 | This applies to both ordinary and regexp Isearch. | 211 | This applies to both ordinary and regexp Isearch. |
| 219 | 212 | +++ | |
| 220 | *** New option `replace-lax-whitespace'. | 213 | *** New option `replace-lax-whitespace'. |
| 221 | If non-nil, `query-replace' uses flexible whitespace matching too. | 214 | If non-nil, `query-replace' uses flexible whitespace matching too. |
| 222 | The default is nil. | 215 | The default is nil. |
| @@ -225,6 +218,20 @@ The default is nil. | |||
| 225 | and `M-s _' in Isearch toggles symbol search mode. | 218 | and `M-s _' in Isearch toggles symbol search mode. |
| 226 | `M-s c' in Isearch toggles search case-sensitivity. | 219 | `M-s c' in Isearch toggles search case-sensitivity. |
| 227 | 220 | ||
| 221 | +++ | ||
| 222 | ** `C-x 8 RET' is now bound to `insert-char', which is now a command. | ||
| 223 | `ucs-insert' is now an obsolete alias for `insert-char'. | ||
| 224 | |||
| 225 | --- | ||
| 226 | ** The `z' key no longer has a binding in most special modes. | ||
| 227 | It used to be bound to `kill-this-buffer', but `z' is too easy to | ||
| 228 | accidentally type. | ||
| 229 | |||
| 230 | +++ | ||
| 231 | ** New option `delete-trailing-lines' specifies whether | ||
| 232 | M-x delete-trailing-whitespace should delete trailing lines at the end | ||
| 233 | of the buffer. It defaults to t. | ||
| 234 | |||
| 228 | ** Register changes | 235 | ** Register changes |
| 229 | +++ | 236 | +++ |
| 230 | *** `C-x r +' is now overloaded to invoke `append-to-register. | 237 | *** `C-x r +' is now overloaded to invoke `append-to-register. |
| @@ -233,8 +240,10 @@ and `M-s _' in Isearch toggles symbol search mode. | |||
| 233 | the text to put between collected texts for use with M-x | 240 | the text to put between collected texts for use with M-x |
| 234 | append-to-register and M-x prepend-to-register. | 241 | append-to-register and M-x prepend-to-register. |
| 235 | 242 | ||
| 243 | +++ | ||
| 236 | ** `C-u M-=' now counts lines/words/characters in the entire buffer. | 244 | ** `C-u M-=' now counts lines/words/characters in the entire buffer. |
| 237 | 245 | ||
| 246 | +++ | ||
| 238 | ** New command `C-x r M-w' (copy-rectangle-as-kill). | 247 | ** New command `C-x r M-w' (copy-rectangle-as-kill). |
| 239 | It copies the region-rectangle as the last rectangle kill. | 248 | It copies the region-rectangle as the last rectangle kill. |
| 240 | 249 | ||
| @@ -246,17 +255,17 @@ just removing them, as done by `yank-excluded-properties'. | |||
| 246 | * Changes in Specialized Modes and Packages in Emacs 24.3 | 255 | * Changes in Specialized Modes and Packages in Emacs 24.3 |
| 247 | 256 | ||
| 248 | ** Apropos | 257 | ** Apropos |
| 249 | 258 | --- | |
| 250 | *** The faces used by Apropos are now directly customizable. | 259 | *** The faces used by Apropos are now directly customizable. |
| 251 | These faces are named `apropos-symbol', `apropos-keybinding', and so on; | 260 | These faces are named `apropos-symbol', `apropos-keybinding', and so on; |
| 252 | see the `apropos' Custom group for details. | 261 | see the `apropos' Custom group for details. |
| 253 | 262 | --- | |
| 254 | **** The old options whose values specified faces to use were removed | 263 | *** The old options whose values specified faces to use were removed |
| 255 | (i.e. `apropos-symbol-face', `apropos-keybinding-face', etc.). | 264 | (i.e. `apropos-symbol-face', `apropos-keybinding-face', etc.). |
| 256 | 265 | ||
| 257 | ** Buffer Menu | 266 | ** Buffer Menu |
| 258 | This package has been rewritten to use Tabulated List mode. | 267 | This package has been rewritten to use Tabulated List mode. |
| 259 | 268 | --- | |
| 260 | *** Option `Buffer-menu-buffer+size-width' is now obsolete. | 269 | *** Option `Buffer-menu-buffer+size-width' is now obsolete. |
| 261 | Use `Buffer-menu-name-width' and `Buffer-menu-size-width' instead. | 270 | Use `Buffer-menu-name-width' and `Buffer-menu-size-width' instead. |
| 262 | 271 | ||
| @@ -580,22 +589,22 @@ enabled. | |||
| 580 | 589 | ||
| 581 | 590 | ||
| 582 | ** Obsolete packages: | 591 | ** Obsolete packages: |
| 583 | 592 | +++ | |
| 584 | *** assoc.el | 593 | *** assoc.el |
| 585 | In most cases, assoc+member+push+delq work just as well. | 594 | In most cases, assoc+member+push+delq work just as well. |
| 586 | And in any case it's just a terrible package: ugly semantics, terrible | 595 | And in any case it's just a terrible package: ugly semantics, terrible |
| 587 | inefficiency, and not namespace-clean. | 596 | inefficiency, and not namespace-clean. |
| 588 | 597 | --- | |
| 589 | *** bruce.el | 598 | *** bruce.el |
| 590 | 599 | --- | |
| 591 | *** ledit.el | 600 | *** ledit.el |
| 592 | 601 | --- | |
| 593 | *** mailpost.el | 602 | *** mailpost.el |
| 594 | 603 | +++ | |
| 595 | *** mouse-sel.el | 604 | *** mouse-sel.el |
| 596 | 605 | --- | |
| 597 | *** patcomp.el | 606 | *** patcomp.el |
| 598 | 607 | +++ | |
| 599 | *** cust-print.el | 608 | *** cust-print.el |
| 600 | 609 | ||
| 601 | 610 | ||
| @@ -603,11 +612,13 @@ inefficiency, and not namespace-clean. | |||
| 603 | 612 | ||
| 604 | * Incompatible Lisp Changes in Emacs 24.3 | 613 | * Incompatible Lisp Changes in Emacs 24.3 |
| 605 | 614 | ||
| 615 | +++ | ||
| 606 | ** (random) by default now returns a different random sequence in | 616 | ** (random) by default now returns a different random sequence in |
| 607 | every Emacs run. Use (random S), where S is a string, to set the | 617 | every Emacs run. Use (random S), where S is a string, to set the |
| 608 | random seed to a value based on S, in order to get a repeatable | 618 | random seed to a value based on S, in order to get a repeatable |
| 609 | sequence in later calls. | 619 | sequence in later calls. |
| 610 | 620 | ||
| 621 | --- | ||
| 611 | ** The function `x-select-font' can return a font spec, instead of a | 622 | ** The function `x-select-font' can return a font spec, instead of a |
| 612 | font name as a string. Whether it returns a font spec or a font name | 623 | font name as a string. Whether it returns a font spec or a font name |
| 613 | depends on the graphical library. | 624 | depends on the graphical library. |
| @@ -628,6 +639,7 @@ and are now undefined. For backwards compatibility, defun and | |||
| 628 | defmacro currently return the name of the newly defined function/macro | 639 | defmacro currently return the name of the newly defined function/macro |
| 629 | but this should not be relied upon. | 640 | but this should not be relied upon. |
| 630 | 641 | ||
| 642 | --- | ||
| 631 | ** `face-spec-set' no longer sets frame-specific attributes when the | 643 | ** `face-spec-set' no longer sets frame-specific attributes when the |
| 632 | third argument is a frame (that usage was obsolete since Emacs 22.2). | 644 | third argument is a frame (that usage was obsolete since Emacs 22.2). |
| 633 | 645 | ||
| @@ -772,23 +784,24 @@ in Emacs 24.1: | |||
| 772 | **** `display-buffer-function' | 784 | **** `display-buffer-function' |
| 773 | 785 | ||
| 774 | ** Time | 786 | ** Time |
| 775 | 787 | --- | |
| 776 | *** `current-time-string' no longer requires that its argument's year | 788 | *** `current-time-string' no longer requires that its argument's year |
| 777 | must be in the range 1000..9999. It now works with any year supported | 789 | must be in the range 1000..9999. It now works with any year supported |
| 778 | by the underlying C implementation. | 790 | by the underlying C implementation. |
| 779 | 791 | --- | |
| 780 | *** `current-time' now returns extended-format time stamps | 792 | *** `current-time' now returns extended-format time stamps |
| 781 | (HIGH LOW USEC PSEC), where the new PSEC slot specifies picoseconds. | 793 | (HIGH LOW USEC PSEC), where the new PSEC slot specifies picoseconds. |
| 782 | PSEC is typically a multiple of 1000 on current machines. Other | 794 | PSEC is typically a multiple of 1000 on current machines. Other |
| 783 | functions that use this format, such as file-attributes and | 795 | functions that use this format, such as file-attributes and |
| 784 | format-time-string, have been changed accordingly. Old-format time | 796 | format-time-string, have been changed accordingly. Old-format time |
| 785 | stamps are still accepted. | 797 | stamps are still accepted. |
| 786 | 798 | --- | |
| 787 | *** The format of timers in timer-list and timer-idle-list is now | 799 | *** The format of timers in timer-list and timer-idle-list is now |
| 788 | [TRIGGERED-P HI-SECS LO-SECS USECS REPEAT-DELAY FUNCTION ARGS IDLE-DELAY PSECS]. | 800 | [TRIGGERED-P HI-SECS LO-SECS USECS REPEAT-DELAY FUNCTION ARGS IDLE-DELAY PSECS]. |
| 789 | The PSECS slot is new, and uses picosecond resolution. It can be | 801 | The PSECS slot is new, and uses picosecond resolution. It can be |
| 790 | accessed via the new timer--psecs accessor. | 802 | accessed via the new timer--psecs accessor. |
| 791 | 803 | ||
| 804 | +++ | ||
| 792 | ** Floating point functions now always return special values like NaN, | 805 | ** Floating point functions now always return special values like NaN, |
| 793 | instead of signaling errors, if given invalid args, e.g. (log -1.0). | 806 | instead of signaling errors, if given invalid args, e.g. (log -1.0). |
| 794 | Previously, they returned NaNs on some platforms but signaled errors | 807 | Previously, they returned NaNs on some platforms but signaled errors |
| @@ -806,18 +819,22 @@ result in a warning describing the cycle. | |||
| 806 | 819 | ||
| 807 | *** `autoloadp' | 820 | *** `autoloadp' |
| 808 | *** `autoload-do-load'. | 821 | *** `autoload-do-load'. |
| 822 | +++ | ||
| 809 | *** `buffer-narrowed-p' tests if the buffer is narrowed. | 823 | *** `buffer-narrowed-p' tests if the buffer is narrowed. |
| 810 | *** `file-name-base' returns a file name sans directory and extension. | 824 | *** `file-name-base' returns a file name sans directory and extension. |
| 811 | *** `function-get' fetches a function property, following aliases. | 825 | *** `function-get' fetches a function property, following aliases. |
| 826 | +++ | ||
| 812 | *** `posnp' tests if an object is a `posn'. | 827 | *** `posnp' tests if an object is a `posn'. |
| 813 | *** `set-temporary-overlay-map' sets up a temporary overlay map. | 828 | *** `set-temporary-overlay-map' sets up a temporary overlay map. |
| 829 | +++ | ||
| 814 | *** `system-users' returns the user names on the system. | 830 | *** `system-users' returns the user names on the system. |
| 831 | +++ | ||
| 815 | *** `system-groups' returns the group names on the system. | 832 | *** `system-groups' returns the group names on the system. |
| 816 | *** `tty-top-frame' returns the topmost frame of a text terminal. | 833 | *** `tty-top-frame' returns the topmost frame of a text terminal. |
| 817 | 834 | ||
| 818 | ** New macros `setq-local' and `defvar-local'. | 835 | ** New macros `setq-local' and `defvar-local'. |
| 819 | 836 | ||
| 820 | ** New fringe bitmap exclamation-mark. | 837 | ** New fringe bitmap `exclamation-mark'. |
| 821 | 838 | ||
| 822 | ** Face underlining can now use a wave. | 839 | ** Face underlining can now use a wave. |
| 823 | See the "Face Attributes" section of the Elisp manual. | 840 | See the "Face Attributes" section of the Elisp manual. |