emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Unicode Lisp reader escapes


From: Juri Linkov
Subject: Re: [PATCH] Unicode Lisp reader escapes
Date: Sat, 06 May 2006 02:15:12 +0300
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

>     They are both fixed-length expressions, which is good, because
>     people get into the habit of typing "\u0123As I walked out one
>     evening" instead of the more disastrous "\u123As I walked out one
>     evening".
>
> I see, you are talking about using them in strings.
> Still, I don't like having both \u and \U--it is ugly.

Are there reasons not to use Perl's notation for Unicode characters,
i.e. "\x{...}"?  The Unicode code for the desired character,
is placed in the braces in hexadecimal, and has no fixed length.
Examples: "\x{DF}", "\x{0448}", "\x{001D0ED}".

I think this notation is well suitable for Emacs, because \x{...}
indicates that a hexadecimal value is expected in the braces.
And in the Unicode branch it will be just another way to specify
a hexadecimal value with a variable length.

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]