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
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
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
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
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
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
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
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
>
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
>
> 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
>> (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
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
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
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
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
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
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
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
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
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
>
(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
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
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
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.
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
25 matches
Mail list logo