X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/58f74fe408fe268fb6b570da9ae545a9fb1fd56c..59361254a6ea5fcfc2f1ec344665aa719fbb936f:/etc/NEWS?ds=sidebyside diff --git a/etc/NEWS b/etc/NEWS index 319f5f8c95..66b173751b 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -47,6 +47,9 @@ also depend on Gtk+. You can disable them with --without-rsvg and This is only useful for Emacs developers to debug certain types of bugs. This is not a new feature; only the configure flag is new. +** There is a new configure option --with-wide-int. +With it, Emacs integers typically have 62 bits, even on 32-bit machines. + --- ** New translation of the Emacs Tutorial in Hebrew is available. Type `C-u C-h t' to choose it in case your language setup doesn't @@ -68,8 +71,9 @@ and also when HOME is set to C:\ by default. * Changes in Emacs 24.1 -** Completion in a non-minibuffer now tries to detect the end of completion -and pops down the *Completions* buffer accordingly. +** The inactive minibuffer has its own major mode `minibuffer-inactive-mode'. +This is handy for minibuffer-only frames, and is also used for the "mouse-1 +pops up *Messages*" feature, which can now easily be changed. ** emacsclient changes @@ -80,18 +84,63 @@ client frame in parent X window ID, via XEmbed. This works like the +++ *** New emacsclient argument -q/--quiet suppresses some status messages. ++++ +*** New emacsclient argument --frame-parameters can be used to set the +frame parameters of a newly-created graphical frame. + *** If emacsclient shuts down as a result of Emacs signalling an error, its exit status is 1. -** Completion can cycle, depending on completion-cycle-threshold. +** Completion +*** shell-mode uses pcomplete rules, with the standard completion UI. + +*** Many packages have been changed to use completion-at-point rather than +their own completion code. + +*** Completion in a non-minibuffer now tries to detect the end of completion +and pops down the *Completions* buffer accordingly. + +*** Completion can cycle, depending on completion-cycle-threshold. + +*** New completion style `substring'. + +*** Completion style can be set per-category `completion-category-overrides'. + +*** Completion of buffers now uses substring completion by default. -** `completing-read' can be customized using the new variable +*** `completing-read' can be customized using the new variable `completing-read-function'. +*** minibuffer-local-filename-must-match-map is not used any more. +Instead, the bindings in minibuffer-local-filename-completion-map are combined +with minibuffer-local-must-match-map. + ** auto-mode-case-fold is now enabled by default. +** smtpmail changes + +** smtpmail has been largely rewritten to upgrade to STARTTLS if +possible, and uses the auth-source framework for getting credentials. +The rewrite should be largely compatible with previous versions of +smtpmail, but there are two major incompatibilities: + +** `smtpmail-auth-credentials' no longer exists. That variable could +be either ~/.authinfo (in which case you're fine -- you won't see any +difference), but if it were a direct list of user names and passwords, +you will be prompted for the user name and the password instead, and +they will then be saved to ~/.authinfo. + +** Similarly, `smtpmail-starttls-credentials' no longer exists. If +you had thet set, then then you need to put + +machine smtp.whatever.foo port 25 key "~/.my_smtp_tls.key" cert "~/.my_smtp_tls.cert" + +in your ~/.authinfo file instead. + +** Internationalization changes + +++ -** Emacs now supports display and editing of bidirectional text. +*** Emacs now supports display and editing of bidirectional text. See the node "Bidirectional Editing" in the Emacs Manual for some initial documentation. @@ -117,6 +166,20 @@ Note that some advanced display features, such as overlay strings and `display' text properties, do not yet work correctly when bidirectional text is reordered for display. ++++ +*** Enhanced support for characters that have no glyphs in available fonts. +If a character has no glyphs in any of the available fonts, Emacs by +default will display it either as a hexadecimal code in a box or as a +thin 1-pixel space. In addition to these two methods, Emacs can +display these characters as empty box, as an acronym, or not display +them at all. To change how these characters are displayed, customize +the variable `glyphless-char-display-control'. + +On character terminals these methods are used for characters that +cannot be encoded by the `terminal-coding-system'. + +*** There are two new input methods for Persian/Farsi: farsi and farsi-translit. + ** GTK scroll-bars are now placed on the right by default. Use `set-scroll-bar-mode' to change this. @@ -154,19 +217,9 @@ off by customizing x-gtk-use-system-tooltips. with Xft. To change font, use the X resource font, for example: Emacs.pane.menubar.font: Courier-12 -+++ -** Enhanced support for characters that have no glyphs in available fonts. -If a character has no glyphs in any of the available fonts, Emacs by -default will display it either as a hexadecimal code in a box or as a -thin 1-pixel space. In addition to these two methods, Emacs can -display these characters as empty box, as an acronym, or not display -them at all. To change how these characters are displayed, customize -the variable `glyphless-char-display-control'. - -On character terminals these methods are used for characters that -cannot be encoded by the `terminal-coding-system'. - ** On graphical displays, the mode-line no longer ends in dashes. +Also, the first dash (which does not indicate anything) is just +displayed as a space. ** On Nextstep/OSX, the menu bar can be hidden by customizing ns-auto-hide-menu-bar. @@ -267,11 +320,29 @@ default, all themes included in Emacs are treated as safe. ** The user option `remote-file-name-inhibit-cache' controls whether the remote file-name cache is used for read access. ++++ +** The use of a "mode: minor" specification in a file local variables section +to enable a minor-mode is deprecated. Instead, use "eval: (minor-mode 1)". + ** The standalone programs lib-src/digest-doc and sorted-doc have been replaced with Lisp commands `doc-file-to-man' and `doc-file-to-info'. +--- +** The standalone program `fakemail' has been removed. +If you need it, feedmail.el ought to provide a superset of the functionality. + ** The variable `focus-follows-mouse' now always defaults to nil. +** New primitive `secure-hash' that supports many secure hash algorithms +including md5, sha-1 and sha-2 (sha-224, sha-256, sha-384 and sha-512). +The elisp implementation sha1.el is removed. Feature sha1 is provided +by default. + +** Menu-bar changes + +*** `menu-bar-select-buffer-function' lets you choose another operation +instead of `switch-to-buffer' when selecting an item in the Buffers menu. + * Editing Changes in Emacs 24.1 @@ -364,6 +435,11 @@ between applications. *** Support for X cut buffers has been removed. +*** Support for X clipboard managers has been added. + +**** To inhibit use of the clipboard manager, set +`x-select-enable-clipboard-manager' to nil. + ** New command `rectangle-number-lines', bound to `C-x r N', numbers the lines in the current rectangle. With an prefix argument, this prompts for a number to count from and for a format string. @@ -377,9 +453,15 @@ $ESHELL nor variable `explicit-shell-file-name' is set. ** comint and modes derived from it use the generic completion code. -** The compile.el mode can be used without font-lock-mode. +** Compilation mode + +*** Compilation mode can be used without font-lock-mode. `compilation-parse-errors-function' is now obsolete. +*** `compilation-filter-start' is let-bound to the start of the text +inserted by the compilation filter function, when calling +compilation-filter-hook. + ** The Landmark game is now invoked with `landmark', not `lm'. ** Prolog mode has been completely revamped, with lots of additional @@ -391,11 +473,24 @@ Just set shell-dir-cookie-re to an appropriate regexp. ** Modula-2 mode provides auto-indentation. +** BibTeX mode + +*** BibTeX mode now supports biblatex. +Use the variable bibtex-dialect to select support for different BibTeX dialects. +bibtex-entry-field-alist is now an obsolete alias for +bibtex-BibTeX-entry-alist. + +*** New command `bibtex-search-entries' bound to C-c C-a. + +*** New `bibtex-entry-format' option `sort-fields', disabled by default. + +*** New variable `bibtex-search-entry-globally'. + ** latex-electric-env-pair-mode keeps \begin..\end matched on the fly. ** FIXME: xdg-open for browse-url and reportbug, 2010/08. -** Archive Mode has basic support to browse 7z archives. +** Archive Mode has basic support to browse and update 7z archives. ** browse-url has gotten a new variable that is used for mailto: URLs, `browse-url-mailto-function', which defaults to `browse-url-mail'. @@ -455,9 +550,18 @@ See the variable `diary-comment-start'. *** Appointments can specify their individual warning times. See the variable `appt-warning-time-regexp'. +--- +*** The function specified by `appt-disp-window-function' may be passed +lists of arguments if multiple appointments are due at similar times. +If you are using a custom function for this, you should update it. + +++ *** New function `diary-hebrew-birthday'. +--- +*** Elements of `calendar-day-abbrev-array' and `calendar-month-abbrev-array' +may no longer be nil, but must all be strings. + --- *** The obsolete (since Emacs 22.1) method of enabling the appt package by adding appt-make-list to diary-hook has been removed. Use appt-activate. @@ -633,6 +737,14 @@ listing object name completions when being sent text via *** An API for manipulating SQL product definitions has been added. +** Image mode + +*** RET (`image-toggle-animation') toggles animation, if the displayed +image can be animated. + +*** Option `image-animate-loop', if non-nil, loops the animation. +If nil, `image-toggle-animation' plays the animation once. + ** sregex.el is now obsolete, since rx.el is a strict superset. ** s-region.el and pc-select are now declared obsolete, @@ -684,6 +796,9 @@ the user for specifics, e.g. a merge source. **** Currently supported for Bzr, Git, and Mercurial. +*** New option `vc-revert-show-diff' controls whether `vc-revert' +shows a diff while querying the user. It defaults to t. + *** Log entries in some Log View buffers can be toggled to display a longer description by typing RET (log-view-toggle-entry-display). In the Log View buffers made by `C-x v L' (vc-print-root-log), you can @@ -697,8 +812,15 @@ binding `log-view-expanded-log-entry-function' to a suitable function. *** New command `vc-ediff' allows visual comparison of two revisions of a file similar to `vc-diff', but using ediff backend. +** CC Mode (C, C++, etc.) + +*** New feature to "guess" the style in an existing buffer. + ** Miscellaneous ++++ +*** f90.el has some support for Fortran 2008 syntax. + --- *** `copyright-fix-years' can optionally convert consecutive years to ranges. @@ -715,6 +837,9 @@ consult. * New Modes and Packages in Emacs 24.1 +** Occur Edit mode applies edits made in *Occur* buffers to the +original buffers. It is bound to C-x C-q in Occur mode. + ** New global minor modes electric-pair-mode, electric-indent-mode, and electric-layout-mode. @@ -737,6 +862,13 @@ soap-inspect.el is an interactive inspector for SOAP WSDL structures. ** xmodmap-generic-mode for xmodmap files. +** New emacs-lock.el package. +(The pre-existing one has been renamed to old-emacs-lock.el and moved +to obsolete/.) Now, Emacs Lock is a proper minor mode +`emacs-lock-mode'. Protection against exiting Emacs and killing the +buffer can be set separately. The mechanism for auto turning off +protection for buffers with inferior processes has been generalized. + * Incompatible Lisp Changes in Emacs 24.1 @@ -811,6 +943,25 @@ sc.el, x-menu.el, rnews.el, rnewspost.el * Lisp changes in Emacs 24.1 +** Completion +*** New variable completion-extra-properties used to specify extra properties +of the current completion: +- :annotate-function, same as the old completion-annotate-function. +- :exit-function, function to call after completion took place. + +*** Functions on completion-at-point-functions can return any of the properties +valid for completion-extra-properties. + +*** completion-annotate-function is obsolete. + +*** New `metadata' method for completion tables. The metadata thus returned +can specify various details of the data returned by `all-completions': +- `category' is the kind of objects returned (e.g., `buffer', `file', ...), + used to select a style in completion-category-overrides. +- `annotation-function' to add annotations in *Completions*. +- `display-sort-function' to specify how to sort entries in *Completions*. +- `cycle-sort-function' to specify how to sort entries when cycling. + ** `glyphless-char-display' can now distinguish between graphical and text terminal display, via a char-table entry that is a cons cell. @@ -887,8 +1038,6 @@ argument is supplied (see Trash changes, above). ** buffer-substring-filters is obsoleted by filter-buffer-substring-functions. -** New completion style `substring'. - ** `facemenu-read-color' is now an alias for `read-color'. The command `read-color' now requires a match for a color name or RGB triplet, instead of signalling an error if the user provides a invalid @@ -900,12 +1049,14 @@ i.e. via menu entries of the form `(menu-item "--")'. ** Image API -*** When the image type is one of listed in `image-animated-types' -and the number of sub-images in the image is more than one, then the -new function `create-animated-image' creates an animated image where -sub-images are displayed successively with the duration defined by -`image-animate-max-time' and the delay between sub-images defined -by the Graphic Control Extension of the image. +*** Animated images support (currently animated gifs only). + +**** `image-animated-p' returns non-nil if an image can be animated. + +**** `image-animate' animates a supplied image spec. + +**** `image-animate-timer' returns the timer object for an image that +is being animated. *** `image-extension-data' is renamed to `image-metadata'. @@ -952,6 +1103,14 @@ being reverted, even if the buffer has a local `revert-buffer-function'. ** New variables `delayed-warnings-list' and `delayed-warnings-hook' allow deferring warnings until the main command loop is executed. ++++ +** `set-auto-mode' now respects mode: local variables at the end of files, +as well as those in the -*- line. + +--- +** rx.el has a new `group-n' construct for explicitly numbered groups. + +** keymaps can inherit from multiple parents. * Changes in Emacs 24.1 on non-free operating systems