From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bidi,gmane.emacs.devel Subject: Re: Arabic support Date: Fri, 27 Aug 2010 12:56:47 +0300 Message-ID: <83bp8oml9c.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1282902960 12814 80.91.229.12 (27 Aug 2010 09:56:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 27 Aug 2010 09:56:00 +0000 (UTC) Cc: emacs-bidi@gnu.org, emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-bidi-bounces+gnu-emacs-bidi=m.gmane.org@gnu.org Fri Aug 27 11:55:59 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 1OovfD-0003Zr-5h for gnu-emacs-bidi@m.gmane.org; Fri, 27 Aug 2010 11:55:59 +0200 Original-Received: from localhost ([127.0.0.1]:44987 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OovfC-0005Vl-GY for gnu-emacs-bidi@m.gmane.org; Fri, 27 Aug 2010 05:55:58 -0400 Original-Received: from [140.186.70.92] (port=55567 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oovf4-0005SJ-EA for emacs-bidi@gnu.org; Fri, 27 Aug 2010 05:55:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oovez-0007oS-GX for emacs-bidi@gnu.org; Fri, 27 Aug 2010 05:55:50 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:46039) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oovez-0007oG-AC; Fri, 27 Aug 2010 05:55:45 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L7T0090018E4600@a-mtaout20.012.net.il>; Fri, 27 Aug 2010 12:54:42 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.186.164]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L7T0088F2714TC0@a-mtaout20.012.net.il>; Fri, 27 Aug 2010 12:54:39 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:768 gmane.emacs.devel:129288 Archived-At: > From: Kenichi Handa > Date: Thu, 26 Aug 2010 10:10:05 +0900 > > I've just committed changes to trunk for Arabic shaping. If > there're any Arabic users in this list, please check the > displaying of Arabic text. On GNU/Linux system, you must > compile Emacs with libotf and m17n-lib (configure script > should detect them automatically). Thanks. However, today's build behaves very strangely in a GUI session on MS-Windows. For starters, cursor motion seems to jump across many characters in the "Arabic" line of etc/HELLO. For example, typing C-f in that line, I first move one character at a time across "Arabic", as expected, then the cursor jumps to the right paren of the leftmost parenthesized part, again as expected, and then I see the following strange behavior: . C-f moves one character to the left, to buffer position 758, as expected. . the next C-f jumps across many characters on the screen and lands on position 764. . another C-f jumps to what is reported as position 765, but on the screen those are several characters, maybe 5 or 6. . another C-f moves to the left paren at position 766, as expected. . yet another C-f moves to position 767, but on the screen the cursor jumps back into one of the characters it jumped across when it landed on position 765 two C-f keypresses earlier. . if I type C-b 4 times from this point, I enter a "trap", whereby typing C-b jumps between two characters, whose buffer positions are 764 and 765. The only way to get out of the trap is with C-a or C-e or C-f. I don't read Arabic, so I cannot really say whether any of this is expected behavior. (The "trap" with C-b is certainly not the expected behavior.) Do you see anything similar on X?