unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Štěpán Němec" <stepnem@gmail.com>
Cc: 9571@debbugs.gnu.org
Subject: bug#9571: 24.0.50; user option to turn off bidi, please
Date: Fri, 23 Sep 2011 13:18:25 +0300	[thread overview]
Message-ID: <834o03sgsu.fsf@gnu.org> (raw)
In-Reply-To: <87obybg01n.fsf@gmail.com>

> From: Štěpán Němec
> 	<stepnem@gmail.com>
> Date: Fri, 23 Sep 2011 10:01:08 +0200
> Cc: 9571@debbugs.gnu.org
> 
> On Fri, 23 Sep 2011 06:11:16 +0200
> Stefan Monnier wrote:
> 
> >> Can you imagine that there are some Emacs users who do not _ever_ need
> >> or want to edit bidirectional text?
> >
> > If those users get a different behavior depending on
> > bidi-display-reordering, then we have a bug.
> 
> I assume you don't consider UI responsiveness (buffer movement etc.)
> deterioration a bug, then?

Yes, I do.  Please report them as much as possible, so they could be
debugged and fixed.

> AFIAK it's totally unrealistic to expect the same responsiveness
> from Emacs with bidi enabled as from one with bidi disabled

No, it's not unrealistic.  In a vast majority of cases, the difference
in responsiveness is below the threshold of human perception.  If it
were not for that, we would have much more complaints about the new
display.  Where it exceeds that threshold, i.e. it becomes annoyingly
slow (whatever "annoyingly" means for you), please report that as a
bug with a clear test case.  Without reporting such incidents, there's
no way we can get the new display better as fast as needed, which I
hope is what everyone here wants.

> just as is the case with font locking.

This analogy is invalid, because font-lock is a very different beast.
For starters, it works on the entire buffer, while bidi is
display-only feature, and thus operates only on the (small) portion of
the buffer being displayed.

> OTOH, I understand you probably just want to push bidi down everybody's
> throat

No one around here has such a nasty attitude.  I'm appalled that you
can even suggest such a possibility.  The bidi display was designed
and implemented to be fast enough to be tolerable by people even if
they don't use any R2L scripts.  Where the reality flies at the face
of this design or implementation, there's a bug that needs to be
fixed.  But it's impossible to fix them if they are not reported,
because Emacs display features are a million, and no single living
person can envision every use case in a lifetime.

> the argumentation so far seems a bit disingenuous to me.

They are the truth nonetheless.  The old unidirectional display was
left in place only as a debugging aid.  Like any other basic feature
of the display engine, it will one day become the only way to display
text in Emacs, because maintaining two separate code bases, and in the
display engine at that, is a serious maintenance burden.  Introducing
a user-level variable to use the unidirectional display will be a
tremendous obstacle when we would like to get rid of the old code, I
hope at least that much is clear and agreed.






  parent reply	other threads:[~2011-09-23 10:18 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-22  4:18 bug#9571: 24.0.50; user option to turn off bidi, please Drew Adams
2011-09-22  5:49 ` Eli Zaretskii
2011-09-22 12:31 ` Stefan Monnier
2011-09-22 13:13   ` Drew Adams
2011-09-22 21:44     ` Richard Stallman
2011-09-23  4:13       ` Stefan Monnier
2011-09-23 12:31         ` Richard Stallman
2011-09-23 14:46           ` Eli Zaretskii
2011-09-23 14:55             ` Lars Magne Ingebrigtsen
2011-09-23 15:06               ` Eli Zaretskii
2011-09-23 17:36                 ` Stefan Monnier
2011-09-23 18:23                 ` Lars Magne Ingebrigtsen
2011-09-23 19:44             ` Richard Stallman
2011-09-23 20:09               ` Eli Zaretskii
2011-09-24  3:56           ` Jason Rumney
2011-09-24 12:28             ` Richard Stallman
2011-09-23  9:13       ` Eli Zaretskii
2011-09-23 12:31         ` Richard Stallman
2011-09-23 14:40           ` Eli Zaretskii
2011-09-23 19:44             ` Richard Stallman
2011-09-23 19:48               ` Eli Zaretskii
2011-09-24 12:28                 ` Richard Stallman
2011-09-24 14:04                   ` Eli Zaretskii
2011-09-24 17:30                     ` Richard Stallman
2011-09-24 19:15                       ` Eli Zaretskii
2011-09-24 23:52                         ` Richard Stallman
2011-09-23  4:11     ` Stefan Monnier
2011-09-23  8:01       ` Štěpán Němec
2011-09-23  9:21         ` Juanma Barranquero
2011-09-23 10:39           ` Štěpán Němec
2011-09-23 11:01             ` Eli Zaretskii
2011-09-23 16:09               ` Drew Adams
2011-09-23 17:48                 ` Eli Zaretskii
2011-09-23 19:03                   ` Drew Adams
2011-09-23 19:46                     ` Eli Zaretskii
2011-09-23 21:23                       ` Drew Adams
2011-09-23 23:21                         ` Juanma Barranquero
2011-09-24  0:32                           ` Drew Adams
2011-09-24  1:13                             ` Juanma Barranquero
2011-09-24  3:46                               ` Drew Adams
2011-09-24  8:44                                 ` Juanma Barranquero
2012-02-22  2:34                                   ` Glenn Morris
2011-09-24  6:49                             ` Eli Zaretskii
2011-09-24  8:46                               ` Juanma Barranquero
2011-09-23 20:00                     ` Stefan Monnier
2011-09-23 10:18         ` Eli Zaretskii [this message]
2011-09-23 11:09           ` Štěpán Němec
2011-09-23 11:45             ` Juanma Barranquero
2011-09-23 13:01               ` Štěpán Němec
2011-09-23 15:03                 ` Eli Zaretskii
2011-09-23 17:46                   ` Stefan Monnier
2011-09-23 18:24                     ` Eli Zaretskii
2011-09-23 19:10                       ` Eli Zaretskii
2011-09-23 11:50             ` Eli Zaretskii
2011-09-24 12:28               ` Richard Stallman
2011-09-24 14:13                 ` Eli Zaretskii
2011-09-24  3:53 ` Jason Rumney

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=834o03sgsu.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=9571@debbugs.gnu.org \
    --cc=stepnem@gmail.com \
    /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).