[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Unicode Lisp reader escapes
From: |
Aidan Kehoe |
Subject: |
Re: [PATCH] Unicode Lisp reader escapes |
Date: |
Fri, 5 May 2006 21:57:13 +0200 |
Ar an cúigiú lá de mí Bealtaine, scríobh Aidan Kehoe:
> > [...] Thank you, but my question here is not about \u. Rather, it is
> > about whether there are OTHER incompatibilities between Emacs Lisp and C
> > string syntax.
> >
> > I want to see that information before deciding what to do here.
>
> There aren’t, to my knowledge, C is a pretty conservative language. GCC
> and its conscientious approach to the standards is a big part of why that
> is so, as I understand it.
Sorry, that is false. There are other incompatibilities;
\d in Emacs Lisp string and character syntax gives \0177
\e in Emacs Lisp string and character syntax gives \033
\M-<CHAR> in Emacs Lisp string and character syntax gives CHAR + #x8000000
\S-<CHAR> in Emacs Lisp string and character syntax gives CHAR + #x2000000
\H-<CHAR> in Emacs Lisp string and character syntax gives CHAR + #x1000000
\A-<CHAR> in Emacs Lisp string and character syntax gives CHAR + #x400000
\s-<CHAR> in Emacs Lisp string and character syntax gives CHAR + #x400000
\C-<CHAR> and \^<CHAR> in Emacs Lisp string and character syntax gives the
control version of CHAR, which for non-ASCII characters is CHAR + #x4000000
All of these are incompatibilities on the Emacs Lisp side; except for the
Unicode escapes, a C programmer can use any C escape desired in Emacs Lisp.
--
Aidan Kehoe, http://www.parhasard.net/
- Re: [PATCH] Unicode Lisp reader escapes, (continued)
- Re: [PATCH] Unicode Lisp reader escapes, Eli Zaretskii, 2006/05/03
- Re: [PATCH] Unicode Lisp reader escapes, Stefan Monnier, 2006/05/03
- Re: [PATCH] Unicode Lisp reader escapes, Eli Zaretskii, 2006/05/03
- Re: [PATCH] Unicode Lisp reader escapes, Ken Raeburn, 2006/05/03
- Re: [PATCH] Unicode Lisp reader escapes, Richard Stallman, 2006/05/04
- Re: [PATCH] Unicode Lisp reader escapes, Aidan Kehoe, 2006/05/04
- Re: [PATCH] Unicode Lisp reader escapes, Eli Zaretskii, 2006/05/05
- Re: [PATCH] Unicode Lisp reader escapes, Aidan Kehoe, 2006/05/05
- Re: [PATCH] Unicode Lisp reader escapes, Richard Stallman, 2006/05/05
- Re: [PATCH] Unicode Lisp reader escapes, Aidan Kehoe, 2006/05/05
- Re: [PATCH] Unicode Lisp reader escapes,
Aidan Kehoe <=
- Re: [PATCH] Unicode Lisp reader escapes, Richard Stallman, 2006/05/06
- Re: [PATCH] Unicode Lisp reader escapes, Aidan Kehoe, 2006/05/06
- Re: [PATCH] Unicode Lisp reader escapes, Richard Stallman, 2006/05/07
- Re: [PATCH] Unicode Lisp reader escapes, Aidan Kehoe, 2006/05/07
- Re: [PATCH] Unicode Lisp reader escapes, David Kastrup, 2006/05/07
- Re: [PATCH] Unicode Lisp reader escapes, Aidan Kehoe, 2006/05/07
- Re: [PATCH] Unicode Lisp reader escapes, Aidan Kehoe, 2006/05/07
- Re: [PATCH] Unicode Lisp reader escapes, Richard Stallman, 2006/05/08
- Re: [PATCH] Unicode Lisp reader escapes, Kenichi Handa, 2006/05/03
- Re: [PATCH] Unicode Lisp reader escapes, Oliver Scholz, 2006/05/04