all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Clemens <clemens.radermacher@posteo.de>
To: 46177@debbugs.gnu.org
Subject: bug#46177: 27.1; Display problem with minibuffer overlay when using display property
Date: Fri, 29 Jan 2021 18:58:46 +0100	[thread overview]
Message-ID: <453b0490-261a-9e80-5d0c-8b3e4ba6d9f0@posteo.de> (raw)

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







             reply	other threads:[~2021-01-29 17:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-29 17:58 Clemens [this message]
2021-01-29 18:37 ` bug#46177: 27.1; Display problem with minibuffer overlay when using display property 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=453b0490-261a-9e80-5d0c-8b3e4ba6d9f0@posteo.de \
    --to=clemens.radermacher@posteo.de \
    --cc=46177@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.