From 4c98aa7ea56a33740e3af1d1e32b0dc0ad400b85 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 9 May 2020 10:23:49 +0300 Subject: [PATCH] Minor clarifications in NEWS * etc/NEWS: Tell how to revert to previous behaviors regarding displaying messages when the minibuffer is active. (Bug#41087) --- etc/NEWS | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 42133b8bad8..bb275b70e6f 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -881,21 +881,27 @@ list the contents of such directories when completing file names. ** Minibuffer +++ -*** A new user option, 'minibuffer-beginning-of-buffer-movement', has -been introduced to allow controlling how the 'M-<' command works in +*** New user option 'minibuffer-beginning-of-buffer-movement'. +This option allows control of how the 'M-<' command works in the minibuffer. If non-nil, point will move to the end of the prompt -(if point is after the end of the prompt). +(if point is after the end of the prompt). The default is nil, which +preserves the original behavior of 'M-<' moving to the beginning of +the prompt. +++ *** When the minibuffer is active, echo-area messages are displayed at the end of the minibuffer instead of hiding the minibuffer by the echo area display. The new user option 'minibuffer-message-clear-timeout' controls how messages displayed in this situation are removed from the -minibuffer. +minibuffer. To revert to previous behavior, where echo-area messages +temporarily overwrote the minibuffer contents until the user typed +something, set 'set-message-function' and 'clear-message-function' to +nil. --- *** Minibuffer now uses 'minibuffer-message' to display error messages -at the end of the active minibuffer. +at the end of the active minibuffer. To disable this, remove +'minibuffer-error-initialize' from 'minibuffer-setup-hook'. +++ *** 'y-or-n-p' now uses the minibuffer to read 'y' or 'n' answer. -- 2.39.2