Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-29 Thread James
Hi Sam,- I've got everything working now (Swank, Slime, the lein2 command). Many thanks for your comments. I'll get back to you if I have more feedback on Emacs Live. Cheers, James On May 28, 10:58 pm, Sam Aaron wrote: > On Monday, 28 May 2012 at 17:59, James wrote: > > Regarding Slime and Swan

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-28 Thread Sam Aaron
On Monday, 28 May 2012 at 22:05, john wrote: > just wondering what does https://github.com/aim-stuff/cmd-key-happy buy you > since xterm2 allows you two switch cmd-key to alt-key? cmd-key-happy allows you to redefine key behaviour for arbitrary apps, so you can swap keys for Terminal.app, Emacs.

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-28 Thread john
HI Sam, just wondering what does https://github.com/aim-stuff/cmd-key-happy buy you since xterm2 allows you two switch cmd-key to alt-key? many greetings John On Monday, May 28, 2012 2:46:15 PM UTC+2, Sam Aaron wrote: > > Hi John, > > first of all, you probably should create your own user pack

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-28 Thread Sam Aaron
On Monday, 28 May 2012 at 17:59, James wrote: > Regarding Slime and Swank: I guess I don't yet understand the Clojure > distinction between "project" and "file". I've got an absolutely > trivial file that I want to test out, but it looks like Swank expects > there to be a "project.clj". (I opene

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-28 Thread James
> feedback like this is invaluable - thanks very much for taking the time to > write it. Always happy to help. > It is true - using Emacs is *not* a smooth experience. I've tried to bake in > a good number of years >experience getting Emacs to work smoothly into Emacs > Live, and whilst I don

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-28 Thread Sam Aaron
Hi John, first of all, you probably should create your own user pack for this stuff, rather than forking Emacs Live itself - that way you get to take advantage of updates with ease. Secondly, terminals, options keys, meta, OS X, is a tricksy mix. I use command key happy https://github.com/aim

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-28 Thread Sam Aaron
Hey James, feedback like this is invaluable - thanks very much for taking the time to write it. It is true - using Emacs is *not* a smooth experience. I've tried to bake in a good number of years experience getting Emacs to work smoothly into Emacs Live, and whilst I don't claim it to be 'smo

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-28 Thread Moritz Ulrich
On Mon, May 28, 2012 at 1:28 PM, James wrote: > Thirdly, when I try M-x slime I get: "Searching for program: no such > file or directory, lisp". (I have installed Leiningen2). That's expected. Slime tries to start some random Common Lisp. M-x slime isn't used for Clojure. If you've got clojure-mo

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-28 Thread James
Thanks Sam, that was very detailed and helpful. I've installed Emacs 24.0.7 and Emacs Live. It's not a smooth experience though - I don't know whether this is due to the Emacs version or something else. For one, it doesn't play very well with the OS windowing system. When I click on Emacs it doesn

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-28 Thread john
Hi Sam, I just tried "Emacs live". I'm running MAC OSX and emacs in a Terminal with the Option "use option as Meta" I have a German Keyboard Layout so I added this to init.el: (global-set-key "\M-4" '(lambda () (interactive) (insert "\\"))) (global-set-key "\M-5" '(lambda () (interactive) (ins

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-27 Thread Sam Aaron
On Sunday, 27 May 2012 at 17:48, James wrote: > Hi Sam, Emacs Live looks seriously cool, wonderful! Thanks for the kind words > however I have doubts about this: > > "Emacs live has only been tested with a terminal hosted Emacs > 24.1.50.2 (pre-release). Issues and pull-requests for this and

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-27 Thread Moritz Ulrich
I wouldn't recommend Aquamacs for GUI-Stuff on OS X. Instead, use Emacs.app from [1]. The bundle there is a vanilla build of Emacs without patches etc. that can break things. [1]: http://emacsformacosx.com/ On Sun, May 27, 2012 at 7:09 PM, Sean Neilan wrote: > NP! > > Also, it says in the guide

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-27 Thread Sean Neilan
NP! Also, it says in the guide http://batsov.com/prelude/ to run emacs from the command line. Obviously, run Aquamacs instead of the command line emacs. On Sun, May 27, 2012 at 11:57 AM, James wrote: > @Sean: All right, will give a shot. Thanks. > > / James > > On May 27, 6:45 pm, Sean Neilan

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-27 Thread James
@Sean: All right, will give a shot. Thanks. / James On May 27, 6:45 pm, Sean Neilan wrote: > You must use emacs 24! Do not use emacs 23.4! > > Use the cutting edge version of aquamacshttp://aquamacs.org/nightlies.shtml > > Aquamacs 24 works with emacs prelude with no sweat. Just delete all the >

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-27 Thread James
Hi Sam, Emacs Live looks seriously cool, however I have doubts about this: "Emacs live has only been tested with a terminal hosted Emacs 24.1.50.2 (pre-release). Issues and pull-requests for this and later versions will be happily accepted." This version isn't stable, should I go ahead and instal

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-27 Thread Sean Neilan
You must use emacs 24! Do not use emacs 23.4! Use the cutting edge version of aquamacs http://aquamacs.org/nightlies.shtml Aquamacs 24 works with emacs prelude with no sweat. Just delete all the stuff in your .emacs.d folder after installing aquamacs and try again. On Sun, May 27, 2012 at 11:26

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-27 Thread Sam Aaron
Take a look at the guts of Emacs Live: http://github.com/overtone/emacs-live in particular, check out the Clojure pack: https://github.com/overtone/emacs-live/tree/master/packs/live/clojure-pack It doesn't use the Emacs package manager either, opting to put external files in a lib directory.

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-27 Thread Lars Nilsson
On Sun, May 27, 2012 at 11:09 AM, James wrote: > Here's my init.el: > > (add-to-list 'load-path "~/.emacs.d/") > (require 'clojure-mode) > > (add-to-list 'load-path "~/.emacs.d/packages/") Perhaps you could try the following? (add-to-list 'load-path (expand-file-name ".emacs.d" "~")) (add-to-lis

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-27 Thread Moritz Ulrich
You don't need eval-buffer and package-refresh-contents. Why refresh package.el's index when you don't use it? On Sun, May 27, 2012 at 5:40 PM, James wrote: > I've removed package.el now, but am getting the same: > > M-x eval-buffer > M-x package-refresh-contents [No match] > > / James > > On May

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-27 Thread James
I've removed package.el now, but am getting the same: M-x eval-buffer M-x package-refresh-contents [No match] / James On May 27, 5:23 pm, Phil Hagelberg wrote: > If you are installing .el files by hand you don't need package.el. > > -Phil -- You received this message because you are subscribe

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-27 Thread Phil Hagelberg
If you are installing .el files by hand you don't need package.el. -Phil -- 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

Issues with installing clojure-mode on Mac in Emacs

2012-05-27 Thread James
Hi, I have GNU Emacs v 23.4 installed on Mac OS X 10.7.4. I've followed the installation instructions for clojure-mode but get stuck at the point where I have to issue the following in Emacs: M-x eval-buffer M-x package-refresh-contents The second line gives me [No match]. I have package