On Mon, Dec 29, 2008 at 11:49 AM, Luke Crook <[email protected]> wrote:

> On Sat, 27 Dec 2008 22:37:48 -0800, Elliott Slaughter
> <[email protected]> wrote:
>
> > I guess I have edit privileges for the wiki, but I don't want to go over
> > anyone's head, and wasn't clear on the appropriate procedures for
> > changing
> > things. Thus the rest of this email. (But if you'd rather I just change
> > the
> > wiki, I can do that too.)
>
> Go nuts.


My pleasure ;-)

> sbclrc: The directory section of this code doesn't need to be longer than
> > one line:
> >
> > (pushnew "C:\\sbcl\\site\\*\\" asdf:*central-registry* :test 'equal)
> >
> > Which has the additional advantages that if the user wants to start
> > installing more libraries, all they have to do is drop them into the
> > site\
> > directory and restart lisp.
>
> I didn't know that pathnames with wildcards were allowed in
> *central-registry*. Certainly makes things easier. Is this true for other
> Lisps as well, or only SBCL?


Unfortunately, it works for some and not others. If I recall correctly, it
works with SBCL and CLISP, but not Allegro. I haven't tried on other lisps.

On Allegro and other lisps which don't support wildcards in
*central-registry*, one option is to use the DIRECTORY function to get a
list of directories to push onto *central-registry*. Another is
http://www.cliki.net/asdf (under the "Alternative Sysdef Search
functionality" heading), which works well enough but is simply a lot more
verbose.

You may also want to mention that the current SBCL win32 binary release is
> broken with SLIME.


Right, but the workaround is simple enough.

http://article.gmane.org/gmane.lisp.slime.devel/7991

$ diff -u swank.lisp swank.lisp.~1.617.~
--- swank.lisp  2008-12-29 12:29:26.890625000 -0800
+++ swank.lisp.~1.617.~ 2008-12-29 10:46:41.578125000 -0800
@@ -2290,7 +2290,7 @@
                (handle-sldb-condition c))))))
     (send-to-emacs `(:debug-return
                      ,(current-thread-id) ,level ,*sldb-stepping-p*))
-    (poll-for-event `(:sldb-return ,(1+ level)))
+    (wait-for-event `(:sldb-return ,(1+ level)) t) ; clean event-queue
     (when (> level 1)
       (send-event (current-thread) `(:sldb-return ,level)))))


-- 
Elliott Slaughter

"Any road followed precisely to its end leads precisely nowhere." - Frank
Herbert
_______________________________________________
application-builder mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to