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

Previous Next

Package: emacs;

Reported by: Clément Pit-Claudel <cpitclaudel <at> gmail.com>

Date: Wed, 18 Mar 2020 19:27:01 UTC

Severity: normal

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 40124-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: demisbalbach <at> googlemail.com,
 Clément Pit-Claudel <cpitclaudel <at> gmail.com>,
 40124-done <at> debbugs.gnu.org
Subject: Re: bug#40124: Bad interaction between before-string and :box faces
Date: Tue, 25 Aug 2020 15:35:26 -0700
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Clément Pit-Claudel <cpitclaudel <at> gmail.com>
>> Date: Wed, 18 Mar 2020 15:26:38 -0400
>> Cc: demisbalbach <at> googlemail.com
>>
>> 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.

There has been no followup within 22 weeks, so I'm going to assume the
fix worked and close this bug now.

If this conclusion is incorrect, please reply to this email (use "Reply
to all" in your email client) and we can reopen the bug report.

Best regards,
Stefan Kangas




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

Previous Next


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