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 st...@sanityinc.com: 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

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

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 7,

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 st...@sanityinc.com: 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

Re: Getting Started in Mac OS X Snow Leopard

2009-12-05 Thread Phil Hagelberg
Andreas Pauley apau...@gmail.com 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

Re: Getting Started in Mac OS X Snow Leopard

2009-12-04 Thread Lauri Pesonen
2009/12/2 Matthew Williams matthew.d.willi...@gmail.com: 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

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 Williamsmatthew.d.willi...@gmail.com: Using the Cocoa build of Emacs 23 (http://www.emacsformacosx.com) I was able to get up and running extremely quickly with Technomancy's

Re: Getting Started in Mac OS X Snow Leopard

2009-12-04 Thread Andreas Pauley
On Dec 4, 3:37 am, Phil Hagelberg p...@hagelb.org 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

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 lauri.peso...@iki.fi wrote: 2009/12/2 Matthew Williams matthew.d.willi...@gmail.com: 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 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

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 chromatoph...@gmail.com 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

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

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,

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 Phil Hagelberg
Andreas Pauley apau...@gmail.com 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

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

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

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,

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 guido.carba...@gmail.com 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

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 guido.carba...@gmail.com wrote: David; My problem is that I haven't been able to install the clojure-mode. What I read is

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)