[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Unicode Lisp reader escapes
From: |
Eli Zaretskii |
Subject: |
Re: [PATCH] Unicode Lisp reader escapes |
Date: |
Tue, 02 May 2006 22:26:51 +0300 |
> From: Aidan Kehoe <address@hidden>
> Date: Tue, 2 May 2006 12:59:43 +0200
> Cc: address@hidden
>
> > Whether it is safe or not, I think it's certainly better to implement
> > the guts of decode-char in C, if it's gonna be called from
> > read_escape.
>
> If it's only going to be called rarely (twice a file for non-byte-compiled
> files, at a liberal guess, never for byte-compiled files), and after
> decode-char is already loaded--both of which are the case--I don't see the
> argument for that.
And I don't see why we should assume anything for something as basic
as a subroutine of readevalloop. It could be used to read anything,
not just .el files.
> > Moreover, I think the fact that decode-char uses translation tables to
> > support unify-8859-on-*coding-mode (and thus might produce characters
> > other than mule-unicode-*) could even be a misfeature: do we really
> > want read_escape to produce Unicode or non-Unicode characters when it
> > sees \uNNNN, depending on the current user settings?
>
> This is not significantly different from the question "do we really want
> (decode-char 'ucs #xABCD) to produce Unicode or non-Unicode characters
> depending on the current user settings?"
Maybe it's the same question, but since you are proposing to have
decode-char become part of routine reading of Lisp, this feature's
impact becomes much more important to discuss.
> since making string escapes inconsistent with the Unicode coding
> systems does not make any sense.
I'm not sure you are right; it should be discussed.
> And that question has already been answered. Cf.
> http://article.gmane.org/gmane.emacs.bugs/3422
Don't see any answers there about this, perhaps I'm too dumb.
- Re: [PATCH] Unicode Lisp reader escapes, (continued)
- Re: [PATCH] Unicode Lisp reader escapes, Luc Teirlinck, 2006/05/10
- Re: [PATCH] Unicode Lisp reader escapes, Luc Teirlinck, 2006/05/10
- Re: [PATCH] Unicode Lisp reader escapes, Luc Teirlinck, 2006/05/10
- Re: [PATCH] Unicode Lisp reader escapes, Richard Stallman, 2006/05/10
- Re: [PATCH] Unicode Lisp reader escapes, Kenichi Handa, 2006/05/08
Re: [PATCH] Unicode Lisp reader escapes, Eli Zaretskii, 2006/05/02
Re: [PATCH] Unicode Lisp reader escapes, Kenichi Handa, 2006/05/02
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