X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/72b255c7e7856eb0abefb1149211a8be519f6fef..bfeae2cf098dcf5bdb4af14d896e790cbe91d60f:/etc/NEWS diff --git a/etc/NEWS b/etc/NEWS index 93da6f7dcc..a7388c4e9f 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -21,7 +21,13 @@ When you add a new item, please add it without either +++ or --- so we will look at it and add it to the manual. -* Installation Changes in Emacs 24.2 +* Installation Changes in Emacs 24.3 + +** New configure option '--without-all' to disable additional features. +This disables most of the features that are normally enabled by default. + +** New configure option '--enable-link-time-optimization' to utilize +an appropriate feature provided by GCC since version 4.5.0. ** New configure option '--enable-gcc-warnings', intended for developers. If building with GCC, this enables compile-time checks that warn about @@ -32,6 +38,11 @@ may be useful. ** The configure option '--disable-maintainer-mode' has been removed, as it was confusingly-named and rarely useful. +--- +** You can use `NO_BIN_LINK=t make install' to prevent the installation +overwriting "emacs" in the installation bin/ directory with a link +to emacs-VERSION. + --- ** Emacs uses libtinfo in preference to libncurses, if available. @@ -55,7 +66,7 @@ Lisp_Object type no longer uses a union to implement the compile time check that this option enables. -* Startup Changes in Emacs 24.2 +* Startup Changes in Emacs 24.3 ** Emacs no longer searches for `leim-list.el' files beneath the standard lisp/ directory. There should not be any there anyway. If you have @@ -65,7 +76,11 @@ been adding them there, put them somewhere else, eg site-lisp. ** The `--no-site-lisp' command line option now works for Nextstep builds. -* Changes in Emacs 24.2 +* Changes in Emacs 24.3 + +** You can now scroll the selected window in most y-or-n prompts. +Typing C-v or M-v at a prompt scrolls forward or backward +respectively, without leaving the y-or-n prompt. ** Help changes @@ -86,6 +101,11 @@ machines. Other functions that use this format, such as file-attributes and format-time-string, have been changed accordingly. Old-format time stamps are still accepted. +** Emacs now generates backtraces on fatal errors. +On encountering a fatal error, Emacs now outputs a textual description +of the fatal signal, and a short backtrace on platforms like glibc +that support backtraces. + ** New functions `system-users', `system-groups' return lists of the user name, group names known to the system (where possible). @@ -110,6 +130,10 @@ treated as images. *** Images displayed via ImageMagick now support transparency and the :background image spec property. +** Internationalization changes + +*** New language environment: Persian. + ** Face underlining can now use a wave. See the "Face Attributes" section of the Elisp manual. @@ -144,26 +168,61 @@ local variables on remote hosts. ** `insert-char' is now a command, and `ucs-insert' an obsolete alias for it. +** The entry for PCL-CVS has been removed from the Tools menu. +The PCL-CVS commands are still available via the keyboard. + -* Editing Changes in Emacs 24.2 +* Editing Changes in Emacs 24.3 + +** The `z' key no longer has a binding in most special modes. +It used to be bound to `kill-this-buffer', but `z' is too easy to +accidentally type. + +** New option `yank-handled-properties' allows processing of text +properties on yanked text, in more ways that are more general than +just removing them, as done by `yank-excluded-properties'. ** New option `delete-trailing-lines' specifies whether the M-x delete-trailing-whitespace command should delete trailing lines at the end of the buffer. It defaults to t. ++++ +** `C-x r +' is now overloaded to invoke `append-to-register. + ++++ +** New option `register-separator' specifies the register containing +the text to put between collected texts for use with M-x +append-to-register and M-x prepend-to-register. + ** Search changes *** Global `M-s _' starts a symbol (identifier) incremental search, and `M-s _' in Isearch toggles symbol search mode. `M-s c' in Isearch toggles search case-sensitivity. +*** `M-s SPC' in Isearch toggles whitespace matching mode +in both ordinary and regexp incremental search, so that each +sequence of spaces in the search string matches any combination +of one or more whitespace characters defined by the variable +`search-whitespace-regexp'. In ordinary incremental search, +`isearch-toggle-lax-whitespace' toggles the value of the variable +`isearch-lax-whitespace'. In regexp incremental search, it toggles +the value of the variable `isearch-regexp-lax-whitespace'. + +** query-replace changes + +*** When new option `replace-lax-whitespace' is non-nil, +and you enter a space or spaces in the strings or regexps +to be replaced, `query-replace' will match any sequence matched +by the regexp `search-whitespace-regexp'. + ** M-x move-to-column, if called interactively with no prefix arg, now prompts for a column number. ** `mouse-avoidance-banish-position' can now be used to customize `mouse-avoidance-mode' further. -** `M-=' is now bound to `count-words', not `count-words-region'. +** `C-u M-=' now counts lines/words/characters in the entire buffer. ** `C-M-f' and `C-M-b' will now move to the path name separator character when doing minibuffer filename prompts. @@ -176,7 +235,9 @@ It copies the region-rectangle as the last rectangle kill. ** New input method `vietnamese-vni'. -* Changes in Specialized Modes and Packages in Emacs 24.2 +* Changes in Specialized Modes and Packages in Emacs 24.3 + +** Compilation has a new `compilation-always-kill' configuration variable. ** Term changes @@ -187,18 +248,32 @@ ANSI terminal colors and styles by customizing the corresponding `term-color-', `term-color-underline' and `term-color-bold' faces. -** CL's main entry is now (require 'cl-lib). +** CL +*** CL's main entry is now (require 'cl-lib). `cl-lib' is like the old `cl' except that it uses the namespace cleanly, -i.e. all its definitions have the "cl-" prefix. +i.e. all its definitions have the "cl-" prefix (and internal definitions use +the "cl--" prefix). If `cl' provided a feature under the name `foo', then `cl-lib' provides it under the name `cl-foo' instead, with the exceptions of the few definitions that had to use `foo*' to avoid conflicts with pre-existing Elisp entities, which have not been renamed to `cl-foo*' but just `cl-foo'. -The old `cl' is now deprecated and is nothing more than a bunch of aliases that +The old `cl' is now deprecated and is just a bunch of aliases that provide the old non-prefixed names. +*** `cl-flet' is not like `flet' (which is deprecated). +Instead it obeys the behavior of Common-Lisp's `flet'. + +*** `cl-labels' is slightly different from `labels'. +The difference is that it relies on the `lexical-binding' machinery (as opposed +to the `lexical-let' machinery used previously) to capture definitions in +closures, so such closures will only work if `lexical-binding' is in use. + +*** `progv' was rewritten to use the `let' machinery. +A side effect is that vars without corresponding value are bound to nil +rather than making them unbound. + ** Desktop *** `desktop-path' no longer includes the "." directory. Desktop @@ -269,6 +344,14 @@ python-describe-symbol | python-eldoc-at-point *** Accepts \r and \f as whitespace. +** SQL Mode + +*** DB2 added `sql-db2-escape-newlines' + +If non-nil, newlines sent to the command interpreter will be escaped +by a backslash. The default does not escape the newlines and assumes +that the sql statement will be terminated by a semicolon. + ** Diff mode Faces for changes now use the same diff color scheme as in modern VCSes @@ -280,6 +363,9 @@ The variable `diff-use-changed-face' defines whether to use the face `diff-changed', or `diff-removed' and `diff-added' to highlight changes in context diffs. +*** The new command `diff-remove-trailing-whitespace' fixes trailing +whitespace problems introduced by the diff. + ** Ediff now uses the same color scheme as Diff mode on high color displays. @@ -360,6 +446,13 @@ channel keys found, if any. if the command ends in `;' (when operating on multiple files). Otherwise, it executes the command on each file in parallel. +*** The minibuffer default for `=' (`dired-diff) has changed. +It is now the backup file for the file at point, if one exists, rather +than the file at the mark. + +*** `M-=' is no longer bound to `dired-backup-diff' in Dired buffers. +The global binding for `M-=', `count-words-region' is in effect. + ** Shell *** New option `async-shell-command-buffer' specifies what buffer to use @@ -475,9 +568,22 @@ inefficiency, and not namespace-clean. *** cust-print.el -* New Modes and Packages in Emacs 24.2 +* New Modes and Packages in Emacs 24.3 -* Incompatible Lisp Changes in Emacs 24.2 +* Incompatible Lisp Changes in Emacs 24.3 + +** (random) by default now returns a different random sequence in +every Emacs run. Use (random S), where S is a string, to set the +random seed to a value based on S, in order to get a repeatable +sequence in later calls. + +** The function `x-select-font' can return a font spec, instead of a +font name as a string. Whether it returns a font spec or a font name +depends on the graphical library. + +** If the NEWTEXT arg to `replace-match' contains a substring "\?", +that substring is inserted literally even if the LITERAL arg is +non-nil, instead of causing an error to be signaled. +++ ** Docstrings starting with `*' no longer indicate user options. @@ -532,13 +638,24 @@ are deprecated and will be removed eventually. *** `facemenu-unlisted-faces' *** `rmail-decode-mime-charset' -*** `last-input-char' and `last-command-char' +*** `last-input-char', `last-command-char', `unread-command-char'. -* Lisp changes in Emacs 24.2 +* Lisp changes in Emacs 24.3 + +** Interpreted files get eagerly macro-expanded during load. +This can significantly speed up execution of non-byte-compiled code, but can +also bump into harmless and previously unnoticed cyclic dependencies. +These should not be fatal: they will simply cause the macro-calls to be left +for later expansion (as before), but will also result in a warning describing +the cycle. + +** New minor mode `read-only-mode' to replace toggle-read-only (now obsolete). ** New functions `autoloadp' and `autoload-do-load'. +** New function `posnp' to test if an object is a `posn'. + ** `function-get' fetches the property of a function, following aliases. ** `toggle-read-only' accepts a second argument specifying whether to @@ -558,9 +675,54 @@ The interpretation of the DECLS is determined by `defun-declarations-alist'. ** New error type and new function `user-error'. Doesn't trigger the debugger. -** The functions get-lru-window, get-mru-window and get-largest-window +** Debugger +*** New option `debugger-bury-or-kill'. + +*** Set `debug-on-message' to enter the debugger when a certain +message is displayed in the echo area. This can be useful when trying +to work out which code is doing something. + +*** New var `inhibit-debugger', automatically set to prevent accidental +recursive invocations. + ++++ +** New utility function `buffer-narrowed-p'. + +** Window changes + +*** The functions get-lru-window, get-mru-window and get-largest-window now accept a third argument to avoid choosing the selected window. +*** New macro `with-temp-buffer-window'. + +*** New option `temp-buffer-resize-frames'. + +*** New function `fit-frame-to-buffer' and new option + `fit-frame-to-buffer-bottom-margin'. + +*** New display action functions `display-buffer-below-selected' and +`display-buffer-in-previous-window'. + +*** New display action alist entry `inhibit-switch-frame', if non-nil, +tells display action functions to avoid changing which frame is +selected. + +*** New display action alist entry `pop-up-frame-parameters', if +non-nil, specifies frame parameters to give any newly-created frame. + +*** New display action alist entry `previous-window', if non-nil, +specifies window to reuse in `display-buffer-in-previous-window'. + +*** The following variables are obsolete, as they can be replaced by +appropriate entries in the `display-buffer-alist' function introduced +in Emacs 24.1: ++++ +**** `display-buffer-reuse-frames' +**** `special-display-regexps' +**** `special-display-frame-alist' +**** `special-display-buffer-names' +**** `special-display-function' + ** Completion *** New function `completion-table-with-quoting' to handle completion @@ -575,14 +737,23 @@ table, but with a different prefix. must be in the range 1000..9999. It now works with any year supported by the underlying C implementation. +** Floating point + +*** When floating point functions such as `log' are given invalid +arguments, e.g., (log -1.0), they now uniformly return special values +such as NaNs instead of signaling errors. Previously, these functions +returned NaNs on some platforms but signaled errors on others. The affected +functions are acos, asin, tan, exp, expt, log, log10, sqrt, and mod. + ** New function file-name-base. ** New function `tty-top-frame' returns the topmost frame of a text terminal. ** `automount-dir-prefix' is obsolete. ** `buffer-has-markers-at' is obsolete. +** `window-system-version' is obsolete. -* Changes in Emacs 24.2 on non-free operating systems +* Changes in Emacs 24.3 on non-free operating systems ** New configure.bat options on MS-Windows: @@ -593,6 +764,12 @@ is detected. Emacs now supports mouse highlight, help-echo (in the echo area), and mouse-autoselect-window. +** On MS-Windows Vista and later Emacs now supports symbolic links. + +* Changes in Emacs 24.2 + +** This is mainly a bug-fix release. + * Installation Changes in Emacs 24.1 @@ -1161,7 +1338,7 @@ buffer was used. The search is performed using `customize-apropos'. To turn off the search field, set `custom-search-field' to nil. -*** Custom options now start out hidden if at their default values. +*** Options in customize group buffers start out hidden if not customized. Use the arrow to the left of the option name to toggle visibility. *** custom-buffer-sort-alphabetically now defaults to t. @@ -1307,6 +1484,10 @@ If you had that set, you need to put in your ~/.authinfo file instead. +*** SMTPmail defaults to using the address in the From: header as the +SMTP MAIL FROM envelope. To override this, set `mail-envelope-from' +to the address you wish to use instead. + ** SQL mode *** New options `sql-port', `sql-connection-alist', `sql-send-terminator',