unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#48669: Inconsistent overlay placement between minibuffer-message and set-minibuffer-message
@ 2021-05-26 12:50 João Guerra
  2021-05-31 20:24 ` Juri Linkov
  2021-06-05 21:43 ` Juri Linkov
  0 siblings, 2 replies; 8+ messages in thread
From: João Guerra @ 2021-05-26 12:50 UTC (permalink / raw)
  To: 48669

[-- Attachment #1: Type: text/plain, Size: 1005 bytes --]

`minibuffer-message' and `set-minibuffer-message' place the overlay
containing the message slightly differently, resulting in a different
behaviour when there are other overlays present at the end of the
minibuffer.

The overlay created by `minibuffer-message' always gets added to the
end of the minibuffer.
The overlay created by `set-minibuffer-message' also gets added to the
end of the minibuffer, but its properties make it so that it is shown
before other overlays at the position.
This is particularly important when the user uses packages that add
overlays to the minibuffer, such as vertical completion packages like
selectrum, vertico, and others.
The way `set-minibuffer-message' configures the overlays makes it so
that the overlay is displayed before the other overlays, which I
believe is more compatible with external packages (see attached image
for a visual example).

Would it make sense to change this behaviour (i.e. overlay
configuration) so that it is consistent in both functions?

[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 21562 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-06-08 18:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-26 12:50 bug#48669: Inconsistent overlay placement between minibuffer-message and set-minibuffer-message João Guerra
2021-05-31 20:24 ` Juri Linkov
2021-06-05 21:43 ` Juri Linkov
2021-06-06  5:58   ` Eli Zaretskii
2021-06-06 20:54     ` Juri Linkov
2021-06-07 12:21       ` Eli Zaretskii
2021-06-08 16:52         ` Juri Linkov
2021-06-08 18:12           ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).