Re: [PATCH] Avoid `SCM_VALIDATE_LIST ()'

2008-09-06 Thread Neil Jerram
2008/9/1 Ludovic Courtès <[EMAIL PROTECTED]>: > > Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > >> 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

Re: [PATCH] Avoid `SCM_VALIDATE_LIST ()'

2008-09-06 Thread Neil Jerram
Hi Ludovic, I'm sorry but I'm still really struggling to see how this change helps us... 2008/9/1 Ludovic Courtès <[EMAIL PROTECTED]>: > 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

Re: [PATCH] Avoid `SCM_VALIDATE_LIST ()'

2008-09-06 Thread Neil Jerram
2008/9/2 Han-Wen Nienhuys <[EMAIL PROTECTED]>: > > What is the intended use case of running Elisp in GUILE ? Is anyone using it > for anything? I would like to have the GDS elisp code, running in Guile, displaying debugging information in Gtk (or Qt, or X) windows, without a full Emacs present.

Re: [PATCH] Avoid `SCM_VALIDATE_LIST ()'

2008-09-06 Thread Neil Jerram
2008/9/2 Han-Wen Nienhuys <[EMAIL PROTECTED]>: > > If you are doing memq? for something you already know to > somewhere in front of the list [...] Why would you do that? In two senses: 1. I know memq gives you the tail of the list, but I usually use its result only as a true/false value Why woul

Re: [PATCH] Avoid `SCM_VALIDATE_LIST ()'

2008-09-06 Thread Neil Jerram
2008/9/4 Andy Wingo <[EMAIL PROTECTED]>: > > I think it makes a *lot* of sense to compile elisp to the VM. I don't > plan on doing so myself, but if the VM gets good enough, it could be > enhanced with the instructions that elisp needs, if any, and it would be > possible to run emacs lisp code, and

Re: [PATCH] Avoid `SCM_VALIDATE_LIST ()'

2008-09-06 Thread Neil Jerram
2008/9/5 Andy Wingo <[EMAIL PROTECTED]>: > I don't know why I'm answering this, but... > > On Thu 04 Sep 2008 17:10, Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > >> Well, I remember having a flamewar with RMS about language agnosticism >> and running emacs on GUILE about 8 years ago, and I don't

Re: [PATCH] Avoid `SCM_VALIDATE_LIST ()'

2008-09-06 Thread Mikael Djurfeldt
2008/9/1 Ludovic Courtès <[EMAIL PROTECTED]>: >> Are you sure about traversing circular lists? From my reading of your >> patch, I would expect: >> >> (memq 'not-in-the-list some-circular-list) >> => >> (don't know, still waiting...) > > Yes, that's what I meant by "happily traverse circular lists

Re: Race condition in threading code?

2008-09-06 Thread Julian Graham
Hi Ludovic, > The easiest way is to "cherry-pick" the change. So, assuming the commit > is at the tip of `master', you'd do: > > $ git checkout branch_release-1-8 > $ git cherry-pick master > > ... resolve conflicts... > > $ git commit -a -c THE-ID-THAT-GIT-TOLD-YOU-BEFORE > > And that's it!

Re: [PATCH] Avoid `SCM_VALIDATE_LIST ()'

2008-09-06 Thread Han-Wen Nienhuys
On Sat, Sep 6, 2008 at 7:45 PM, Neil Jerram <[EMAIL PROTECTED]> wrote: >>> Well, I remember having a flamewar with RMS about language agnosticism >>> and running emacs on GUILE about 8 years ago, and I don't think we >>> have progressed much since then. Extrapolating this pace, I think >>> it's a

Re: [PATCH] Avoid `SCM_VALIDATE_LIST ()'

2008-09-06 Thread Han-Wen Nienhuys
Mikael Djurfeldt escreveu: >> Yes, that's what I meant by "happily traverse circular lists". :-) > Having been part of Guile development for some time, it's sad to see > how much work is put into changing code back and forth due to > vacillating development goals. It's apparent how important it

Re: [PATCH] Avoid `SCM_VALIDATE_LIST ()'

2008-09-06 Thread Ken Raeburn
On Sep 1, 2008, at 16:30, Ludovic Courtès wrote: 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