Re: trouble setting up emacs

2011-10-24 Thread Phil Hagelberg
On Mon, Oct 24, 2011 at 5:06 PM, Howard Lewis Ship wrote: > error in process filter: require: Symbol's value as variable is void: > slime-clj slime-clj is a different poorly-named library that has been renamed to ritz. Unfortunately the packages are still available for installation. The swank-c

Re: trouble setting up emacs

2011-10-24 Thread Roberto Mannai
It seems you're having some problems with incompatible slime versions. On Mac I'm successfully using Acquamacs (http://aquamacs.org/download.shtml - do NOT install Aquamacs-SLIME-xx.pkg.tgz) without any particular workaround. Just install it, install lein (my script is /usr/bin/lein) and the clojur

Re: trouble setting up emacs

2011-10-24 Thread Howard Lewis Ship
So Swank appears to be running, but when I edit a Clojure file and hit C-x C-e I get an error: Symbol's function definition is void: lisp-eval-last-sexp I also see this in my *messages* buffer: error in process filter: require: Symbol's value as variable is void: slime-clj Any ideas ... even on

Re: trouble setting up emacs

2011-10-24 Thread Howard Lewis Ship
This was helpful: http://www.emacswiki.org/emacs/MacOSTweaks#toc14 I added the following to my init.el: (setenv "PATH" (concat (getenv "PATH") ":~/bin")) (setq exec-path (append exec-path `("~/bin"))) Seems like I could have used (add-to-list 'exec-path "~/bin") for the second line, is that ri

Re: trouble setting up emacs

2011-10-24 Thread Phil Hagelberg
On Mon, Oct 24, 2011 at 4:28 PM, Howard Lewis Ship wrote: > lein is on my search path (in ~/bin).  Where do I update things so > that it is on the path for the Swank process? In Mac OS X, usually programs that are launched from the GUI don't get their environment variables (like $PATH) set correc

Re: trouble setting up emacs

2011-10-24 Thread gaz jones
some kind soul gave me this on the mailing list a while ago, works for me: ;; fix the PATH variable (defun set-exec-path-from-shell-PATH () (let ((path-from-shell (shell-command-to-string "$SHELL -i -c 'echo $PATH'"))) (setenv "PATH" path-from-shell) (setq exec-path (split-string path-fr

Re: trouble setting up emacs

2011-10-24 Thread Howard Lewis Ship
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

Re: trouble setting up emacs

2011-10-18 Thread MarisO
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-the

Re: trouble setting up emacs

2011-10-17 Thread Phil Hagelberg
On Mon, Oct 17, 2011 at 8:32 PM, Bruce Gordon wrote: > I am trying to follow the directions at > http://dev.clojure.org/display/doc/Getting+Started+with+Emacs. > 1. I want to install the Emacs Starter Kit. The directions at > http://dev.clojure.org/display/doc/Getting+Started+with+Emacs mention >