unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: nabil-82 <sjanjal@web.de>
Cc: Emacs-devel@gnu.org
Subject: Re: Emacs pretest 24.0.90
Date: Wed, 12 Oct 2011 17:54:12 +0200	[thread overview]
Message-ID: <83aa96434r.fsf@gnu.org> (raw)
In-Reply-To: <32638171.post@talk.nabble.com>

> Date: Wed, 12 Oct 2011 06:04:31 -0700 (PDT)
> From: nabil-82 <sjanjal@web.de>
> 
> After testing the arabic input method I found another problem.  It's not
> emacs-specific. I have it with EVERY bidi-editor in Dos or Unix!  And maybe
> a lot of people will not see any problem and say: "That's what I want!"
> 
> If I type '1' then '2'  in a "L2R paragraph" I get "12" - as expected of
> course.
> 
> But if do this with in a "R2L paragraph" (I've tried it in arabic and
> hebrew) I get on the scren "12". But this is not "normal". Because the
> logical order is 1 then 2. And I'm writing from right to left. So the 1
> should be on the right and 2 the should be on the left. So I think "21"
> should be correct (for me).

What you see is correct behavior according to UBA, the Unicode
Bidirectional Algorithm that Emacs implements (as do other bidi-aware
applications).  1, 2, 3, etc. are the so-called "European Numbers",
and they are always displayed left to right, even in a right-to-left
paragraph.  If you want to have it otherwise, you will have to enclose
the numbers in a "right-to-left override", by typing the RIGHT-TO-LEFT
OVERRIDE character before the group of digits and the POP DIRECTIONAL
FORMATTING character after them.

> As I said you have this problem with every editor. And I see that it is
> easier to make it as I think it should be: ALWAYS from right to left,  also
> for digits and not only for characters - in the R2L-mode. So they must be a
> reason...?

The reason is the UBA, it mandates this behavior.  I don't read Arabic
(unfortunately), so I cannot comment on how this behavior fits or
doesn't fit the accepted practice.



  reply	other threads:[~2011-10-12 15:54 UTC|newest]

