I've gotten as far as changing to a directory with a project.clj and execute C-c C-j C-i
I see this in my *swank* buffer: Process swank exited abnormally with code 127 sh: line 1: lein: command not found lein is on my search path (in ~/bin). Where do I update things so that it is on the path for the Swank process? On Tue, Oct 18, 2011 at 4:07 AM, MarisO <maris.orbid...@gmail.com> wrote: > run this script in your .emacs.d directory > > ------------------------------------------------------ > #!/bin/sh > > git clone https://github.com/technomancy/clojure-mode.git > wget -P paredit http://mumble.net/~campbell/emacs/paredit.el > > wget > http://download.savannah.gnu.org/releases/color-theme/color-theme-6.6.0.tar.gz > mkdir color-theme > tar --strip-components=1 --directory=color-theme -xzf color- > theme-6.6.0.tar.gz > > rm color-theme-6.6.0.tar.gz > ------------------------------------------------------ > > > init.el > > ------------------------------------------------------ > (add-to-list 'load-path "~/.emacs.d/") > > ;; clojure-mode > (add-to-list 'load-path "~/.emacs.d/clojure-mode") > (require 'clojure-mode) > > (fset 'compile-and-goto-repl "\C-x\C-s\C-c\C-k\C-c\C-z") > > (global-set-key (kbd "C-c C-g C-r") 'compile-and-goto-repl) > (global-set-key (kbd "C-c C-j C-i") 'clojure-jack-in) > > ;; paredit > (add-to-list 'load-path "~/.emacs.d/paredit") > (require 'paredit) > > (add-hook 'clojure-mode-hook 'enable-paredit-mode) > > (global-set-key (kbd "M-p M-m e") 'enable-paredit-mode) > (global-set-key (kbd "M-p M-m d") 'disable-paredit-mode) > > ;; color theme > (add-to-list 'load-path "~/.emacs.d/color-theme") > (require 'color-theme) > > (eval-after-load "color-theme" > '(progn > (color-theme-initialize))) > > ------------------------------------------------------ > > > > Start emacs, change current directory (M-x cd) to a leiningen project > root and press C-c C-j C-i. It should start clojure repl. > You will need swank as dev dependency. > > :dev-dependencies [[swank-clojure "1.3.1"] > [midje "1.1.1"]] > > > > hth, > Maris > > > > On Oct 18, 4:32 am, Bruce Gordon <brucebgor...@gmail.com> wrote: >> I am trying to follow the directions >> athttp://dev.clojure.org/display/doc/Getting+Started+with+Emacs. >> 1. I want to install the Emacs Starter Kit. The directions >> athttp://dev.clojure.org/display/doc/Getting+Started+with+Emacsmention >> "GNU Emacs 23 or 24 is recommended", however >> https://github.com/technomancy/emacs-starter-kit >> says "You'll need Emacs 24". The directions say "precompiled versions >> are readily available for Debian-based systems...". I'm using a Debian >> based system. so I went tohttp://emacs.naquadah.org/. >> a. I executed> wget -q -O -http://emacs.naquadah.org/key.gpg| sudo >> apt-key add - >> b. I'm now confused as to which version I want: Stable? If so I should >> then follow the directions to add 2 lines to /etc/apt/sources.list, >> and then what do I do? >> >> 2. Once I get emacs 24 installed, the directions sort of leave off >> with " In both cases, you need to launch a Clojure instance with the >> correct classpath settings. This is most commonly done using a build >> tool such as Leiningen. For instructions see the Build Tools section >> of Getting Started." Going >> tohttp://dev.clojure.org/display/doc/Getting+Started >> and perusing the Build Tools doesn't explain how to setup and launch a >> Clojure instance. I see some explanations >> athttp://blog.bensmann.com/setting-up-a-clojure-development-environment >> but don't know if that includes some obsolete directions. >> >> thanks, -Bruce > > -- > 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 -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com -- 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