Commit 912ef073 authored by Eli Zaretskii's avatar Eli Zaretskii

; * etc/NEWS: Copyedits and rearrangements. Add entry about Info-quoted.

parent 62812203
......@@ -114,31 +114,52 @@ and can contain escape sequences for command keys, quotes, and the like.
* Changes in Emacs 25.1
+++
** Any file of the form .dir-locals*.el is now considered a dir-local
file, and multiple such files can be used in the same directory. See
the variable `dir-locals-file' for more information.
** Emacs can now load shared/dynamic libraries (modules).
A dynamic Emacs module is a shared library that provides additional
functionality for use in Emacs Lisp programs, just like a package
written in Emacs Lisp would. The functions `load', `require',
`load-file', etc. were extended to load such modules, as they do with
Emacs Lisp packages. The new variable `module-file-suffix' holds the
system-dependent value of the file-name extension (`.so' on Posix
hosts) of the module files.
---
** `xref-find-definitions' and `describe-function' now display
information about mode local overrides (defined by cedet/mode-local.el
`define-overloadable-function' `define-mode-local-overrides').
A module should export a C-callable function named
`emacs_module_init', which Emacs will call as part of the call to
`load' or `require' which loads the module. It should also export a
symbol named `plugin_is_GPL_compatible' to indicate that its code is
released under the GPL or compatible license; Emacs will refuse to
load modules that don't export such a symbol.
+++
** New `display-buffer' action function `display-buffer-use-some-frame'.
This displays the buffer in an existing frame other than the current
frame, and allows the caller to specify a frame predicate to exclude
frames.
If a module needs to call Emacs functions, it should do so through the
API defined and documented in the header file `emacs-module.h'. Note
that any module that provides Lisp-callable functions will have to use
Emacs functions such as `fset' and `funcall', in order to register its
functions with the Emacs Lisp interpreter.
+++
** New documentation command `describe-symbol'.
Works for functions, variables, faces, etc. It is bound to `C-h o' by
default.
Modules can create `user-ptr' Lisp objects that embed pointers to C
struct's defined by the module. This is useful for keeping around
complex data structures created by a module, to be passed back to the
module's functions. User-ptr objects can also have associated
"finalizers" -- functions to be run when the object is GC'ed; this is
useful for freeing any resources allocated for the underlying data
structure, such as memory, open file descriptors, etc. A new
predicate `user-ptrp' returns non-nil if its argument is a `user-ptr'
object.
Loadable modules in Emacs are an experimental feature, and subject to
change in future releases. For that reason, their support is disabled
by default, and must be enabled by using the `--with-modules' option
at configure time.
---
** Info mode now displays symbol names in fixed-pitch font.
If you want to get the old behavior back, customize the `Info-quoted'
face to use the same definitions as the default face.
+++
** New function `custom-prompt-customize-unsaved-options' checks for
unsaved customizations and prompts user to customize (if found). It
is intended for adding to 'kill-emacs-query-functions'.
** Any file of the form .dir-locals*.el is now considered a dir-local
file, and multiple such files can be used in the same directory. See
the variable `dir-locals-file' for more information.
+++
** Network security (TLS/SSL certificate validity and the like) is
......@@ -157,10 +178,16 @@ select-enable-primary is ineffective since the system doesn't
have the equivalent of a primary selection.
+++
** terpri gets an optional arg ENSURE to conditionally output a newline.
** New option `switch-to-buffer-in-dedicated-window' allows to customize
how `switch-to-buffer' proceeds interactively when the selected window
is strongly dedicated to its buffer.
+++
** New macro `define-advice'.
** The option `even-window-heights' has been renamed to
`even-window-sizes' and now handles window widths as well.
+++
** terpri gets an optional arg ENSURE to conditionally output a newline.
+++
** `insert-register' now leaves point after the inserted text
......@@ -181,43 +208,6 @@ for use in Emacs bug reports.
hiding character but the default `.' can be used by let-binding the
variable `read-hide-char'.
** Emacs can now load shared/dynamic libraries (modules).
A dynamic Emacs module is a shared library that provides additional
functionality for use in Emacs Lisp programs, just like a package
written in Emacs Lisp would. The functions `load', `require',
`load-file', etc. were extended to load such modules, as they do with
Emacs Lisp packages. The new variable `module-file-suffix' holds the
system-dependent value of the file-name extension (`.so' on Posix
hosts) of the module files.
A module should export a C-callable function named
`emacs_module_init', which Emacs will call as part of the call to
`load' or `require' which loads the module. It should also export a
symbol named `plugin_is_GPL_compatible' to indicate that its code is
released under the GPL or compatible license; Emacs will refuse to
load modules that don't export such a symbol.
If a module needs to call Emacs functions, it should do so through the
API defined and documented in the header file `emacs-module.h'. Note
that any module that provides Lisp-callable functions will have to use
Emacs functions such as `fset' and `funcall', in order to register its
functions with the Emacs Lisp interpreter.
Modules can create `user-ptr' Lisp objects that embed pointers to C
struct's defined by the module. This is useful for keeping around
complex data structures created by a module, to be passed back to the
module's functions. User-ptr objects can also have associated
"finalizers" -- functions to be run when the object is GC'ed; this is
useful for freeing any resources allocated for the underlying data
structure, such as memory, open file descriptors, etc. A new
predicate `user-ptrp' returns non-nil if its argument is a `user-ptr'
object.
Loadable modules in Emacs are an experimental feature, and subject to
change in future releases. For that reason, their support is disabled
by default, and must be enabled by using the `--with-modules' option
at configure time.
---
** New input method: `tamil-dvorak'.
......@@ -289,6 +279,16 @@ fontification during full screen scrolling operations, giving less
hesitant operation during auto-repeat of C-v, M-v at the cost of
possible inaccuracies in the end position.
+++
** New documentation command `describe-symbol'.
Works for functions, variables, faces, etc. It is bound to `C-h o' by
default.
+++
** New function `custom-prompt-customize-unsaved-options' checks for
unsaved customizations and prompts user to customize (if found). It
is intended for adding to 'kill-emacs-query-functions'.
* Changes in Specialized Modes and Packages in Emacs 25.1
......@@ -873,6 +873,11 @@ easier binding, which is now unoccupied (`M-,').
alias for a private variable. `xref-push-marker-stack' and
`xref-pop-marker-stack' should be used to mutate it instead.
---
*** `xref-find-definitions' and `describe-function' now display
information about mode local overrides (defined by cedet/mode-local.el
`define-overloadable-function' `define-mode-local-overrides').
** etags
As a result of the above, these commands are now obsolete:
`find-tag-other-window', `find-tag-other-frame', `find-tag-regexp',
......@@ -1220,6 +1225,9 @@ Area. The output is still logged to the *Messages* buffer.
** A new text property `inhibit-read-only' can be used in read-only
buffers to allow certain parts of the text to be writable.
+++
** New macro `define-advice'.
** `read-buffer' takes a new `predicate' argument.
** Emacs Lisp now supports generators.
......@@ -1503,20 +1511,17 @@ fullwidth frames, the behavior may depend on the toolkit used.
windows without "fixing" it. It's supported by `fit-window-to-buffer',
`temp-buffer-resize-mode' and `display-buffer'.
+++
** New `display-buffer' action function `display-buffer-use-some-frame'.
This displays the buffer in an existing frame other than the current
frame, and allows the caller to specify a frame predicate to exclude
frames.
+++
** New minor mode `window-divider-mode' and options
`window-divider-default-places', `window-divider-default-bottom-width'
and `window-divider-default-right-width'.
+++
** New option `switch-to-buffer-in-dedicated-window' allows to customize
how `switch-to-buffer' proceeds interactively when the selected window
is strongly dedicated to its buffer.
+++
** The option `even-window-heights' has been renamed to
`even-window-sizes' and now handles window widths as well.
** Tearoff menus and detachable toolbars for Gtk+ has been removed.
Those features have been deprecated in Gtk+ for a long time.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment