|
From: | Angelo Graziosi |
Subject: | Re: bidi, auto-composition-mode |
Date: | Wed, 21 Apr 2010 10:05:30 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
Il 21/04/2010 5.09, Eli Zaretskii ha scritto:
Date: Wed, 21 Apr 2010 01:00:38 +0200 From: Angelo Graziosi<address@hidden> CC: Eli Zaretskii<address@hidden> Eduard Wiebe wrote:I'm playing with the new bidi-feature, thanks Eli, and receive a strange result.[...]the display order indeed reversed but some characters are duplicated (s. attachment).The same happens on Cygwin (GTK build of the trunk). Trying to write "This is a test", it writes, initially, two T instead of one, so the result is This is a testT ^^^??? The OP used Hebrew letters and auto-composed characters, but you used only ASCII, so this is a different problem. Please tell me what did you type to get this displayed flushed to the right and T doubled.
OK. In my $HOME/.emacs.d/init.el file I have added this: ;; Use C-x 8 RET RIGHT-TO-LEFT MARK to write from right to left (setq-default bidi-display-reordering t) Then, in Emacs, I do this C-x C-f foo.txt C-x 8 RET RIGHT-TO-LEFT MARKThen I start to type "This is a test" (all starts to the right, obviously). When I type the firt 'T', really in Emacs, I see two 'T',
TT Then, I type 'h', ThT and so on ThiT ThisT This iT This isT ... This is a testTwith the cursor always to the left of the most left 'T' (that near the 'h', i.e. 'Th'). If now I do
M-x auto-composition-mode the result is: This is a test without the most right 'T'!I obtain the *same* results both on Cygwin and on GNU/Linux kubuntu 9.10 (GTK builds rev. >= 99951).
Ciao, Angelo.
[Prev in Thread] | Current Thread | [Next in Thread] |