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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Clemens <clemens.radermacher <at> posteo.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#46177: closed (27.1; Display problem with minibuffer overlay
 when using display property)
Date: Sat, 30 Jan 2021 12:11:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 30 Jan 2021 13:10:39 +0100
with message-id <20cb9f14-581d-8665-d8d4-9d83fdec3c03 <at> posteo.de>
and subject line Re: bug#46177: 27.1; Display problem with minibuffer overlay when using display property
has caused the debbugs.gnu.org bug report #46177,
regarding 27.1; Display problem with minibuffer overlay when using display property
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
46177: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46177
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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"))




[Message part 3 (message/rfc822, inline)]
From: Clemens <clemens.radermacher <at> posteo.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 46177-done <at> debbugs.gnu.org
Subject: Re: bug#46177: 27.1; Display problem with minibuffer overlay when
 using display property
Date: Sat, 30 Jan 2021 13:10:39 +0100
> 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.


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

Previous Next


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