[Top][All Lists]
[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: |
Tue, 09 May 2006 23:43:59 +0300 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
> 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}".
>
> We could support this form, as well as \u and \U for compatibility
> with other languages.
Support for \u and \U in Emacs Lisp would be good since other _Lisp_ languages
support \uXXXX and \UXXXXXXXX as well. But other Lisp languages support
also Lisp notation for Unicode characters. I think Emacs should support
it too. In this notation Unicode characters are written as #\u3042 or
#\u0002a6b2 with the leading hash mark.
Also it would be good to support a syntax for named Unicode characters.
Common Lisp has the syntax #\euro_sign, and Perl - \N{EURO SIGN}.
--
Juri Linkov
http://www.jurta.org/emacs/
Re: [PATCH] Unicode Lisp reader escapes, Juri Linkov, 2006/05/05