From 1811ce52c29b6119d71942f4186c2330f60247a0 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Thu, 16 Apr 2026 17:31:07 +0200 Subject: [PATCH] ; * etc/NEWS: Presentational fixes and improvements. --- etc/NEWS | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 48800c9974f..a6abd23b4ac 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -82,12 +82,6 @@ Info node "(emacs) User Lisp Directory" for more details. * Changes in Emacs 31.1 -+++ -** ERT has a new 'ert-play-keys' function -Previously, ert-simulate-keys could be use for sending keys to input -functions such as read-from-minibuffer, but not for other interactive -input such as starting key-mapped commands. - +++ ** 'line-spacing' now supports specifying spacing above the line. Previously, only spacing below the line could be specified. The user @@ -1371,7 +1365,7 @@ set to 'margin' or nil. hide the innermost block to which the current line belongs instead of the block after cursor position. -To restore the old behavior set the new user option +To restore the old behavior, set the new user option 'hs-hide-block-behavior' to 'after-cursor'. +++ @@ -1778,7 +1772,7 @@ used to customize the appearance. --- *** New user option 'whitespace-global-mode-buffers'. Normally, 'global-whitespace-mode' skips special buffers whose name -starts with an asterisk '*'. This user option provides an override: it +starts with an asterisk "*". This user option provides an override: it contains a list of regular expressions used to match the names of special buffers in which 'global-whitespace-mode' should turn on. The default value preserves the existing exception for the "*scratch*" @@ -3236,7 +3230,7 @@ minor mode 'global-xref-mouse-mode' will enable this in all buffers. +++ *** New command 'xref-change-to-xref-edit-mode'. -It's bound to "e" and it switches an Xref buffer into an "editable" mode +It is bound to 'e' and it switches an Xref buffer into an "editable" mode like similar features in Occur and Grep buffers. ** Revert @@ -3910,7 +3904,7 @@ all versions, sleep events require Windows 8 or later). +++ ** 'makunbound' on a variable alias undoes the alias. -Previously it had the effect of applying the 'makunbound' on the +Previously, it had the effect of applying the 'makunbound' on the target of the alias (which can fail on some builtin variables). --- @@ -4186,14 +4180,14 @@ change it globally with: --- ** New function 'set-local'. -This is the buffer local equivalent of the function 'set'. +This is the buffer-local equivalent of the function 'set'. +++ ** New macro 'setopt-local'. -This is the buffer local version of 'setopt' for user options rather +This is the buffer-local version of 'setopt' for user options rather than plain variables and uses 'custom-set'/'set-local' to set variable values. A new argument, BUFFER-LOCAL, is passed to 'custom-set' -functions to indicate the buffer local context. +functions to indicate the buffer-local context. +++ ** New macros 'incf' and 'decf'. @@ -4247,6 +4241,12 @@ The following macros, previously only available in the experimental See "(ert) Helper Functions" node in the ERT manual for more information. ++++ +*** New function 'ert-play-keys'. +Previously, 'ert-simulate-keys' could be used for sending keys to input +functions such as 'read-from-minibuffer', but not for other interactive +input such as starting key-mapped commands. + ** Time & Date +++ @@ -4533,12 +4533,12 @@ singleton list. ** Support macOS Accessibility Zoom focus tracking. This is an important change for visually-impaired users. If macOS Accessibility Zoom is enabled via (System Settings, Accessibility, -Zoom...) with keyboard focus tracking (Advanced...), Zoom is informed +Zoom...) with keyboard focus tracking (Advanced...), Zoom is informed of updated cursor positions during each redisplay cycle. --- ** New macOS function 'ns-process-is-accessibility-trusted'. -This function returns t if the macOS Accessibility Framework trusts the +This function returns t if the macOS Accessibility Framework trusts Emacs. This is a necessary condition for Accessibility Zoom and other accessibility features. Enable Emacs via (System Settings, Privacy & Security, Accessibility...) and add the Emacs.app installed directory to @@ -4655,12 +4655,13 @@ Binutils 2.26. Previously, terminal sessions on Windows supported display of 16 colors. There is now support for 8-bit (256 color) and 24-bit RGB (true color). The new mechanism will be enabled automatically when supported. -It defaults to 24-bit RGB color, but can be set to 8, 16, '8bit, or '24bit -by passing the '--color' flag or setting the 'tty-color-mode' frame parameter. -Use of the new mechanism is controlled by an internal variable that can be -set and inspected via the functions 'w32-use-virtual-terminal' and -'w32-use-virtual-terminal-p' (respectively). See the manual entry specific -to MS-Windows for more details. +It defaults to 24-bit RGB color, but can be set to 8, 16, '8bit', or +'24bit' by passing the '--color' flag or setting the 'tty-color-mode' +frame parameter. Use of the new mechanism is controlled by an internal +variable that can be set and inspected via the functions +'w32-use-virtual-terminal' and 'w32-use-virtual-terminal-p' +(respectively). See the manual entry "(emacs) Windows Misc" for more +details. ----------------------------------------------------------------------