Re: Beginner emacs / SLIME / ACL / ASDF question
- From: Ari Johnson <iamtheari@xxxxxxxxx>
- Date: Sat, 15 Jul 2006 00:49:56 -0400
"Unknownmat" <unknownmat@xxxxxxxxx> writes:
Hello,
How do I modify the ASDF *central-registry* variable, so that the new
value is loaded each time I start Emacs?
I'm still fairly new to LISP and very new to the whole emacs / LISP
interaction. It's an intriguing idea, but I'm not yet fully
comfortable with it.
I am running Windows XP, and recently installed LispBox0.7 using
ACL-express, from the "Practical Common Lisp" page:
http://www.gigamonkeys.com/lispbox/
*central-registry* defaults to *default-pathname-defaults*, which is
somehow fed the default LispBox installation directory: C:\program
files\lispbox-0.7. Instead, I would like to specify where to keep my
".asd" files. In fact, I am very comfortable with Visual Studio's
".sln" files, and would prefer if, similarly, each project were
contained in it's own directory with its own.asd file (and without the
need for a *central-registry*), but based on my understanding, I do not
think this is how ASDF works.
l cannot figure out how to change *central-registry*, short of
hand-editing it each time I open my environment. I'm uncertain where
this value gets set. I believe it is after Emacs loads, and so it is
not appropriate to set this in an ".emacs" file. I am uncertain if
ASDF is loaded by SLIME, or ACL. To make matters more complicated, I
have 3 "asdf.lisp" files on my system, and I do not know which is being
loaded by my system. In any case, I tried hand editing the asdf.lisp
(defvar *central-registry*...) statement in all 3 files (which seems
like a terrible way to configure my system, but I don't know what the
standard way to configure this is supposed to be... ), but this has not
made the slighest difference.
*central-registry* is a Common Lisp variable, not an Emacs one, so
setting it in .emacs will have no effect. I don't know where ACL
keeps its startup files, but what you want to do is find its startup
file and add to that. For instance, my .sbclrc file in my home
directory says:
(require '#:asdf)
(pushnew "/home/ari/.sbcl/systems/" asdf:*central-registry*)
My .openmcl/startup.lisp says almost exactly the same thing, except
with a different path because it's on a different machine.
Hopefully someone can point you to where ACL (particularly running
within the LispBox setup) loads its startup from. You might start by
looking through the LispBox files for it.
I'm not at all familiar with Usenet either, and I apologize if I've
gone about posting this in the wrong way. Any help would be greatly
appreciated.
You did fine on that part. :)
.
- Follow-Ups:
- Re: Beginner emacs / SLIME / ACL / ASDF question
- From: Unknownmat
- Re: Beginner emacs / SLIME / ACL / ASDF question
- References:
- Beginner emacs / SLIME / ACL / ASDF question
- From: Unknownmat
- Beginner emacs / SLIME / ACL / ASDF question
- Prev by Date: Re: Cool Ebooks Site
- Next by Date: Re: Beginner emacs / SLIME / ACL / ASDF question
- Previous by thread: Beginner emacs / SLIME / ACL / ASDF question
- Next by thread: Re: Beginner emacs / SLIME / ACL / ASDF question
- Index(es):
Relevant Pages
|
|