unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Redisplay loop with an unicode overlay-arrow-string
@ 2022-04-21 19:16 Yuri D'Elia
  2022-04-21 20:21 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Yuri D'Elia @ 2022-04-21 19:16 UTC (permalink / raw)
  To: emacs-devel

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)))




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-04-22 10:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-21 19:16 Redisplay loop with an unicode overlay-arrow-string Yuri D'Elia
2022-04-21 20:21 ` Eli Zaretskii
2022-04-21 21:25   ` Yuri D'Elia
2022-04-22  1:25     ` Yuan Fu
2022-04-22  9:49       ` Yuri D'Elia
2022-04-22 10:46         ` Eli Zaretskii
2022-04-22  6:07     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).