GNU bug report logs - #71030
Display property of overlay-arrow-string is not honored

Previous Next

Package: emacs;

Reported by: Emre Yolcu <mail <at> emreyolcu.com>

Date: Sat, 18 May 2024 09:51:02 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Emre Yolcu <mail <at> emreyolcu.com>
To: 71030 <at> debbugs.gnu.org
Subject: bug#71030: Display property of overlay-arrow-string is not honored
Date: Sat, 18 May 2024 00:00:11 -0400
I have been trying to replace the use of fringes with margins in my 
configuration. (This is to work around the fact that fringe indicators 
look bad on high-DPI displays.) Using display properties, I was able to 
move almost all of the indicators I care about to the margins. However, 
as of Emacs 29.3, the display property of `overlay-arrow-string` is not 
honored. I have the following in my configuration:

  (setq overlay-arrow-string
        (propertize ">" 'display `((margin left-margin)
                                   ,(propertize ">" 'face 'default))))

The above setting fails to move the overlay arrow in, say, Occur buffers 
to the margin. On the other hand, the face property of 
`overlay-arrow-string` does get applied, so the following works as expected:

  (setq overlay-arrow-string (propertize ">" 'face 'shadow))

I am not sure what the intended behavior is supposed to be here, so this 
may be more of a feature request than a bug report.




This bug report was last modified 169 days ago.

Previous Next


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