unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#46176: 27.1; Display problem in minibuffer overlay when using display property
@ 2021-01-29 17:42 Clemens
       [not found] ` <handler.46176.B.161194216617651.ack@debbugs.gnu.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Clemens @ 2021-01-29 17:42 UTC (permalink / raw)
  To: 46176

When using an overlay `after-string` which uses the `display` property
the string uses the minibuffer prompt face for some reason:


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


I would expect the string " minibuffer" to be displayed like when using:

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







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

* bug#46176: Wrong example
       [not found] ` <handler.46176.B.161194216617651.ack@debbugs.gnu.org>
@ 2021-01-29 17:49   ` Clemens
  0 siblings, 0 replies; 2+ messages in thread
From: Clemens @ 2021-01-29 17:49 UTC (permalink / raw)
  To: 46176-done

My bad the example was wrong.





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

end of thread, other threads:[~2021-01-29 17:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-29 17:42 bug#46176: 27.1; Display problem in minibuffer overlay when using display property Clemens
     [not found] ` <handler.46176.B.161194216617651.ack@debbugs.gnu.org>
2021-01-29 17:49   ` bug#46176: Wrong example 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).