GNU bug report logs - #46177
27.1; Display problem with minibuffer overlay when using display property

Previous Next

Package: emacs;

Reported by: Clemens <clemens.radermacher <at> posteo.de>

Date: Fri, 29 Jan 2021 18:00:01 UTC

Severity: normal

Found in version 27.1

Done: Clemens <clemens.radermacher <at> posteo.de>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Clemens <clemens.radermacher <at> posteo.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.1; Display problem with minibuffer overlay when using display
 property
Date: Fri, 29 Jan 2021 18:58:46 +0100
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"))






This bug report was last modified 4 years and 110 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.