aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorEli Zaretskii2020-02-12 21:39:44 +0200
committerEli Zaretskii2020-02-12 21:39:44 +0200
commit027da652a4fc643a086a880aec30618b2bccb487 (patch)
treee4c94bb3ad04b794e1873e16b8f357de3ee4a77f /etc
parent5a21aaff468ec3f0337117707cda4254cbef8de7 (diff)
downloademacs-027da652a4fc643a086a880aec30618b2bccb487.tar.gz
emacs-027da652a4fc643a086a880aec30618b2bccb487.zip
Fix display of minibuffer prompt in ido.el
* lisp/minibuffer.el (minibuffer--message-overlay-pos): New function. (set-minibuffer-message): Use it to determine where to show the overlay with the temporary message. * lisp/ido.el (ido-exhibit): Revert "Render Ido suggestions using an overlay"; this restores the original code which inserted the match-status information into the minibuffer, instead of displaying it in an overlay with an after-string. Put the special 'minibuffer-message' text property at the beginning of the inserted text. (Bug#39379) * etc/NEWS: * doc/lispref/display.texi (Displaying Messages): * doc/lispref/text.texi (Special Properties): Document the 'minibuffer-message' text property and its effect.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 54a71c9e494..312869fe57e 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -3591,6 +3591,12 @@ Setting this on the first character of a help string disables
3591conversions via 'substitute-command-keys'. 3591conversions via 'substitute-command-keys'.
3592 3592
3593+++ 3593+++
3594** New text property 'minibuffer-message'.
3595Setting this on a character of the minibuffer text will display the
3596temporary echo messages before that character, when messages need to
3597be displayed while minibuffer is active.
3598
3599+++
3594** 'undo' can be made to ignore the active region for a command 3600** 'undo' can be made to ignore the active region for a command
3595by setting 'undo-inhibit-region' symbol property of that command to 3601by setting 'undo-inhibit-region' symbol property of that command to
3596non-nil. This is used by 'mouse-drag-region' to make the effect 3602non-nil. This is used by 'mouse-drag-region' to make the effect