all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-bidi@gnu.org, emacs-devel@gnu.org
Subject: Re: Bidirectional display in GUI sessions
Date: Tue, 20 Apr 2010 20:42:35 +0300	[thread overview]
Message-ID: <83tyr63tro.fsf@gnu.org> (raw)
In-Reply-To: <jwv7ho2tacl.fsf-monnier+emacs@gnu.org>

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: emacs-devel@gnu.org,  emacs-bidi@gnu.org
> Date: Tue, 20 Apr 2010 12:19:00 -0400
> 
> > I have committed to the Emacs development trunk revno 99950, which
> > adds implementation of bidirectional display in GUI sessions (as well
> > as a few fixes for display of R2L lines on TTYs).
> 
> Thanks.

The pleasure is all mine.

> > I could only test this on MS-Windows; I have no easy access for
> > development on an X-based machine.
> 
> Sad to hear.  Is there something we could do to fix this problem?

I'm not sure it would be practical.  I could install an X server for
Windows, but I don't think we can trust it to be a faithful imitation
of a native X server.  And I don't have enough resources for
maintaining yet another box at home.

> BTW, I'm now running with (setq-default bidi-display-reordering t) and
> I recommend everyone do the same to help find bugs in that code.

Yes, please do.  The display engine has so many features that it is
virtually impossible for a single individual to test them.

Wider usage of the bidi display will also provide clear guidance for
me which missing features to work on first (those about which I will
hear more complaints ;-).

> > Last, but certainly not least: Thanks to Gerd Möllmann for his kind
> > guidance and advice which was instrumental in making this happen.
> > Without his help, I would never have found such a simple and elegant
> > solution for implementing this feature, being quite ignorant about
> > internals of the Emacs GUI display.
> 
> Would it be possible to document the design/insight of this solution
> somewhere?

Didn't you see the improved commentary at the beginning of xdisp.c,
since revno 99943?  It does tell how R2L lines are displayed, among
other things I added there.

Let me know if I need to make the description more detailed or more
clear.  That includes bidi.c, of course.

  reply	other threads:[~2010-04-20 17:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-20 13:53 Bidirectional display in GUI sessions Eli Zaretskii
2010-04-20 16:19 ` Stefan Monnier
2010-04-20 17:42   ` Eli Zaretskii [this message]
2010-04-20 19:09     ` Juanma Barranquero
2010-04-21  0:14     ` Stephen J. Turnbull
2010-04-21  5:29     ` "Martin J. Dürst"

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=83tyr63tro.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-bidi@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.