[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-bidi] bidi categories
From: |
Eli Zaretskii |
Subject: |
Re: [emacs-bidi] bidi categories |
Date: |
Fri, 09 Nov 2001 22:25:52 +0200 |
> From: Alex Schroeder <address@hidden>
> Date: Fri, 09 Nov 2001 19:28:14 +0100
>
> Here's what I have at the moment. As I said in another mail, I also
> have the Unicode classification, but I don't know yet how to use it --
> given a Unicode codepoint (correct term?), how do I get the
> corresponding Mule character in the unicode charsets
Here's how:
(decode-char 'ucs uchar)
where UCHAR is the Unicode codepoint. Easy, eh?
> -- or better yet,
> how do I get all characters from all the other charsets matching it?
For this, you will need tables, there's no single method.
> I looked at UAX#9 again, and while it describes the process of
> transforming logical to visual order, it a) looks horribly complicated
> and b) not reversible. I guess that's old stuff for those who are
> familiar with it... :) Since the reverse operation is not defined
> explicitly (did I miss it?), a certain amount of guess-work will be
> needed.
I think that if you implement only the In clauses of UAX#9 (which
resolve the implicit levels), you will get what you want, since
visual-order text doesn't have explicit marks. It seems to me that
the implicit reordering is reversible.
- Re: [emacs-bidi] Arabic Mule, (continued)
- Re: [emacs-bidi] Arabic Mule, Eli Zaretskii, 2001/11/07
- Re: [emacs-bidi] Where do I start?, Eli Zaretskii, 2001/11/07
- Re: [emacs-bidi] diacritics, ligatures, etc., Alex Schroeder, 2001/11/08
- Re: [emacs-bidi] diacritics, ligatures, etc., Eli Zaretskii, 2001/11/08
- Re: [emacs-bidi] diacritics, ligatures, etc., Yair Friedman (Jerusalem), 2001/11/12
- Re: [emacs-bidi] diacritics, ligatures, etc., Eli Zaretskii, 2001/11/12
- Re: [emacs-bidi] bidi categories, Alex Schroeder, 2001/11/08
- Re: [emacs-bidi] bidi categories, Eli Zaretskii, 2001/11/08
- Re: [emacs-bidi] bidi categories, Alex Schroeder, 2001/11/09
- Re: [emacs-bidi] bidi categories, Alex Schroeder, 2001/11/09
- Re: [emacs-bidi] bidi categories,
Eli Zaretskii <=
- Re: [emacs-bidi] bidi categories, derived from Unicode data, Alex Schroeder, 2001/11/09
- Re: [emacs-bidi] bidi categories, derived from Unicode data, Eli Zaretskii, 2001/11/10
- Re: [emacs-bidi] bidi categories, derived from Unicode data, Alex Schroeder, 2001/11/10
- Re: [emacs-bidi] bidi categories, Ehud Karni, 2001/11/10
- Re: [emacs-bidi] bidi categories, Alex Schroeder, 2001/11/10
- Re: [emacs-bidi] bidi categories, Ehud Karni, 2001/11/12
- [emacs-bidi] improve visual-to-logical, Alex Schroeder, 2001/11/13
- Re: [emacs-bidi] improve visual-to-logical, Eli Zaretskii, 2001/11/13
- Re: [emacs-bidi] improve visual-to-logical, Alex Schroeder, 2001/11/13
- Re: [emacs-bidi] improve visual-to-logical, Eli Zaretskii, 2001/11/13