On 06/13/2011 04:38 PM, Duncan Bayne wrote: > Hi All, > > I have installed StumpWM and Emacs on my Ubuntu 10.10 box. Versions are: > > stumpwm 1:20090804.git9d6cb388-1 > cl-swank 1:20100605-1 > emacs 23.1+1-4ubuntu7.2+maverick1 > > I have added the following code to my .stumpwmrc as per > http://www.emacswiki.org/emacs/StumpWM: > > (load "/usr/share/common-lisp/source/slime/swank-loader.lisp") > (swank-loader:init) > (defcommand swank () () > (setf stumpwm:*top-level-error-action* :break) > (swank:create-server :port 4005 > :style swank:*communication-style* > :dont-close t) > (echo-string (current-screen) > "Starting swank. M-x slime-connect RET RET, then (in-package > stumpwm).")) > (swank) > > StumpWM starts correctly - if a little more slowly - and I can run > slime-connect from within Emacs. > > However, when it connects, I get the following messages (the final > success message varies): > > "Versions differ: 2010-07-21 (slime) vs 2010-06-04 (swank)" > "Connected. Lemonodor-fame is but a hack away!" > > Despite reporting success, there is no *inferior-lisp* buffer created. > > Could someone please give me a helping hand? I think perhaps I should > remove the Ubuntu Emacs, cl-swank and stumpwm packages and build > everything from source, but I'd like to hear from someone who's got > this working before going down that path :-) >
Sorry for breaking the thread (I'm answering your last post), but I needed to get back to one that had the original info. The path /usr/share/common-lisp/source/slime/swank-loader.lisp looks slightly dubious. I'd expect /usr/share/common-lisp/source/swank/swank-loader.lisp. I'm sure you know what you're doing; just trying to be thorough. Maybe try (swank:create-server) without any of the keyword params, unless they're necessary for your specific purpose. The port certainly shouldn't be necessary, as 4005 is the default. Have you upgraded to SBCL 1.0.49? It now uses ASDF2. If you have an init file that does any of the following actions, comment them out entirely: - (push #p"/usr/share/common-lisp/systems/" asdf:*central-registry*) - (asdf:oos 'asdf:load-op :asdf-binary-locations) SLIME wouldn't start for me until I did this. Carlos _______________________________________________ Stumpwm-devel mailing list Stumpwm-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/stumpwm-devel