all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stephen Berman <stephen.berman@gmx.net>
Cc: 69385@debbugs.gnu.org
Subject: bug#69385: 30.0.50; Long lines with bidi text slow down Emacs
Date: Mon, 26 Feb 2024 16:19:15 +0200	[thread overview]
Message-ID: <86v86bux3w.fsf@gnu.org> (raw)
In-Reply-To: <87zfvnfh4d.fsf@gmx.net> (message from Stephen Berman on Mon, 26 Feb 2024 15:13:38 +0100)

> From: Stephen Berman <stephen.berman@gmx.net>
> Cc: 69385@debbugs.gnu.org
> Date: Mon, 26 Feb 2024 15:13:38 +0100
> 
> On Mon, 26 Feb 2024 14:33:18 +0200 Eli Zaretskii <eliz@gnu.org> wrote:
> 
> > The CPU is fast.  My HarfBuzz version is much older, but I doubt that
> > HarfBuzz became so much slower for Arabic.  So it's very strange.  But
> > maybe it's worth to try downgrading to an earlier version, just to be
> > sure this is not the culprit?
> 
> That's not so straightforward on this system, where I build system
> packages from source, so downgrading HarfBuzz may require also
> rebuilding packages that depend on it.  I have a somewhat older system
> on this machine with HarfBuzz 7.1.0, so I can easily try that.  What
> version of HarfBuzz are you using?

I have 2.4.0 here.

> > If, after starting Emacs, you set all the entries of Arabic characters
> > in composition-function-table to nil (e.g., using
> > set-char-table-range), do you see significant speedup?
> 
> Yes, there is a noticeable speedup when M-> and C-v, M-v, and even
> holding down C-n and C-p is faster, though they still freeze after a few
> seconds, but the freeze doesn't last as long as when it happens with the
> shaped Arabic script.  Also, probably unsurprisingly, the speed after
> disabling shaping is still much slower than keeping shaping enabled but
> setting bidi-display-reordering to nil.

Is this with text from HELLO, or with some other Arabic text?  The
prominent effect of bidi-display-reordering is actually surprising,
and not what I see here, with or without shaping.  Very strange.





  reply	other threads:[~2024-02-26 14:19 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-25 16:23 bug#69385: 30.0.50; Long lines with bidi text slow down Emacs Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-25 17:06 ` Eli Zaretskii
2024-02-25 18:03   ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-25 19:31     ` Eli Zaretskii
2024-02-25 20:36       ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-26 12:33         ` Eli Zaretskii
2024-02-26 14:13           ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-26 14:19             ` Eli Zaretskii [this message]
2024-02-26 14:22               ` Eli Zaretskii
2024-02-26 15:17                 ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-26 15:52                   ` Eli Zaretskii
2024-02-26 15:59                     ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-26 16:36                       ` Eli Zaretskii
2024-02-26 17:12                         ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-26 19:18                           ` Eli Zaretskii
2024-02-26 21:47                             ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-27  8:52                               ` Eli Zaretskii
2024-02-27 10:13                                 ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-03 15:18                             ` Eli Zaretskii
2024-03-04 13:28                               ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-04 14:43                                 ` Eli Zaretskii
2024-03-07 11:12                                   ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-07 11:25                                     ` Eli Zaretskii
2024-03-21  8:29                                     ` Eli Zaretskii
2024-03-21 15:08                                       ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-26 15:17               ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors

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

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

  git send-email \
    --in-reply-to=86v86bux3w.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=69385@debbugs.gnu.org \
    --cc=stephen.berman@gmx.net \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.