Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>If you want to change slime's notion of the current directory, press <code>,cd&lt;CR&gt;</code> (<code>&lt;CR&gt;</code> = Enter) and type in the path.</p> <p>However, this is not really the proper solution to the problem. The proper solution involves setting up the classpath so that you can (use 'your.namespace). To this end, I wonder if <a href="https://stackoverflow.com/questions/1805081/clojure-cant-find-clj-in-local-directory-and-classes-on-classpath/1935612#1935612">this very long answer</a> I provided to a question about setting up the classpath properly might be helpful... :-)</p> <p>Incidentally, I somewhat object to solutions involving <code>add-classpath</code>, as that is currently marked as deprecated and was never meant to be relied upon in the first place... Though on the other hand, it certainly <em>may</em> work perfectly well and it's worth knowing about just in case it might come in handy as a quick-and-dirty classpath injection gimmick.</p> <p>Now if you want a real nice SLIME-based development environment, I'd like to point you to a very nice <code>clojure-project</code> elisp function by Phil Hagelberg which sets up all relevant variables and launches SLIME in the main directory of a project (to be supplied interactively). It's been posted to the Clojure group, in fact <a href="http://www.mail-archive.com/clojure@googlegroups.com/msg18268.html" rel="nofollow noreferrer">here's a link</a> to the Mail Archive's copy of that message. Note there's one thing which needs correction in there -- <code>swank-clojure-jar-path</code> ought to be set to the full path to <code>clojure.jar</code>. Otherwise it's a fantastic tool.</p> <p>Actually I mentioned that function in <a href="https://stackoverflow.com/questions/1951488/easiest-way-to-manage-my-classpath/1951694#1951694">this response</a> to a question about managing the classpath when using Clojure and Emacs. The other answers might be interesting as well.</p> <p>And if you're only just beginning to use SLIME, do watch the SLIME video, <strike>linked to from <a href="http://common-lisp.net/project/slime/" rel="nofollow noreferrer">SLIME's homepage</a></strike> which is now available under a link posted by Michiel in the comments. It's a very good introduction. :-)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload