Re: My SLIME installation diary

2009-02-20 Thread Boris Schmid
Nice. It starts to work flawless. Did another installation test on a fresh ubuntu. 1. mark emacs-snapshot and ant for installation in synaptic. You'll automatically download the other files you need then. 2. get clojure-mode from http://github.com/technomancy/clojure-mode/ , and store the .el fil

Re: My SLIME installation diary

2009-02-19 Thread David
On Feb 18, 6:34 pm, Phil Hagelberg wrote: > David writes: > The Elisp CL emulation package is documented in its own top-level Info > node for some reason rather than in the Elisp manual. Almost certainly historical -- it must be a later, separate development. It really should be listed in the

Re: My SLIME installation diary

2009-02-18 Thread Phil Hagelberg
David writes: > I can't really claim to be handy with elisp, but I got by. > (Is there a guide to elisp functions anywhere? The Lisp > reference didn't include the Common Lisp emulation library, > and I never did find an equivalent to the clojure filter()). The Elisp CL emulation package is doc

Re: My SLIME installation diary

2009-02-18 Thread David
I can't really claim to be handy with elisp, but I got by. (Is there a guide to elisp functions anywhere? The Lisp reference didn't include the Common Lisp emulation library, and I never did find an equivalent to the clojure filter()). Anyway, here's what I added to my .emacs: (defun find-ext-fo

Re: My SLIME installation diary

