unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#46177: 27.1; Display problem with minibuffer overlay when using display property
@ 2021-01-29 17:58 Clemens
  2021-01-29 18:37 ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Clemens @ 2021-01-29 17:58 UTC (permalink / raw)
  To: 46177

When using an overlay with an `after-string` which uses `display`
the prompt background bleeds into the after string:


(set-face-attribute 'minibuffer-prompt nil :background "purple")

(minibuffer-with-setup-hook
     (lambda ()
       (overlay-put
        (make-overlay (point-max) (point-max) nil t t)
        'after-string (propertize " world"
                                  'display
				 " minibuffer")))
   (read-string "Hello"))


While I would expect it to be displayed like when using:


(minibuffer-with-setup-hook
     (lambda ()
       (overlay-put
        (make-overlay (point-max) (point-max) nil t t)
        'after-string " minibuffer"))
   (read-string "Hello"))







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

end of thread, other threads:[~2021-01-30 12:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-29 17:58 bug#46177: 27.1; Display problem with minibuffer overlay when using display property Clemens
2021-01-29 18:37 ` Eli Zaretskii
2021-01-29 20:26   ` Clemens
2021-01-30  8:26     ` Eli Zaretskii
2021-01-30  9:30       ` Clemens
2021-01-30 10:46         ` Eli Zaretskii
2021-01-30 11:09           ` Clemens
2021-01-30 12:06             ` Eli Zaretskii
2021-01-30 12:10               ` Clemens

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).