all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: oub@mat.ucm.es, emacs-devel@gnu.org
Subject: Re: Apropos emacs-intl-fonts & https://wiki.debian.org/DebianHebrew
Date: Sun, 03 Nov 2013 22:07:10 +0200	[thread overview]
Message-ID: <838ux59rm9.fsf@gnu.org> (raw)
In-Reply-To: <878ux51fqj.fsf@gmail.com>

> From: Jambunathan K <kjambunathan@gmail.com>
> Cc: oub@mat.ucm.es,  emacs-devel@gnu.org
> Date: Mon, 04 Nov 2013 00:21:00 +0530
> 
> What I see differs from what Uwe said he wanted.  See the attached
> screenshots.  The "other" screenshot is from LibreOffice.  I cannot read
> Hebrew so I have no idea what is Hello or what is David.

Then I guess you want this:

| שלום       | דוד  ‏ |
| Hello      | ‏David |

It doesn't really matter, the solution (one of them) was demonstrated
by my previous example as well.

> I am just trying to get a quick help on Bidi.  I am trying to figure out
> what markers would be needed to achieve the rendering in Emacs.  I can
> use that as a baseline to form a basic understanding of Bidi.

If you really want basic understanding of bidi, you will need to read
the UAX#9, the annex to the Unicode standard that describes the
Unicode Bidirectional Algorithm.  That is what Emacs implements.

But IMO, that's overkill.  The node in the ELisp manual that I pointed
to includes a cookbook that you should be able to use to get this
stuff right, without understanding too much how it works internally.

> Is there a Bidirectional mode (think Whitespace mode) whereby I can get
> a visual feedback on the markers used in the text?

Not sure what you mean.  The bidirectional control characters by
default are visible (as thin spaces), and you can type "C-x =" on them
(or "C-u C-x =", if you want more details) to see which one is which.
Alternatively, you can customize glyphless-char-display-control to
display these characters as boxes with the Unicode codepoint spelled
out inside.

So the visual feedback is immediate without any special modes.  But
I'm not sure how this will help you: the effect of these marks on the
surrounding text is complex and cannot be predicted without a deep
understanding of the reordering algorithm.  You are welcome to study
it, but that is not needed just to solve your immediate problems.

> (I have consulted the Info node briefly. May be multiple readings would
> be required to form a good understanding.)

The manual gives precise instructions how to use each method, just try
them one by one and see which one fits best.




  parent reply	other threads:[~2013-11-03 20:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-03  7:40 Apropos emacs-intl-fonts & https://wiki.debian.org/DebianHebrew Jambunathan K
2013-11-03 17:48 ` Eli Zaretskii
2013-11-03 18:51   ` Jambunathan K
2013-11-03 20:03     ` Uwe Brauer
2013-11-03 20:20       ` Jambunathan K
2013-11-03 20:38         ` Eli Zaretskii
2013-11-03 20:26       ` Eli Zaretskii
2013-11-03 20:44         ` Jambunathan K
2013-11-03 20:47           ` Eli Zaretskii
2013-11-03 20:07     ` Eli Zaretskii [this message]
2013-11-03 20:37       ` Jambunathan K

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=838ux59rm9.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=kjambunathan@gmail.com \
    --cc=oub@mat.ucm.es \
    /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.