I've been using Slime until now, and every time I wanted to load a
system definition from ASDF, all I had to do is just selecting an
option in the Slime menu, and the system definition was automatically
loaded into the REPL.
But now I have updated both SBCL and Slime (I had to update Slime
because old versions doesn't work with actual versions of SBCL), and
my surprise is that the menu I used for loading the system, does not
exist.
It is not a big problem, I can load it manually in the REPL. But it is
uncomfortable.
I've been searching the documentation here:
http://common-lisp.net/project/slime/doc/html/
But the ASDF capabilities seems to be completely disappear for actual
Slime!!!
What's happening? am I getting crazy or did they really removed ASDF
from Slime??
Javier <·······@gmail.com> writes:
> I've been using Slime until now, and every time I wanted to load a
> system definition from ASDF, all I had to do is just selecting an
> option in the Slime menu, and the system definition was automatically
> loaded into the REPL.
> But now I have updated both SBCL and Slime (I had to update Slime
> because old versions doesn't work with actual versions of SBCL), and
> my surprise is that the menu I used for loading the system, does not
> exist.
> It is not a big problem, I can load it manually in the REPL. But it is
> uncomfortable.
The commands have been moved into the slime-asdf contrib.
You can load contribs by putting something like this in your ~/.emacs:
(slime-setup '(slime-asdf ...))
Zach
On Wed, 22 Oct 2008 05:33:29 -0700, Javier wrote:
> I've been using Slime until now, and every time I wanted to load a
> system definition from ASDF, all I had to do is just selecting an option
> in the Slime menu, and the system definition was automatically loaded
> into the REPL.
> But now I have updated both SBCL and Slime (I had to update Slime
> because old versions doesn't work with actual versions of SBCL), and my
> surprise is that the menu I used for loading the system, does not exist.
> It is not a big problem, I can load it manually in the REPL. But it is
> uncomfortable.
>
> I've been searching the documentation here:
>
> http://common-lisp.net/project/slime/doc/html/
>
> But the ASDF capabilities seems to be completely disappear for actual
> Slime!!!
>
> What's happening? am I getting crazy or did they really removed ASDF
> from Slime??
I have never used the menu, keyboard is quicker.
At the SLIME REPL, press ,. Then give the command load-system, press
[ENTER], then type the name of the system. Tab completion works for both.
HTH,
Tamas
On 22 oct, 14:40, Tamas K Papp <······@gmail.com> wrote:
> On Wed, 22 Oct 2008 05:33:29 -0700, Javier wrote:
> > I've been using Slime until now, and every time I wanted to load a
> > system definition from ASDF, all I had to do is just selecting an option
> > in the Slime menu, and the system definition was automatically loaded
> > into the REPL.
> > But now I have updated both SBCL and Slime (I had to update Slime
> > because old versions doesn't work with actual versions of SBCL), and my
> > surprise is that the menu I used for loading the system, does not exist.
> > It is not a big problem, I can load it manually in the REPL. But it is
> > uncomfortable.
>
> > I've been searching the documentation here:
>
> >http://common-lisp.net/project/slime/doc/html/
>
> > But the ASDF capabilities seems to be completely disappear for actual
> > Slime!!!
>
> > What's happening? am I getting crazy or did they really removed ASDF
> > from Slime??
>
> I have never used the menu, keyboard is quicker.
>
> At the SLIME REPL, press ,. Then give the command load-system, press
> [ENTER], then type the name of the system. Tab completion works for both.
Command not found!!
Nor load-system, nor slime-load-system (using M-x) does work.
I use Aquamacs, if this is relevant.
On Wed, 22 Oct 2008 05:49:32 -0700, Javier wrote:
> On 22 oct, 14:40, Tamas K Papp <······@gmail.com> wrote:
>> I have never used the menu, keyboard is quicker.
>>
>> At the SLIME REPL, press ,. Then give the command load-system, press
>> [ENTER], then type the name of the system. Tab completion works for
>> both.
>
>
> Command not found!!
> Nor load-system, nor slime-load-system (using M-x) does work.
Nope. At the _REPL_, you simply press "," (comma).
Tamas
On 22 oct, 15:22, Tamas K Papp <······@gmail.com> wrote:
> On Wed, 22 Oct 2008 05:49:32 -0700, Javier wrote:
> > On 22 oct, 14:40, Tamas K Papp <······@gmail.com> wrote:
> >> I have never used the menu, keyboard is quicker.
>
> >> At the SLIME REPL, press ,. Then give the command load-system, press
> >> [ENTER], then type the name of the system. Tab completion works for
> >> both.
>
> > Command not found!!
> > Nor load-system, nor slime-load-system (using M-x) does work.
>
> Nope. At the _REPL_, you simply press "," (comma).
I know what you mean, I use "," too.
Really, the command is not found!!
load-system using ",", or slime-load-system using M-x does not exists!
At the end, I have tested it in Linux, using regular Emacs, and it
works.
It does not work using Aquamacs.
So it must be a bug in any of the two programas, either Aquamacs or
Slime, which makes incompatible new versions of Slime with Aquamacs.
Thank you anyway.
Javier <·······@gmail.com> writes:
>> Nope. �At the _REPL_, you simply press "," (comma).
>
> I know what you mean, I use "," too.
> Really, the command is not found!!
> load-system using ",", or slime-load-system using M-x does not exists!
>
> At the end, I have tested it in Linux, using regular Emacs, and it works.
> It does not work using Aquamacs. So it must be a bug in any of the two
> programas, either Aquamacs or Slime, which makes incompatible new
> versions of Slime with Aquamacs.
I also see this. When using the Debian SLIME, ",l" works. However, it
does not work when I use a separate SLIME from CVS. I guess the reason is
that the file slime/contrib/slime-asdf.el is not loaded by default.
(However, when I tried loading it separately, SLIME broke down on ",l":-()
Nicolas
P.S.: We probably should move this to the SLIME mailing list, nevertheless
I think it would be nice if someone knowing could answer this question also
here.
--
PD Dr. Nicolas Neuss University Karlsruhe Tel: 0049-721-608-7634
Email: ·····@mathematik.uni-karlsruhe.de
WWW: <http://www.mathematik.uni-karlsruhe.de/~neuss>
Nicolas Neuss <········@math.uni-karlsruhe.de> writes:
> P.S.: We probably should move this to the SLIME mailing list,
> nevertheless I think it would be nice if someone knowing could answer
> this question also here.
OK, it worked when I did a CVS update and put the following in my .emacs
(add-to-list 'load-path "~/CL-HOME/elisp/slime/")
(add-to-list 'load-path "~/CL-HOME/elisp/slime/contrib")
(add-hook 'slime-load-hook (lambda () (require 'slime-asdf)))
(require 'slime)
(slime-setup)
Nicolas