From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: mhibti@free.fr Newsgroups: gmane.emacs.bidi,gmane.emacs.devel Subject: Re: Re: Arabic support Date: Tue, 31 Aug 2010 03:41:56 +0200 (CEST) Message-ID: <1823324353.2494611283218916492.JavaMail.root@zimbra3-e1.priv.proxad.net> References: <1827180050.2494591283218749909.JavaMail.root@zimbra3-e1.priv.proxad.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1283218935 19484 80.91.229.12 (31 Aug 2010 01:42:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 Aug 2010 01:42:15 +0000 (UTC) Cc: emacs-bidi@gnu.org, Kenichi Handa , emacs-devel@gnu.org To: Amit Aronovitch Original-X-From: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Tue Aug 31 03:42:13 2010 Return-path: Envelope-to: gnu-emacs-bidi@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OqFrX-0004ci-KU for gnu-emacs-bidi@m.gmane.org; Tue, 31 Aug 2010 03:42:11 +0200 Original-Received: from localhost ([127.0.0.1]:33757 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqFrX-0007v8-46 for gnu-emacs-bidi@m.gmane.org; Mon, 30 Aug 2010 21:42:11 -0400 Original-Received: from [140.186.70.92] (port=53284 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqFrT-0007tX-NL for emacs-bidi@gnu.org; Mon, 30 Aug 2010 21:42:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqFrR-0004pt-QV for emacs-bidi@gnu.org; Mon, 30 Aug 2010 21:42:07 -0400 Original-Received: from smtp4-g21.free.fr ([212.27.42.4]:39230) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqFrR-0004pe-3Y; Mon, 30 Aug 2010 21:42:05 -0400 Original-Received: from zimbra3-e1.priv.proxad.net (unknown [172.20.243.153]) by smtp4-g21.free.fr (Postfix) with ESMTP id BFF444C8034; Tue, 31 Aug 2010 03:41:57 +0200 (CEST) In-Reply-To: <1827180050.2494591283218749909.JavaMail.root@zimbra3-e1.priv.proxad.net> X-Originating-IP: [82.237.100.244] X-Mailer: Zimbra 5.0 (ZimbraWebClient - FF3.0 (Win)/5.0.15_GA_2815.UBUNTU8_64) X-Authenticated-User: mhibti@free.fr X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-bidi@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of Emacs support for multi-directional text." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Errors-To: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bidi:781 gmane.emacs.devel:129469 Archived-At: Dear all, I have tried the MS-Windows (XP) version of 30/08. The hello message is not correclty displayed, it is written from left to ri= ght,=20 moreover emacs crashes when trying to write in arabic. I'm very sorry I couldn't do more tests.. ----- Mail Original ----- De: "Amit Aronovitch" =C3=80: "Kenichi Handa" Cc: emacs-bidi@gnu.org, emacs-devel@gnu.org Envoy=C3=A9: Lundi 30 Ao=C3=BBt 2010 16h11:06 GMT +01:00 Amsterdam / Berlin= / Berne / Rome / Stockholm / Vienne Objet: Re: [emacs-bidi] Re: Arabic support On Mon, Aug 30, 2010 at 4:42 PM, Amit Aronovitch < aronovitch@gmail.com > w= rote:=20 On Mon, Aug 30, 2010 at 5:07 AM, Kenichi Handa < handa@m17n.org > wrote:=20 In article , Amit Aronovitch < aronovitch@gmail.com > writes:=20 > 1) I confirm that Arabic shaping seems to work fine on my build (27/8/10= =20 > rev. 101200, on Linux+X (Debian unstable)).=20 > 2) Logical movement with C-f/C-b in the hello file seems fine (I do not s= ee=20 > the trap described above).=20 Thank yor for testing them.=20 > 3) My Arabic is very basic, and I am not familiar with Arabic computing= =20 > (keyboards etc.) - I noticed the following points, but I am not sure what= i=3D=20 > s=20 > the expected behavior (I can only compare to other programs - gedit in th= is=20 > case):=20 > a) Column numbers (column-number-mode) behave strangely (I suspect that= =20 > m17n-lib's invisible markup consume column numbers). For example as you m= ov=3D=20 > e=20 > using C-f in the word "=3DD9=3D87=3DD8=3DB0=3DD8=3DA7" column numbers go = through "0,1,4=3D=20 > ,5" (i.e. the=20 > second character takes up 3 columns). If I change that to "=3DD8=3DA8=3DD= 9=3D87=3DD8=3D=20 > =3DB0=3DD8=3DA7", the column=20 > positions are "0,1,4,6,7" (the second and third chars take up 3 and 2=20 > columns resp.?).=20 > In gedit column positions are 1 character per column and do not depend on= =20 > the shaping.=20 I've just committed a fix for this bug. It's not related to=20 m17n-lib.=20 Thanks. Much better now :-)=20 I also checked the diacritics (tashkil): It seems that they do not take up = column number in Emacs.=20 In gedit, cursor movement is similar, but the vowels there do take up colum= n number (as for cursor movement, as in emacs: forwards/backwards skips the= m, while 'delete' handles them separately). I find this behavior more consi= stent with the way both programs handle the lam-alef ligature (one cursor-m= ovement space, but two column numbers).=20 However, as I said, I do not know which behavior is the most natural for Ar= abic users.=20 Checking the *Hebrew* diacritics (nikkud), I noticed a problem:=20 In some cases the diacritics are displayed in the wrong position (their "re= al" cursor position is correct, which makes the UI *very* confusing). e.g. = if you type "=E2=80=AB =D7=A2=D6=B8=D7=9C=D6=B5=D7=99=D7=A0=D7=95=D6=BC=E2= =80=AC" , the Qamatz (first vowel) appears under the space instead of under= the Ain (first letter). If you remove the space, the Qamatz does not appea= r at all. The Zeire (second vowel) appears under the Ain (first vowel) inst= ead of the Lamed (second letter). However, the Shuruk sticks to the Vav (la= st letter) as it should (though the positioning is too close and to high IM= HO).=20 I do not know if this issue is specific to my build.=20 My complete config.log is available here:=20 http://dl.dropbox.com/u/6960989/dumps/config.log=20 AA=20 _______________________________________________ emacs-bidi mailing list emacs-bidi@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-bidi