--- Begin Message ---
Subject: |
27.1; Display problem with minibuffer overlay when using display property |
Date: |
Fri, 29 Jan 2021 18:58:46 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
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"))
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#46177: 27.1; Display problem with minibuffer overlay when using display property |
Date: |
Sat, 30 Jan 2021 13:10:39 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
It's just how Emacs worked since v21, so I think it's too late to
change now.
I see, thanks for your discussion and help, I will close this then.
--- End Message ---