[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: |
Wed, 3 May 2006 00:50:15 +0200 |
Ar an dara lá de mí Bealtaine, scríobh Kenichi Handa:
> > Yay, a technical objection.
>
> > If it isn’t safe to call a Lisp program in read_escape, then the
> > function is full of bugs already. It’s called with three arguments, a
> > Lisp_Object readcharfun, an integer, and a pointer to an integer. If
> > readcharfun is a Lisp function (it may not be, it may be a buffer, a
> > marker, or a string), then that Lisp function is called on line 348.
> > Cf. the documentation of `read', which describes that the input may be
> > from a function.
>
> What I concern is the case that readcharfun is a string or a buffer. In
> that case, of course, the current code doesn't call Lisp in read_escape.
> So, there's no need of GCPRO readcharfun.
>
> But, if Lisp is called even if readcharfun is a string, I think we should
> GCPRO it. Is it already done? (Sorry, I don't have a time to check
> lread.c by myself)
I’m reasonably sure it’s already done in the callers of read1, but I don’t
have graphing software to hand, and the English for the reasoning I’ve
written out is unreadably tedious. So, sure, GCPROing seems worth the time.
Do you mean to GCPRO independent of what type readcharfun is?
--
Aidan Kehoe, http://www.parhasard.net/
- Re: [PATCH] Unicode Lisp reader escapes, (continued)
- Re: [PATCH] Unicode Lisp reader escapes, Richard Stallman, 2006/05/01
- Re: [PATCH] Unicode Lisp reader escapes, Kenichi Handa, 2006/05/02
- Re: [PATCH] Unicode Lisp reader escapes, Aidan Kehoe, 2006/05/02
- Re: [PATCH] Unicode Lisp reader escapes, Eli Zaretskii, 2006/05/02
- Re: [PATCH] Unicode Lisp reader escapes, Aidan Kehoe, 2006/05/02
- Re: [PATCH] Unicode Lisp reader escapes, Eli Zaretskii, 2006/05/02
- Re: [PATCH] Unicode Lisp reader escapes, Aidan Kehoe, 2006/05/02
- Re: [PATCH] Unicode Lisp reader escapes, Oliver Scholz, 2006/05/02
- Re: [PATCH] Unicode Lisp reader escapes, Kenichi Handa, 2006/05/02
- Re: [PATCH] Unicode Lisp reader escapes,
Aidan Kehoe <=
- Re: [PATCH] Unicode Lisp reader escapes, Kenichi Handa, 2006/05/03
- Re: [PATCH] Unicode Lisp reader escapes, Kevin Rodgers, 2006/05/03
- Re: [PATCH] Unicode Lisp reader escapes, Andreas Schwab, 2006/05/03
- Re: [PATCH] Unicode Lisp reader escapes, Aidan Kehoe, 2006/05/04
- Re: [PATCH] Unicode Lisp reader escapes, Kenichi Handa, 2006/05/07
- Re: [PATCH] Unicode Lisp reader escapes, Aidan Kehoe, 2006/05/08
- Re: [PATCH] Unicode Lisp reader escapes, Stefan Monnier, 2006/05/08
- Re: [PATCH] Unicode Lisp reader escapes, Aidan Kehoe, 2006/05/08
- Re: [PATCH] Unicode Lisp reader escapes, Stefan Monnier, 2006/05/08
- Re: [PATCH] Unicode Lisp reader escapes, Aidan Kehoe, 2006/05/08