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

Previous Next

Package: emacs;

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

Date: Fri, 29 Jan 2021 17:43: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>
Subject: bug#46176: closed (Wrong example)
Date: Fri, 29 Jan 2021 17:50:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#46176: 27.1; Display problem in minibuffer overlay when using display property

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 46176 <at> debbugs.gnu.org.

-- 
46176: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46176
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: 46176-done <at> debbugs.gnu.org
Subject: Wrong example
Date: Fri, 29 Jan 2021 18:49:23 +0100
My bad the example was wrong.

[Message part 3 (message/rfc822, inline)]
From: Clemens <clemens.radermacher <at> posteo.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.1; Display problem in minibuffer overlay when using display
 property
Date: Fri, 29 Jan 2021 18:42:33 +0100
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"))





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

Previous Next


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