all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: 9470@debbugs.gnu.org
Subject: bug#9470: 24.0.50; Possible bidi-related slowness
Date: Sat, 10 Sep 2011 23:34:02 +0300	[thread overview]
Message-ID: <83mxecxhl1.fsf@gnu.org> (raw)
In-Reply-To: <m3bous2m5f.fsf@stories.gnus.org>

> From: Lars Magne Ingebrigtsen <larsi@gnus.org>
> Cc: 9470@debbugs.gnu.org
> Date: Sat, 10 Sep 2011 22:11:08 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Then I don't see how can I fix this specific case.  The bidi display
> > must know the paragraph direction in order to DTRT.  Ideas are
> > welcome.  Doing something simple, like force left-to-right paragraph
> > direction if paragraph start isn't found in N lines, doesn't sound
> > right, as this will cause different display depending on how far we
> > are from the text beginning.  Hmmm...
> 
> If the algorithm has looked at N lines (where N is a reasonably big
> number, like 10K), and found nothing exciting, then it would be
> reasonable to bail out, won't it?

The question is, what is "exciting", and what should we do when we
"bail out"?

If by "exciting" you mean the paragraph beginning, then the question
of the paragraph direction is still there.

> "Paragraphs" like the one presented, with 200K lines, are a pretty
> terminal case, and no "real" text ever looks like that.  I think.

Right, but I can easily concoct an example of equally un-exciting
long paragraph that is full of R2L text, and should be displayed
starting at the right margin of the window.





  reply	other threads:[~2011-09-10 20:34 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-10 18:28 bug#9470: 24.0.50; Possible bidi-related slowness Lars Magne Ingebrigtsen
2011-09-10 18:45 ` Christoph Scholtes
2011-09-10 19:15   ` Eli Zaretskii
2011-09-10 20:28     ` Christoph Scholtes
2011-09-10 19:26 ` Eli Zaretskii
2011-09-10 19:25   ` Lars Magne Ingebrigtsen
2011-09-10 19:41     ` Eli Zaretskii
2011-09-10 19:41       ` Lars Magne Ingebrigtsen
2011-09-10 20:10         ` Eli Zaretskii
2011-09-10 20:11           ` Lars Magne Ingebrigtsen
2011-09-10 20:34             ` Eli Zaretskii [this message]
2011-09-10 20:42               ` Lars Magne Ingebrigtsen
2011-09-10 20:53                 ` Eli Zaretskii
2011-09-11  3:06                   ` Stefan Monnier
2011-09-11  4:59                     ` Eli Zaretskii
2011-09-11  5:18                       ` Stefan Monnier
2011-09-11  6:25                         ` Eli Zaretskii
2011-09-12  2:49                           ` Stefan Monnier
2011-09-12  7:21                             ` Eli Zaretskii
2011-09-13  2:21                               ` Stefan Monnier
2011-09-17 15:22                   ` Eli Zaretskii
2011-09-18  7:33                     ` Lars Magne Ingebrigtsen

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=83mxecxhl1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=9470@debbugs.gnu.org \
    --cc=larsi@gnus.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 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.