emacs-devel
[Top][All Lists]
Advanced

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

Redisplay loop with an unicode overlay-arrow-string


From: Yuri D'Elia
Subject: Redisplay loop with an unicode overlay-arrow-string
Date: Thu, 21 Apr 2022 21:16:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

I'm disabling the left fringe to force using the overlay-arrow-string
(due to the fringe being unreadable on hidpi displays).

At some point I thought of being smart and attempt to:

  (setq overlay-arrow-string "🡆") ; RIGHTWARDS HEAVY ARROW

since it's an uncommon/heavy character (while still being narrower than
"=>"). Or just in case it's not readable for you, a more commonly
available character:

  (setq overlay-arrow-string "⮕") ; RIGHTWARDS BLACK ARROW

This results in an endless/unrecoverable redisplay loop on my current
config, hanging emacs.

To trigger on an emacs -q, evaluate this inside a buffer:

  (fringe-mode 0) ; force-disable the fringe
  (setq overlay-arrow-string "⮕")
  (setq overlay-arrow-position
        (set-marker (or overlay-arrow-position (make-marker))
                    (line-beginning-position)))




reply via email to

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