diff options
| author | Eli Zaretskii | 2020-05-09 10:23:49 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2020-05-09 10:23:49 +0300 |
| commit | 4c98aa7ea56a33740e3af1d1e32b0dc0ad400b85 (patch) | |
| tree | 69b22766f28b39789faa8993604dd375195a00b0 | |
| parent | a1cbd05f3892fc86815f69bc50d8ab9175b7b082 (diff) | |
| download | emacs-4c98aa7ea56a33740e3af1d1e32b0dc0ad400b85.tar.gz emacs-4c98aa7ea56a33740e3af1d1e32b0dc0ad400b85.zip | |
Minor clarifications in NEWS
* etc/NEWS: Tell how to revert to previous behaviors regarding
displaying messages when the minibuffer is active. (Bug#41087)
| -rw-r--r-- | etc/NEWS | 16 |
1 files changed, 11 insertions, 5 deletions
| @@ -881,21 +881,27 @@ list the contents of such directories when completing file names. | |||
| 881 | ** Minibuffer | 881 | ** Minibuffer |
| 882 | 882 | ||
| 883 | +++ | 883 | +++ |
| 884 | *** A new user option, 'minibuffer-beginning-of-buffer-movement', has | 884 | *** New user option 'minibuffer-beginning-of-buffer-movement'. |
| 885 | been introduced to allow controlling how the 'M-<' command works in | 885 | This option allows control of how the 'M-<' command works in |
| 886 | the minibuffer. If non-nil, point will move to the end of the prompt | 886 | the minibuffer. If non-nil, point will move to the end of the prompt |
| 887 | (if point is after the end of the prompt). | 887 | (if point is after the end of the prompt). The default is nil, which |
| 888 | preserves the original behavior of 'M-<' moving to the beginning of | ||
| 889 | the prompt. | ||
| 888 | 890 | ||
| 889 | +++ | 891 | +++ |
| 890 | *** When the minibuffer is active, echo-area messages are displayed at | 892 | *** When the minibuffer is active, echo-area messages are displayed at |
| 891 | the end of the minibuffer instead of hiding the minibuffer by the echo | 893 | the end of the minibuffer instead of hiding the minibuffer by the echo |
| 892 | area display. The new user option 'minibuffer-message-clear-timeout' | 894 | area display. The new user option 'minibuffer-message-clear-timeout' |
| 893 | controls how messages displayed in this situation are removed from the | 895 | controls how messages displayed in this situation are removed from the |
| 894 | minibuffer. | 896 | minibuffer. To revert to previous behavior, where echo-area messages |
| 897 | temporarily overwrote the minibuffer contents until the user typed | ||
| 898 | something, set 'set-message-function' and 'clear-message-function' to | ||
| 899 | nil. | ||
| 895 | 900 | ||
| 896 | --- | 901 | --- |
| 897 | *** Minibuffer now uses 'minibuffer-message' to display error messages | 902 | *** Minibuffer now uses 'minibuffer-message' to display error messages |
| 898 | at the end of the active minibuffer. | 903 | at the end of the active minibuffer. To disable this, remove |
| 904 | 'minibuffer-error-initialize' from 'minibuffer-setup-hook'. | ||
| 899 | 905 | ||
| 900 | +++ | 906 | +++ |
| 901 | *** 'y-or-n-p' now uses the minibuffer to read 'y' or 'n' answer. | 907 | *** 'y-or-n-p' now uses the minibuffer to read 'y' or 'n' answer. |