bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#40124: Bad interaction between before-string and :box faces


From: Eli Zaretskii
Subject: bug#40124: Bad interaction between before-string and :box faces
Date: Thu, 19 Mar 2020 17:00:03 +0200

> From: Clément Pit-Claudel <address@hidden>
> Date: Wed, 18 Mar 2020 15:26:38 -0400
> Cc: address@hidden
> 
> In the following sample, the word "test" should have its letters "e" and "s" 
> in a box; but instead they display with just a bar above and below.  Removing 
> the before-string property fixes the issue.
> 
> (with-current-buffer (get-buffer-create "box-test")
>   (erase-buffer)
>   (insert "test")
>   (let ((ov (make-overlay 2 4)))
>     (overlay-put ov 'face '(:box t))
>     (overlay-put ov 'before-string
>                  (propertize ">" 'display
>                              '(left-fringe right-arrow))))
>   (pop-to-buffer (current-buffer)))
> 
> This was reported by Artemios (cc'd) in 
> https://github.com/flycheck/flycheck/issues/1666.

Thanks, I think I fixed this now on the master branch.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]