[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-bidi] debugging visual-to-logical
From: |
Eli Zaretskii |
Subject: |
Re: [emacs-bidi] debugging visual-to-logical |
Date: |
Tue, 20 Nov 2001 12:46:08 +0200 |
> From: Alex Schroeder <address@hidden>
> Date: Mon, 19 Nov 2001 17:48:50 +0100
>
> >> Strange, it seems to be no problem at all:
> >>
> >> (bidi-visual-to-logical ".02-654-3210 :SI REBMUN YM" 'R2L)
> >> "MY NUMBER IS: 02-654-3210."
> >
> > That's a bug ;-) The logical-to-visual transformation of this:
> >
> > MY NUMBER IS: 02-654-3210.
> >
> > is this:
> >
> > .3210-654-02 :SI REBMUN YM
>
> Hm.
>
> (bidi-logical-to-visual "MY NUMBER IS: 02-654-3210." 'R2L)
> ".02-654-3210 :SI REBMUN YM"
>
> Do you think there is a bug when resolving the levels?
No, I goofed. I tested with the reference implementation, which has
a problem with `-', and with my own code. My code works correctly,
but I forgot that it treats digits 6..9 as AN, not EN. If I replace
`6' with `3', everything works as with your code.
I believe Yair also was tripped by the buggy reference implementation.
Sorry for the line noise.
- Re: [emacs-bidi] editing text in "visual mode", (continued)
- Re: [emacs-bidi] mirroring of glyphs, Eli Zaretskii, 2001/11/22
- Re: [emacs-bidi] mirroring of glyphs, Yair Friedman (Jerusalem), 2001/11/22
- Re: [emacs-bidi] debugging visual-to-logical, Alex Schroeder, 2001/11/19
- Re: [emacs-bidi] debugging visual-to-logical, Eli Zaretskii, 2001/11/19
- Re: [emacs-bidi] debugging visual-to-logical, Alex Schroeder, 2001/11/19
- Re: [emacs-bidi] debugging visual-to-logical, Ehud Karni, 2001/11/19
- Re: [emacs-bidi] debugging visual-to-logical, Alex Schroeder, 2001/11/19
- Re: [emacs-bidi] debugging visual-to-logical, Eli Zaretskii, 2001/11/20
- Re: [emacs-bidi] debugging visual-to-logical,
Eli Zaretskii <=
- Re: [emacs-bidi] debugging visual-to-logical, Yair Friedman (Jerusalem), 2001/11/20
- Re: [emacs-bidi] debugging visual-to-logical, Alex Schroeder, 2001/11/20
- Re: [emacs-bidi] debugging visual-to-logical, Alex Schroeder, 2001/11/20
- Re: [emacs-bidi] debugging visual-to-logical, Behdad Esfahbod, 2001/11/20
- Re: [emacs-bidi] debugging visual-to-logical, Eli Zaretskii, 2001/11/20
- Re: [emacs-bidi] debugging visual-to-logical, Behdad Esfahbod, 2001/11/20
- Re: [emacs-bidi] debugging visual-to-logical, Alex Schroeder, 2001/11/20
- Re: [emacs-bidi] debugging visual-to-logical, Eli Zaretskii, 2001/11/20
- Re: [emacs-bidi] debugging visual-to-logical, Yair Friedman (Jerusalem), 2001/11/21
- Re: [emacs-bidi] debugging visual-to-logical, Roozbeh Pournader, 2001/11/21