2009-02-13 Thread Phil Hagelberg
David writes: > I have a small problem with clojure-mode in your setup. > > Since clojure-mode is autoloaded, it, and SLIME, aren't available > until I load a '.clj' file. > Starting SLIME, though, doesn't add the SLIME menu to the previously > loaded '.clj' buffer > (Newly loaded files get the

Re: My SLIME installation diary

2009-02-13 Thread David
I have a small problem with clojure-mode in your setup. Since clojure-mode is autoloaded, it, and SLIME, aren't available until I load a '.clj' file. Starting SLIME, though, doesn't add the SLIME menu to the previously loaded '.clj' buffer (Newly loaded files get the menu, as they should). Thank

Re: My SLIME installation diary

2009-02-13 Thread bOR_
That starter-kit sounds perhaps easier. I'll try the starter-kit. I want the install to be fairly easy, if I want to convince others at work to play with it :). On Feb 12, 6:35 pm, Phil Hagelberg wrote: > bOR_ writes: > >>> (push "/home/boris/.emacs.d" load-path) > >>This is actually already on

Re: My SLIME installation diary

2009-02-12 Thread Phil Hagelberg
bOR_ writes: >>> (push "/home/boris/.emacs.d" load-path) >>This is actually already on the load-path by default; no need to add it. > > Standard load-path on ubuntu didn't include ~/.emacs.d for me. Not > sure why not. You're right; my bad. > 1. Creating a .emacs with the load-path .emacs.d >

Re: My SLIME installation diary

2009-02-11 Thread bOR_
Spotted an error in clojure-mode.el. Swank-clojure-extra-classpaths needs to be changed from this to the following, in order for people to be able to use contrib. (setq swank-clojure-jar-path (concat clojure-src-root "/clojure/ clojure.jar") swank-clojure-extra-classpaths (list

Re: My SLIME installation diary

2009-02-11 Thread bOR_
> > Success! Thank you. Success lasted till I tried to restart emacs. Here is where I am stuck again: 1. It can't find M-x slime clojure-slime-config doesn't seem to be an option either to manually run with M-x clojure The solution seems to be to take the functions in clojure-slime-config and pu

Re: My SLIME installation diary

2009-02-11 Thread bOR_
>> (push "/home/boris/.emacs.d" load-path) >This is actually already on the load-path by default; no need to add it. Standard load-path on ubuntu didn't include ~/.emacs.d for me. Not sure why not. load-path is a variable defined in `C source code'. Its value is ("/etc/emacs-snapshot" "/etc/emac

Re: My SLIME installation diary

2009-02-09 Thread bOR_
Thanks for all the explanations. I'll try again this wednesday! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this g

Re: My SLIME installation diary

2009-02-09 Thread Phil Hagelberg
bOR_ writes: > Had to use a different .emacs. Just autoload and add-to-list didn't > seem to load clojure-mode.el. That's correct; this will not load the code. It just sets it up so that the file gets loaded on-demand when you open a clojure file. I will add a note mentioning that the first tim

Re: My SLIME installation diary

2009-02-09 Thread bOR_
Slowly wrestling myself through getting to know emacs. Ok. autoload works fine. Didn't realize I have to open emacs with a .clj file for the clojure-mode to load. Now looking where this 'Cannot open load file:slime-repl' is coming from. On Feb 9, 10:36 am, bOR_ wrote: > HI Phil. Tried the cloju

Re: My SLIME installation diary

2009-02-09 Thread bOR_
HI Phil. Tried the clojure-install on a fairly clean ubuntu / emacs23 Here is what went and what went wrong: Had to use a different .emacs. Just autoload and add-to-list didn't seem to load clojure-mode.el. Took a moment to figure out that I had to set clojure-src-root as well, as that isn't me

Re: My SLIME installation diary

2009-02-05 Thread chris
http://bitbucket.org/shoover/clojure-box-swank-clojuremq/src/11bec919b978/hack-repl-hang This might fix it for your windows box. Check this thread: http://groups.google.com/group/clojure/browse_thread/thread/6c195c35ae9a7eb8/29dec28f8e8fafd5?lnk=gst&q=windows+slime+hang#29dec28f8e8fafd5 Chris

Re: My SLIME installation diary

2009-02-05 Thread chris
I haven't seen a clear argument about the classpath variable one way or another. I also haven't figured out an elegant way to deal with it. I have no problem running a shell script from a terminal I want to develop with to setup classpath to be exactly what I expect it to be on a unix system. O

Re: My SLIME installation diary

2009-02-05 Thread Tom Emerson
On Wed, Feb 4, 2009 at 4:36 PM, chris wrote: [snip] > My slime setup currently fails completely on windows, however. The > slime repl never starts; is there a way to get slime to dump all of > its communication (both ways, not just sending) to a file? Ditto, I'm still busted on Windows with the

Re: My SLIME installation diary

2009-02-04 Thread Phil Hagelberg
chris writes: > (defun get-classpath-list () > (if > (or >(eq 'windows-nt system-type) >(eq 'ms-dos system-type)) > (split-string (getenv "CLASSPATH") ";") > (split-string (getenv "CLASSPATH") ":"))) > > (setq swank-clojure-jar-path > (dev-dir "clojure/clo

Re: My SLIME installation diary

2009-02-04 Thread chris
Also, I would love to get some more debugging support into slime. I was wondering how difficult it would be to use the java debugging API, embedded in the swank module, and send debug commands across? Chris On Feb 4, 2:36 pm, chris wrote: > (defun get-classpath-list () >   (if >       (or >  

Re: My SLIME installation diary

2009-02-04 Thread chris
(defun get-classpath-list () (if (or (eq 'windows-nt system-type) (eq 'ms-dos system-type)) (split-string (getenv "CLASSPATH") ";") (split-string (getenv "CLASSPATH") ":"))) (setq swank-clojure-jar-path (dev-dir "clojure/clojure.jar")) (setq swank-clojure-ext

Re: My SLIME installation diary

2009-02-04 Thread Phil Hagelberg
Seeing all these complicated steps that need to be reproduced made me wonder if it couldn't be automated. I've added an M-x clojure-install command to my fork of clojure-mode, so if you are wanting to get started with SLIME and Clojure, please give it a look. Installation and configuration shoul

Re: My SLIME installation diary

2009-02-04 Thread Craig McDaniel
Thanks Stuart. Since the clojure-contrib.jar you built in step 3 does include both clj and class files, I think you can reduce (setq swank-clojure-extra-classpaths (list "/Users/stuart/Projects/clj/contrib/src" "/Users/stuart/Projects/clj/contrib/classes")) to (set

Re: My SLIME installation diary

2009-02-04 Thread bOR_
As we never can have enough examples, and this one was about the simplest that just worked on Ubuntu, I'll paste my variant of it here. It is slightly different because I'm behind a proxy, and thus my git calls are somewhat different, and I got my slime from a git repository rather than a cvs one.

My SLIME installation diary

2008-12-23 Thread Stuart Sierra
Hi folks, Up 'till now I've been perfectly happy with Emacs' inferior-lisp mode, but I decided to try SLIME. Since there seem to be a lot of questions about SLIME, I thought I would make a record of everything I did to get it set up. This is on OSX with Aquamacs. I'm setting up Clojure, clojur