Subject: bug#46176: closed (Wrong example)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 29 Jan 2021 17:50:02 +0000

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 [email-masked].

-- 
46176: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46176
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Wrong example
From: Clemens <[email-masked]>
To: [email-masked]
Date: Fri, 29 Jan 2021 18:49:23 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

My bad the example was wrong.

Subject: 27.1; Display problem in minibuffer overlay when using display property
From: Clemens <[email-masked]>
To: [email-masked]
Date: Fri, 29 Jan 2021 18:42:33 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

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