Thread overview: 101+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-26  3:57 Emacs pretest 24.0.90 Chong Yidong
2011-09-26  4:46 ` Leo
2011-09-26 18:43   ` Chong Yidong
2011-09-26 23:21     ` Leo
2011-09-26  7:43 ` Eli Zaretskii
2011-09-26  8:23   ` Glenn Morris
2011-09-26 23:05   ` Juanma Barranquero
2011-09-26 11:12 ` Neal Becker
2011-09-26 11:36   ` Eli Zaretskii
2011-10-13  4:50     ` Kevin Rodgers
2011-10-13  8:58       ` Eli Zaretskii
2011-09-26 16:53 ` Lars Magne Ingebrigtsen
2011-09-26 17:14   ` Eli Zaretskii
2011-09-26 17:39     ` Lars Magne Ingebrigtsen
2011-09-26 18:50       ` Chong Yidong
2011-09-26 17:07 ` Bastien
2011-09-26 17:26 ` Rasmus
2011-09-26 21:12 ` draft for DEL key poll Richard Stallman
2011-09-26 21:38   ` Karl Fogel
2011-09-26 22:02     ` Kim F. Storm
2011-09-27  6:30       ` Stefan Reichör
2011-09-27 16:34       ` Richard Stallman
2011-09-28 22:48         ` Kim F. Storm
2011-09-29  2:53           ` Stefan Monnier
2011-09-30  3:42             ` Richard Stallman
2011-09-27 16:34     ` Richard Stallman
2011-09-26 22:38   ` disable delete-selection-mode? (was: Re: draft for DEL key poll) chad
2011-09-26 23:10     ` disable delete-selection-mode? Glenn Morris
2011-09-27 16:34     ` disable delete-selection-mode? (was: Re: draft for DEL key poll) Richard Stallman
2011-09-27  0:08   ` draft for DEL key poll Juri Linkov
2011-09-27 16:34     ` Richard Stallman
2011-09-27  0:52   ` Chong Yidong
2011-09-27 16:34     ` Richard Stallman
2011-09-27 18:49     ` James Cloos
2011-09-28  7:54     ` Alan Mackenzie
2011-09-28  8:26       ` Tassilo Horn
2011-09-28  9:53         ` Lennart Borgman
2011-09-28 17:44       ` chad
2011-09-29 10:49         ` Richard Stallman
2011-09-29 17:56           ` chad
2011-09-29 23:17             ` Andrew W. Nosenko
2011-09-30  0:04               ` chad
2011-09-30 21:03             ` Richard Stallman
2011-09-30 21:22               ` Eli Zaretskii
2011-10-01  6:03                 ` Andreas Röhler
2011-09-27  0:59   ` Chong Yidong
2011-09-27 16:34     ` Richard Stallman
2011-09-26 23:00 ` Emacs pretest 24.0.90 Ota, Takaaki
2011-09-26 23:58   ` Glenn Morris
2011-09-27  0:30     ` Ota, Takaaki
2011-10-01  0:22 ` Drew Adams
2011-10-03 16:11   ` Drew Adams
2011-10-03 22:56     ` Christoph Scholtes
2011-10-03 23:42       ` Drew Adams
2011-10-03 23:43         ` Christoph Scholtes
2011-10-12 10:18     ` Dani Moncayo
2011-10-12 10:25       ` Eli Zaretskii
2011-10-12 11:28         ` Dani Moncayo
2011-10-12 11:37           ` Juanma Barranquero
2011-10-12 12:07             ` Dani Moncayo
2011-10-12 12:18               ` Juanma Barranquero
2011-10-12 12:27                 ` Dani Moncayo
2011-10-12 12:29                   ` Juanma Barranquero
2011-10-12 12:31                     ` Dani Moncayo
2011-10-12 13:19                     ` Eli Zaretskii
2011-10-12 19:46                       ` Juanma Barranquero
2011-10-12 12:20               ` Eli Zaretskii
2011-10-12 12:46                 ` Stefan Monnier
2011-10-12 13:16                   ` Eli Zaretskii
2011-10-12 12:17           ` Eli Zaretskii
2011-10-12 12:52         ` Christoph Scholtes
2011-10-12 13:20           ` Eli Zaretskii
2011-10-12 14:21         ` Dave Abrahams
2011-10-12 14:48           ` Eli Zaretskii
2011-10-12 11:27       ` Dani Moncayo
2011-10-12 13:48       ` Drew Adams
2011-10-12 14:02         ` Dani Moncayo
2011-10-13  1:54         ` Christoph Scholtes
2011-10-13  3:33           ` Stefan Monnier
2011-10-13  4:04             ` Christoph Scholtes
2011-10-13 16:15             ` Chong Yidong
2011-10-13 22:54               ` Christoph Scholtes
2011-10-15  1:32                 ` Christoph Scholtes
2011-10-13 14:17           ` Drew Adams
2011-10-18 17:15             ` Drew Adams
2011-10-18 23:34               ` Christoph Scholtes
2011-10-18 23:55                 ` Drew Adams
2011-10-13 14:28           ` Dani Moncayo
2011-10-13 14:49             ` Juanma Barranquero
2011-10-07 19:25 ` nabil-82
2011-10-08  6:20   ` Eli Zaretskii
2011-10-08 16:38     ` nabil-82
2011-10-09  4:00       ` Eli Zaretskii
2011-10-09 13:02         ` nabil-82
2011-10-09 17:04           ` Eli Zaretskii
2011-10-11  1:39       ` Kenichi Handa
2011-10-12 13:04         ` nabil-82
2011-10-12 15:54           ` Eli Zaretskii [this message]
2011-10-12 16:58             ` nabil-82
2011-10-13  8:55               ` Eli Zaretskii
2011-10-08 21:01     ` Glenn Morris

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=83aa96434r.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=Emacs-devel@gnu.org \
    --cc=sjanjal@web.de \
    /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).