aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorChong Yidong2012-09-30 17:18:38 +0800
committerChong Yidong2012-09-30 17:18:38 +0800
commit48de8b12215e22390db1bc822e809708070ab938 (patch)
tree125595be25583796bec86a019f75c8049164133e /etc
parent5938d5196d09aff887aa74603c102b1f303a613a (diff)
downloademacs-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/NEWS89
1 files changed, 53 insertions, 36 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 616db77fe02..0aff5e40251 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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
80lisp/ directory. There should not be any there anyway. If you have 81lisp/ directory. There should not be any there anyway. If you have
81been adding them there, put them somewhere else, eg site-lisp. 82been 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 [...].
90Just set minibuffer-eldef-shorten-default to t before enabling the mode. 91Just 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.
93Typing C-v or M-v at a y-or-n prompt scrolls forward or backward 95Typing C-v or M-v at a y-or-n prompt scrolls forward or backward
94respectively, without exiting from the prompt. 96respectively, 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
97next and previous path separator, respectively. 100next 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.
111When this command is called for an autoloaded function whose docstring 115When this command is called for an autoloaded function whose docstring
112contains a key substitution construct, that function's library is 116contains a key substitution construct, that function's library is
113automatically loaded, so that the documentation can be shown 117automatically loaded, so that the documentation can be shown
114correctly. To disable this, set `help-enable-auto-load' to nil. 118correctly. 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",
117even after their associated libraries have been loaded (and the 122even after their associated libraries have been loaded (and the
118autoloads have been redefined as functions). 123autoloads 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',
141if it is told to open a new frame without specifying any file to visit 146if it is told to open a new frame without specifying any file to visit
142or expression to evaluate. 147or 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
155of the fatal signal, and a short backtrace on platforms like glibc 160of the fatal signal, and a short backtrace on platforms like glibc
156that support backtraces. 161that 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
194interactively with no prefix arg. Previously, it moved to column 1. 200interactively 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.
202It used to be bound to `kill-this-buffer', but `z' is too easy to
203accidentally type.
204
205** New option `delete-trailing-lines' specifies whether
206M-x delete-trailing-whitespace should delete trailing lines at the end
207of 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.
212Each sequence of spaces in the supplied search string may match any 205Each sequence of spaces in the supplied search string may match any
213sequence of one or more whitespace characters, as specified by the 206sequence of one or more whitespace characters, as specified by the
214variable `search-whitespace-regexp'. (This variable is also used by a 207variable `search-whitespace-regexp'. (This variable is also used by a
215similar existing feature for regexp Isearch). 208similar 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.
218This applies to both ordinary and regexp Isearch. 211This applies to both ordinary and regexp Isearch.
219 212+++
220*** New option `replace-lax-whitespace'. 213*** New option `replace-lax-whitespace'.
221If non-nil, `query-replace' uses flexible whitespace matching too. 214If non-nil, `query-replace' uses flexible whitespace matching too.
222The default is nil. 215The default is nil.
@@ -225,6 +218,20 @@ The default is nil.
225and `M-s _' in Isearch toggles symbol search mode. 218and `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.
227It used to be bound to `kill-this-buffer', but `z' is too easy to
228accidentally type.
229
230+++
231** New option `delete-trailing-lines' specifies whether
232M-x delete-trailing-whitespace should delete trailing lines at the end
233of 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.
233the text to put between collected texts for use with M-x 240the text to put between collected texts for use with M-x
234append-to-register and M-x prepend-to-register. 241append-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).
239It copies the region-rectangle as the last rectangle kill. 248It 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.
251These faces are named `apropos-symbol', `apropos-keybinding', and so on; 260These faces are named `apropos-symbol', `apropos-keybinding', and so on;
252see the `apropos' Custom group for details. 261see 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
258This package has been rewritten to use Tabulated List mode. 267This 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.
261Use `Buffer-menu-name-width' and `Buffer-menu-size-width' instead. 270Use `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
585In most cases, assoc+member+push+delq work just as well. 594In most cases, assoc+member+push+delq work just as well.
586And in any case it's just a terrible package: ugly semantics, terrible 595And in any case it's just a terrible package: ugly semantics, terrible
587inefficiency, and not namespace-clean. 596inefficiency, 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
607every Emacs run. Use (random S), where S is a string, to set the 617every Emacs run. Use (random S), where S is a string, to set the
608random seed to a value based on S, in order to get a repeatable 618random seed to a value based on S, in order to get a repeatable
609sequence in later calls. 619sequence 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
612font name as a string. Whether it returns a font spec or a font name 623font name as a string. Whether it returns a font spec or a font name
613depends on the graphical library. 624depends on the graphical library.
@@ -628,6 +639,7 @@ and are now undefined. For backwards compatibility, defun and
628defmacro currently return the name of the newly defined function/macro 639defmacro currently return the name of the newly defined function/macro
629but this should not be relied upon. 640but 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
632third argument is a frame (that usage was obsolete since Emacs 22.2). 644third 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
777must be in the range 1000..9999. It now works with any year supported 789must be in the range 1000..9999. It now works with any year supported
778by the underlying C implementation. 790by 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.
782PSEC is typically a multiple of 1000 on current machines. Other 794PSEC is typically a multiple of 1000 on current machines. Other
783functions that use this format, such as file-attributes and 795functions that use this format, such as file-attributes and
784format-time-string, have been changed accordingly. Old-format time 796format-time-string, have been changed accordingly. Old-format time
785stamps are still accepted. 797stamps 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].
789The PSECS slot is new, and uses picosecond resolution. It can be 801The PSECS slot is new, and uses picosecond resolution. It can be
790accessed via the new timer--psecs accessor. 802accessed 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,
793instead of signaling errors, if given invalid args, e.g. (log -1.0). 806instead of signaling errors, if given invalid args, e.g. (log -1.0).
794Previously, they returned NaNs on some platforms but signaled errors 807Previously, 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.
823See the "Face Attributes" section of the Elisp manual. 840See the "Face Attributes" section of the Elisp manual.