Fwd: guile-1.8 1.8.5+1-4 MIGRATED to testing

2008-09-01 Thread Neil Jerram
FYI, the Debian Lenny release will include Guile 1.8.5. Thanks especially to Rob for making this happen, but also to many others who helped with bug reporting, fixing and advice. Neil -- Forwarded message -- From: Debian testing watch <[EMAIL PROTECTED]> Date: 2008/8/31

Re: [PATCH] Avoid `SCM_VALIDATE_LIST ()'

2008-09-01 Thread Neil Jerram
2008/9/1 Han-Wen Nienhuys <[EMAIL PROTECTED]>: > > On a tangent, is anyone still seriously considering to run Emacs atop GUILE? Running a whole Emacs on top of Guile? - no. Running some Emacs Lisp code on top of Guile? - yes. But I admit that what I have in mind is still vaporware right now. So

Re: [PATCH] Avoid `SCM_VALIDATE_LIST ()'

2008-09-01 Thread Ludovic Courtès
Hi, Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > - return scm_c_memq (x, lst); > + for (; !SCM_NULL_OR_NIL_P (lst); lst = SCM_CDR (lst)) > +{ > + SCM_VALIDATE_CONS (2, lst); > > Looks cleaner to use SCM_CONS_P (or whatever it is called) as loop guard, > so it is obviously correct, an

Re: [PATCH] Avoid `SCM_VALIDATE_LIST ()'

2008-09-01 Thread Neil Jerram
2008/9/1 Ludovic Courtès <[EMAIL PROTECTED]>: > Hello, > > This is a followup to this discussion: > > http://thread.gmane.org/gmane.lisp.guile.devel/7194 > > The attached patch changes several list-related functions reverse!, memq, memv, member, filter, filter! SRFI-1: concatenate, concatenate!,

Re: [PATCH] Avoid `SCM_VALIDATE_LIST ()'

2008-09-01 Thread Ludovic Courtès
Hi Neil, "Neil Jerram" <[EMAIL PROTECTED]> writes: >> so that they >> don't validate their input with `SCM_VALIDATE_LIST ()' since it's O(n). > > I'm afraid I don't get your rationale, because all these functions are > O(n) anyway. You're right, but it's always better to traverse the list once r

Re: [PATCH] Avoid `SCM_VALIDATE_LIST ()'

2008-09-01 Thread Han-Wen Nienhuys
Ludovic Courtès escreveu: >> On a tangent, is anyone still seriously considering to run Emacs atop GUILE? > > There's Ken Reaburn's attempt at http://www.mit.edu/~raeburn/guilemacs/ , > and there's also the Elisp support that's under `lang'. I don't think > the former is really maintained. The l

Re: [PATCH] Avoid `SCM_VALIDATE_LIST ()'

2008-09-01 Thread Han-Wen Nienhuys
Neil Jerram escreveu: > 2008/9/1 Ludovic Courtès <[EMAIL PROTECTED]>: >> Hello, >> >> This is a followup to this discussion: >> >> http://thread.gmane.org/gmane.lisp.guile.devel/7194 >> >> The attached patch changes several list-related functions > > reverse!, memq, memv, member, filter, filter!