diff options
| author | Eli Zaretskii | 2020-02-12 21:39:44 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2020-02-12 21:39:44 +0200 |
| commit | 027da652a4fc643a086a880aec30618b2bccb487 (patch) | |
| tree | e4c94bb3ad04b794e1873e16b8f357de3ee4a77f /etc | |
| parent | 5a21aaff468ec3f0337117707cda4254cbef8de7 (diff) | |
| download | emacs-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/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -3591,6 +3591,12 @@ Setting this on the first character of a help string disables | |||
| 3591 | conversions via 'substitute-command-keys'. | 3591 | conversions via 'substitute-command-keys'. |
| 3592 | 3592 | ||
| 3593 | +++ | 3593 | +++ |
| 3594 | ** New text property 'minibuffer-message'. | ||
| 3595 | Setting this on a character of the minibuffer text will display the | ||
| 3596 | temporary echo messages before that character, when messages need to | ||
| 3597 | be 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 |
| 3595 | by setting 'undo-inhibit-region' symbol property of that command to | 3601 | by setting 'undo-inhibit-region' symbol property of that command to |
| 3596 | non-nil. This is used by 'mouse-drag-region' to make the effect | 3602 | non-nil. This is used by 'mouse-drag-region' to make the effect |