unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Yuri D'Elia <wavexx@thregr.org>
To: emacs-devel@gnu.org
Subject: Redisplay loop with an unicode overlay-arrow-string
Date: Thu, 21 Apr 2022 21:16:46 +0200	[thread overview]
Message-ID: <87o80u6ych.fsf@wavexx.thregr.org> (raw)

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	other threads:[~2022-04-21 19:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-21 19:16 Yuri D'Elia [this message]
2022-04-21 20:21 ` Redisplay loop with an unicode overlay-arrow-string 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o80u6ych.fsf@wavexx.thregr.org \
    --to=wavexx@thregr.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).