I use clojure-mode. I have a ruby script named clj that I use to start Clojure from the command line and from emacs.
When I set up a new Clojure project I create the following files: .cljrc.clj bin/ src/ test/ lib/ The clj script does the following: 1) Put the standard Clojure jars in the classpath 2) Find the root of the project that you are working on by searching up the directory structure for a .cljrc.clj file. .cljrc.clj contains common functions like (exit) that will get loaded into the 'user namespace. Creating this file in a directory establishes it as the root of a Clojure project. 3) Add any jars within the lib directory to the classpath. 4) If clj has no parameters then start the REPL in the root of the project directory, otherwise run a script and pass it any additional parameters. It is not perfect but I like it. I like that the same script is used to run Clojure from the command line and from emacs. I don't want to have to configure each in a different way. I will try SLIME but if I can't do something like this then I may not use it (unless there are other clear advantages). Thank you Phil for providing clojure-mode. Brenton On Sep 7, 5:36 pm, Phil Hagelberg <p...@hagelb.org> wrote: > I'm working on cleaning up the code for clojure-mode.el, which provides > Clojure support for Emacs. > > It includes some functionality for interacting with subprocesses. This > is a small subset of the functionality of the functionality included in > SLIME, but it's simpler and easier to configure. > > However, now that clojure-mode has the M-x clojure-install command that > sets up SLIME etc, I don't know if the built-in subprocess features are > worth keeping around any more. Personally I have never used them or > heard of anyone using them; I wonder if they are just legacy baggage. > > Would anyone be opposed to their removal? > > thanks, > Phil > > http://technomancy.us --~--~---------~--~----~------------~-------~--~----~ 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 Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---