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

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

bug#71030: Display property of overlay-arrow-string is not honored


From: Emre Yolcu
Subject: bug#71030: Display property of overlay-arrow-string is not honored
Date: Sat, 18 May 2024 13:33:04 -0400

Eli Zaretskii <eliz@gnu.org> wrote:

It is not very clear to me what, specifically, did you try and what
did you expect to happen as result.  Would you mind showing a simple
recipe, starting from "emacs -Q", that should have displayed the
overlay arrow, but didn't?

Sorry for not being clear. Here is a recipe:

1. Launch with "emacs -Q".
2. Switch to the scratch buffer.
3. Copy the following into the buffer and evaluate each expression:

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

4. Invoke "M-x occur", and enter "setq" when prompted for a regexp.
5. Switch to the Occur buffer and move between the matches by pressing "n" and "p".

  Expected behavior: Indicator arrow ">" appears in the margin.
  Current behavior: Indicator arrow ">" appears in the buffer.

6 (extra). Evaluate the following expression:

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

Unlike the display property, the face property does get applied and the appearance of the arrow in the Occur buffer changes.






reply via email to

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