Re: Getting Started in Mac OS X Snow Leopard

2009-12-07 Thread Steve Purcell
On 7 Dec 2009, at 11:15, Lauri Pesonen wrote: > 2009/12/4 Steve Purcell : >> >> Here's what I do (in Cocoa Emacs 23) to make 'option' work the same in Emacs >> as in other OS X apps: >> >> (setq mac-command-modifier 'meta) >> (setq mac-option-modifier 'none) >> (setq default-input-method "Mac

Re: Getting Started in Mac OS X Snow Leopard

2009-12-07 Thread Lauri Oherd
Sorry, pressed send button too fast - here is correct elisp code: (global-set-key (kbd "M-3") (lambda (&optional n) (interactive "p") (let ((last-command-event 35)) (self-insert-command n On Mon, Dec

Re: Getting Started in Mac OS X Snow Leopard

2009-12-07 Thread Lauri Oherd
I have a Macbooc Pro with Sweden keyboard so had a little different issues here - by default not possible to type characters {[]} on Carbon Emacs. I solved it by adding the following to my .emacs file: ;; paredit-mode (add-to-list 'load-path (expand-file-name "~/.emacs.d/paredit")) (autoload 'par

Re: Getting Started in Mac OS X Snow Leopard

2009-12-07 Thread Lauri Pesonen
Thanks everyone for the recommendations. 2009/12/4 Steve Purcell : > > Here's what I do (in Cocoa Emacs 23) to make 'option' work the same in Emacs > as in other OS X apps: > >  (setq mac-command-modifier 'meta) >  (setq mac-option-modifier 'none) >  (setq default-input-method "MacOSX") Hmm, I'v

Re: Getting Started in Mac OS X Snow Leopard

2009-12-05 Thread Phil Hagelberg
Andreas Pauley writes: > GNU Emacs 22.3.2 (i386-apple-darwin9.5.0, Carbon Version 1.6.0) > of 2008-09-22 on plume.sr.unh.edu - Aquamacs Distribution 1.5 > > I deleted the .swank-clojure/ dir in my home directory and tried M-x > slime again. > It seems that this error occurs if the download fails

Re: Getting Started in Mac OS X Snow Leopard

2009-12-04 Thread Charras
That was the same problem it gave me. When I follow those steps. Since you already install some stuff, what I did was erase the ~/.emcas.d/ folder (rm -r ~/.emacs.d) and the ~/src/ folder (I don't remember what, but something got installed there form clojure, and that was the only thing I had ther

Re: Getting Started in Mac OS X Snow Leopard

2009-12-04 Thread Andreas Pauley
On Dec 3, 7:45 pm, christophe mckeon gonzalez de leon wrote: > you might want to try watching peepcode's emacs video. > he suggests using the carbon emacs port. i'm not sure > if i'll be going with that or with the plain terminal version, > i'm just getting acquainted with emacs myself. Thanks,

Re: Getting Started in Mac OS X Snow Leopard

2009-12-04 Thread Steve Purcell
On 4 Dec 2009, at 09:41, Lauri Pesonen wrote: > How do you type ''#' in the Cocoa build of Emacs 23 (I'm on a UK > keyboard and in OS X apps I type option-3 to get'#')? Aquamacs has a > mode where option-3 is interpreted as '#' rather than a meta-3 which > takes care of my problem, but I haven't f

Re: Getting Started in Mac OS X Snow Leopard

2009-12-04 Thread Andreas Pauley
On Dec 4, 3:37 am, Phil Hagelberg wrote: > So this is a problem with the auto-download of Clojure jars that > swank-clojure attempts. It looks like it's having trouble downloading > and is unable to clean up after itself, but I can't reproduce it. What > version of Emacs are you using? GNU Emac

Re: Getting Started in Mac OS X Snow Leopard

2009-12-04 Thread John Harrop
On Fri, Dec 4, 2009 at 4:41 AM, Lauri Pesonen wrote: > 2009/12/2 Matthew Williams : > > Using the Cocoa build of Emacs 23 (http://www.emacsformacosx.com) I > > was able to get up and running extremely quickly with Technomancy's > > swank-clojure install. > > This is very much off-topic, but... >

Re: Getting Started in Mac OS X Snow Leopard

2009-12-04 Thread mccraigmccraig
use the u.s. keyboard map. #/£ is the only difference [i've yet discovered] Lauri Pesonen wrote: > 2009/12/2 Matthew Williams: >> Using the Cocoa build of Emacs 23 (http://www.emacsformacosx.com) I >> was able to get up and running extremely quickly with Technomancy's >> swank-clojure install. > >

Re: Getting Started in Mac OS X Snow Leopard

2009-12-04 Thread Lauri Pesonen
2009/12/2 Matthew Williams : > Using the Cocoa build of Emacs 23 (http://www.emacsformacosx.com) I > was able to get up and running extremely quickly with Technomancy's > swank-clojure install. This is very much off-topic, but... How do you type ''#' in the Cocoa build of Emacs 23 (I'm on a UK ke

Re: Getting Started in Mac OS X Snow Leopard

2009-12-03 Thread Phil Hagelberg
Andreas Pauley writes: > It looks like Clojure is not installed. Install now? (y or n) > Loading url...done > Loading url-auth...done > Contacting host: repo.technomancy.us:80 > Loading url-cache...done > Loading mail-utils...done > Reading [text/plain]... 571k of 571k (100%) > Loading arc-mode..

Re: Getting Started in Mac OS X Snow Leopard

2009-12-03 Thread christophe mckeon gonzalez de leon
you might want to try watching peepcode's emacs video. he suggests using the carbon emacs port. i'm not sure if i'll be going with that or with the plain terminal version, i'm just getting acquainted with emacs myself. http://www.apple.com/downloads/macosx/unix_open_source/carbonemacspackage.html

Re: Getting Started in Mac OS X Snow Leopard

2009-12-03 Thread Andreas Pauley
Hi all, I followed the above swank-clojure instructions using both Aquamacs and the plain emacs for Mac OS X on my Leopard Macbook. I also tried it on an Ubuntu (Hardy) desktop. In all of these cases the process fails when slime tries to connect to the Lisp interpreter. Just to be explicit, here

Re: Getting Started in Mac OS X Snow Leopard

2009-12-02 Thread Charras
Matthew; Thank you! Now I'm being able to program with Clojure. This was the route I should have use from the begging. Aquamacs is not very suitable for ELPA installations. Anyone who wants to use Clojure in Emacs, in a Mac OS X computer should follow this instructions. It's very easy. Guido On

Re: Getting Started in Mac OS X Snow Leopard

2009-12-02 Thread Matthew Williams
Using the Cocoa build of Emacs 23 (http://www.emacsformacosx.com) I was able to get up and running extremely quickly with Technomancy's swank-clojure install. http://technomancy.us/swank-clojure After just a few minutes I was in the REPL and ready to go. Good luck! On Nov 30, 8:32 pm, Charras

Re: Getting Started in Mac OS X Snow Leopard

2009-12-02 Thread Johann Hibschman
On Dec 1, 3:59 pm, Charras wrote: > Steve, I already try to follow does instructions. I copied the text > into the *scratch* buffer, and did control j (C-j), but nothing > happen, it just move the cursos to the next line. Do you know how can > I make Aquamacs eval the *scratch* buffer? 'Cause I th

Re: Getting Started in Mac OS X Snow Leopard

2009-12-01 Thread Giancarlo Angulo
I also had trouble installing elpa I went the more roundabout route. What I did was download clojuremode.el here: http://github.com/technomancy/clojure-mode I got this code snippet (add-to-list 'load-path "~/clojure/clojure-mode") > (setq inferior-lisp-program "clj") > (require 'clojure-mode)

Re: Getting Started in Mac OS X Snow Leopard

2009-12-01 Thread Jason
in Aquamacs try coping the code on the ELPA install page and then eval'ing with C-x-e (hold down control key, then type x key and then e key) On Dec 1, 2:30 pm, Charras wrote: > David; > > My problem is that I haven't been able to install the clojure-mode. > What I read is that this is done usin

Re: Getting Started in Mac OS X Snow Leopard

2009-12-01 Thread David Nolen
http://tromey.com/elpa/install.html Just follow the instructions here. They are pretty clear. David On Tue, Dec 1, 2009 at 5:30 PM, Charras wrote: > David; > > My problem is that I haven't been able to install the clojure-mode. > What I read is that this is done using ELPA, but that means tha

Re: Getting Started in Mac OS X Snow Leopard

2009-12-01 Thread Steve Purcell
On 1 Dec 2009, at 22:03, David Nolen wrote: > On Tue, Dec 1, 2009 at 3:59 PM, Charras wrote: > Steve, I already try to follow does instructions. I copied the text > into the *scratch* buffer, and did control j (C-j), but nothing > happen, it just move the cursos to the next line. Do you know how

Re: Getting Started in Mac OS X Snow Leopard

2009-12-01 Thread Charras
David; My problem is that I haven't been able to install the clojure-mode. What I read is that this is done using ELPA, but that means that I need to install ELPA as well, and this make things even worse, now I have two things that I can't install. Do you have a different way to do this? If so, p

Re: Getting Started in Mac OS X Snow Leopard

2009-12-01 Thread David Nolen
On Tue, Dec 1, 2009 at 3:59 PM, Charras wrote: > Steve, I already try to follow does instructions. I copied the text > into the *scratch* buffer, and did control j (C-j), but nothing > happen, it just move the cursos to the next line. Do you know how can > I make Aquamacs eval the *scratch* buffe

Re: Getting Started in Mac OS X Snow Leopard

2009-12-01 Thread Charras
Steve, I already try to follow does instructions. I copied the text into the *scratch* buffer, and did control j (C-j), but nothing happen, it just move the cursos to the next line. Do you know how can I make Aquamacs eval the *scratch* buffer? 'Cause I think that's my problem. Guido On Dec 1, 7:

Re: Getting Started in Mac OS X Snow Leopard

2009-12-01 Thread Steve Purcell
The installation page for ELPA tells you how to install ELPA itself and to show a list of installable packages: http://tromey.com/elpa/install.html That should work fine in Aquamacs. When you've got as far as the package list, press 'i' next to the clojure entry, then "x". These steps should ge

Getting Started in Mac OS X Snow Leopard

2009-12-01 Thread Charras
Hello; I already install Clojure using MacPorts, and I can use it with clj. But the environment is not what I will like. I'm trying to set up clojure, so I can use it in Aquamacs. I already download the clojure- mode.el, in there says that I can install it using ELPA, but I don't know how to insta