X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/8dcd9adf660cbe463a3e56707f5c15d8f34b2f87..315f675857250c2204d024748e9eafa57c68410f:/etc/NEWS diff --git a/etc/NEWS b/etc/NEWS index 3a61e9e950..6441c82f94 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -27,7 +27,32 @@ so we will look at it and add it to the manual. If building with GCC, this enables compile-time checks that warn about possibly-questionable C code. On a recent GNU system there should be no warnings; on older and on non-GNU systems the generated warnings -may or may not be useful. By default, these warnings are not generated. +may be useful. + +** The configure option '--disable-maintainer-mode' has been removed, +as it was confusingly-named and rarely useful. + +--- +** Emacs uses libtinfo in preference to libncurses, if available. + +--- +** On FreeBSD and NetBSD, configure no longer adds /usr/local/lib and +/usr/pkg/lib to the linker search path. You must add them yourself if +you want them. + +--- +** On Mac OS X, configure no longer automatically adds the Fink /sw +directories to the search path. You must add them yourself if you want them. + +--- +** The standalone scripts rcs-checkin and vcdiff have been removed +(from the bin and libexec directories, respectively). The former is +no longer relevant, the latter is replaced by lisp (in vc-sccs.el). + +** The configuration option '--enable-use-lisp-union-type' has been +renamed to '--enable-check-lisp-object-type', as the resulting +Lisp_Object type no longer uses a union to implement the compile time +check that this option enables. * Startup Changes in Emacs 24.2 @@ -39,12 +64,64 @@ been adding them there, put them somewhere else, eg site-lisp. * Changes in Emacs 24.2 +** New functions `system-users', `system-groups' return lists of the user +name, group names known to the system (where possible). + ** If your Emacs was built from a bzr checkout, the new variable `emacs-bzr-version' contains information about which bzr revision was used. +** ImageMagick support, if available, is automatically enabled. +It is no longer necessary to call `imagemagick-register-types' +explicitly to install ImageMagick image types; that function is called +automatically at startup, or when customizing a relevant imagemagick- +option. + +*** Setting `imagemagick-types-inhibit' to t now disables the use of +ImageMagick to view images. You must call imagemagick-register-types +afterwards if you do not use customize to change this. + +*** The new variable `imagemagick-enabled-types' also affects which +ImageMagick types are treated as images. The function +`imagemagick-filter-types' returns the list of types that will be +treated as images. + +*** Images displayed via ImageMagick now support transparency and the +:background image spec property. + +** String values for `initial-buffer-choice' also apply to emacsclient +frames, if emacsclient is only told to open a new frame without +specifying any file to visit or expression to evaluate. + ++++ +** You can prevent the creation of lock files by setting `create-lockfiles' +to nil. Use with caution, and only if you really need to. + ++++ +** Using "unibyte: t" in Lisp source files is obsolete. +Use "coding: raw-text" instead. + +** Mode line changes + +*** New option `mode-line-default-help-echo' specifies the help text +(shown in a tooltip or in the echo area) for any part of the mode line +that does not have its own specialized help text. + +*** You can now click mouse-3 in the coding system indicator to +invokes `set-buffer-file-coding-system'. + ++++ +** Setting `enable-remote-dir-locals' to non-nil allows directory +local variables on remote hosts. + * Editing Changes in Emacs 24.2 +** 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-x move-to-column, if called interactively with no prefix arg, now prompts for a column number. @@ -56,23 +133,218 @@ character when doing minibuffer filename prompts. ** `goto-char' is now bound to `M-g c'. +** New input method `vietnamese-vni'. + * Changes in Specialized Modes and Packages in Emacs 24.2 -** which-function-mode now applies to all applicable major modes by default. +** 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. + +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 +provide the old non-prefixed names. + +** VHDL-mode +- Support for ghdl (free vhdl compiler). Now default. +- Add/update support for VHDL-AMS packages. +- Update to VHDL'02 standard. +- Accept \r and \f as whitespace. + +** Diff mode + +Faces for changes now use the same diff color scheme as in modern VCSes +where deletions are displayed in red (new faces `diff-refine-removed' +and `smerge-refined-removed' and new definition of `diff-removed'), +insertions in green (new faces `diff-refine-added' and +`smerge-refined-added' and new definition of `diff-added'). +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. + +** Ediff now uses the same color scheme as Diff mode +on high color displays. + +** `sh-script' +*** Pairing of parens/quotes uses electric-pair-mode instead of skeleton-pair. +*** `sh-electric-here-document-mode' now controls auto-insertion of here-docs. +*** `sh-use-smie' lets you choose a new indentation and navigation code. + +** reStructuredText mode + +*** Rebind nearly all keys making room for more keys and complying +better to usage in other modes. Describe bindings with C-c C-h. + +*** Major revision of indentation working very similar to other +modes. TAB is your friend. + +*** Major revision of filling working fine with most of +reStructuredText syntax. Support auto-filling. + +*** Major revision of comment handling. + +*** Major revision of fontification working with `jit-lock-mode'. + +*** Cover reStructuredText syntax more closely. Improve +the experience for Sphinx users. + +*** `rst-insert-list' inserts new list or continues existing lists. + +*** Extend correct and improve customization. + +*** Negative prefix argument always works for `rst-adjust'. + +*** Reset window configuration after displaying TOC. + +*** Package version in `rst-version'. + +** New `derived-mode' filter for Ibuffer, bound to `/ M'. +`/ m' is now bound to filter by used-mode, which used to be bound to `/ M'. + +** Apropos + +*** The faces used by Apropos are now directly customizable. +These faces are named `apropos-symbol', `apropos-keybinding', and so on; +see the `apropos' Custom group for details. + +**** The old options whose values specified faces to use were removed +(i.e. `apropos-symbol-face', `apropos-keybinding-face', etc.). + +** Buffer Menu +This package has been rewritten to use Tabulated List mode. + +*** Option `Buffer-menu-buffer+size-width' is now obsolete. +Use `Buffer-menu-name-width' and `Buffer-menu-size-width' instead. + +** Calendar + +*** The calendars produced by cal-html include holidays. +Customize cal-html-holidays to change this. + +** Customize + +*** `custom-reset-button-menu' now defaults to t. + +*** Non-option variables are never matched in `customize-apropos' and +`customize-apropos-options' (i.e. the prefix argument does nothing for +these commands now). ** erc will look up server/channel names via auth-source and use the channel keys found, if any. +** FFAP + +*** The option `ffap-url-unwrap-remote' can now be a list of strings, +specifying URL types which should be converted to remote file names at +the FFAP prompt. The default is now '("ftp"). + +** Follow mode + +*** The obsolete variable `follow-mode-off-hook' has been removed. + +*** Follow mode no longer works by using advice. +The option `follow-intercept-processes' has been removed. + ** The `server-auth-key' variable can be used to set a permanent shared key for Emacs Server. - + +** In Perl mode, new option `perl-indent-parens-as-block' causes non-block +closing brackets to be aligned with the line of the opening bracket. + +** FIXME something happened to ses.el, 2012-04-17. + +** which-function-mode now applies to all applicable major modes by default. + +** Tramp + ++++ +*** The syntax has been extended in order to allow ad-hoc proxy +definitions. See the manual for details. + ++++ +*** Remote processes are now supported also on remote Windows host. + +** D-Bus + ++++ +*** New variables `dbus-compiled-version' and `dbus-runtime-version'. + ++++ +*** The D-Bus object manager interface is implemented. + ++++ +*** Variables of type :(u)int32 and :(u)int64 accept floating points, +if their value does not fit into Emacs's integer range. + ++++ +*** The function `dbus-call-method' works non-blocking now, it can be +interrupted by C-g. `dbus-call-method-non-blocking' is obsolete. + ++++ +*** Signals can be sent also as unicast message. + ++++ +*** The argument list of `dbus-register-signal' has been extended, +according to the new match rule types of D-Bus. See the manual for +details. + ++++ +*** `dbus-init-bus' supports private connections. + ++++ +*** There is a new function `dbus-setenv'. + ++++ +** notifications.el supports now version 1.2 of the Notifications API. +The function `notifications-get-capabilities' returns the supported +server properties. + +** Package Menu + +*** Newly-available packages are listed in the Package Menu as "new", +and sorted above the other "available" packages by default. + +** Tabulated List and packages derived from it + +*** New command `tabulated-list-sort', bound to `S', sorts the column +at point, or the Nth column if a numeric prefix argument is given. + +** URL + +*** Structs made by `url-generic-parse-url' have nil `attributes' slot. +Previously, this slot stored semicolon-separated attribute-value pairs +appended to some imap URLs, but this is not compatible with RFC 3986. +So now the `filename' slot stores the entire path and query components +and the `attributes' slot is always nil. + +*** New function `url-encode-url' for encoding a URI string. +The `url-retrieve' function now uses this to encode its URL argument, +in case that is not properly encoded. + ** Obsolete packages: +*** assoc.el +In most cases, assoc+member+push+delq work just as well. +And in any case it's just a terrible package: ugly semantics, terrible +inefficiency, and not namespace-clean. + +*** bruce.el + +*** ledit.el + *** mailpost.el *** mouse-sel.el +*** patcomp.el + +*** cust-print.el + * New Modes and Packages in Emacs 24.2 @@ -84,8 +356,52 @@ Only variables defined using `defcustom' are considered user options. The function `user-variable-p' is now an obsolete alias for `custom-variable-p'. +** `face-spec-set' no longer sets frame-specific attributes when the +third argument is a frame (that usage was obsolete since Emacs 22.2). + ++++ +** The arguments of `dbus-register-signal' are no longer just strings, +but keywords or keyword-string pairs. The old argument list will +still be supported for Emacs 24.x. + +** The following obsolete variables and varaliases have been removed: + +*** `facemenu-unlisted-faces' +*** `rmail-decode-mime-charset' + * Lisp changes in Emacs 24.2 + +** `defun' also accepts a (declare DECLS) form, like `defmacro'. +The interpretation of the DECLS is determined by `defun-declarations-alist'. + +** `macro-declaration-function' is obsolete, use `macro-declarations-alist'. + +** New function `set-temporary-overlay-map'. + +** New macros `setq-local' and `defvar-local'. + +** 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 +now accept a third argument to avoid chosing the selected window. + +** Completion + +*** New function `completion-table-with-quoting' to handle completion +in the presence of quoting, such as file completion in shell buffers. + +*** New function `completion-table-subvert' to use an existing completion +table, but with a different prefix. + +** Time + +*** `current-time-string' no longer requires that its argument's year +must be in the range 1000..9999. It now works with any year supported +by the underlying C implementation. + +** `automount-dir-prefix' is obsolete. +** `buffer-has-markers-at' is obsolete. * Changes in Emacs 24.2 on non-free operating systems @@ -94,6 +410,10 @@ The function `user-variable-p' is now an obsolete alias for *** --without-libxml2 omits support for libxml2, even if its presence is detected. +** When invoked with the -nw switch to run on the Windows text-mode terminal, +Emacs now supports mouse highlight, help-echo (in the echo area), and +mouse-autoselect-window. + * Installation Changes in Emacs 24.1 @@ -737,7 +1057,7 @@ by default. (Its name is misleading, since it has nothing to do with MIME attachments.) The old name is now an obsolete alias to the new name. -** MH-E has been upgraded to MH-E version 8.3.1. +** MH-E has been updated to MH-E version 8.3.1. See MH-E-NEWS for details. ** Modula-2 mode provides auto-indentation. @@ -749,10 +1069,79 @@ Completion is now performed via `completion-at-point', bound to C-M-i or M-TAB. If `nxml-bind-meta-tab-to-complete-flag' is non-nil (the default), this performs tag completion. +** Org mode has been updated to version 7.8.09. +See ORG-NEWS for details. + ** Prolog mode has been completely revamped, with lots of additional functionality such as more intelligent indentation, electricity, support for more variants, including Mercury, and a lot more. +** Python mode has been replaced with fgallina's python.el. +Per-buffer shells, solid automatic indentation, Python 2 and 3 support +out of the box, a revamped shell interaction compatible with iPython +(and virtually any other text based shell) plus other goodies are +provided. + +*** Defcustom replacements. + +| Old defcustom | New defcustom | +|-------------------------------+-----------------------------------| +| python-indent | python-indent-offset | +| python-guess-indent | python-indent-guess-indent-offset | +| python-pdbtrack-do-tracking-p | python-pdbtrack-activate | +| python-use-skeletons | python-skeleton-autoinsert | + +*** Removed defcustoms. + +`python-indent-string-contents': Strings are never indented. + +`python-honour-comment-indentation': Comments are never considered as +indentation markers themselves. + +`python-continuation-offset': Removed, indentation is automatically +calculated in a pep8 compliant way depending on the context. + +`python-shell-prompt-alist', `python-shell-continuation-prompt-alist': +Have no direct mapping as the shell interaction is completely +different. + +`python-python-command', `python-jython-command': Are somehow replaced +by `python-shell-interpreter'. + +`inferior-python-filter-regexp', `python-remove-cwd-from-path': Have +no mapping whatsoever, they are removed. + +`python-pdbtrack-minor-mode-string': Removed, pdbtracking has no minor +mode for it. + +`python-source-modes': Removed, This mode makes no distinction between +jython and python files. + +*** Command replacements. + +| Old command | New command | +|---------------------------+------------------------------| +| python-insert-class | python-skeleton-class | +| python-insert-def | python-skeleton-def | +| python-insert-for | python-skeleton-for | +| python-insert-if | python-skeleton-if | +| python-insert-try/except | python-skeleton-try | +| python-insert-try/finally | python-skeleton-try | +| python-insert-while | python-skeleton-while | +| python-find-function | python-nav-jump-to-defun | +| python-next-statement | python-nav-forward-sentence | +| python-previous-statement | python-nav-backward-sentence | +| python-send-buffer | python-shell-send-buffer | +| python-send-defun | python-shell-send-defun | +| python-send-region | python-shell-send-region | +| python-send-region-and-go | [0] | +| python-send-string | python-shell-send-string | +| python-switch-to-python | python-shell-switch-to-shell | +| python-describe-symbol | python-eldoc-at-point | + +[0] Can be emulated by python-shell-send-region + +python-shell-switch-to-shell + ** Rmail *** The command `rmail-epa-decrypt' decrypts OpenPGP data @@ -1132,6 +1521,8 @@ So do `defcustom' and other forms that call `defvar' as a subroutine. *** New function `special-variable-p' to check whether a variable is declared as dynamically bound. +*** The form ((lambda ...) ...) is deprecated. + ** An Emacs Lisp testing tool is now included. Emacs Lisp developers can use this tool to write automated tests for their code. See the ERT info manual for details.