[R-SIG-Mac] Aqua Emacs to use with R
Federico Calboli
f.calboli at imperial.ac.uk
Thu Jul 14 11:32:02 CEST 2005
On Wed, 2005-07-13 at 22:14 -0700, Jan de Leeuw wrote:
> 1. Carbon Emacs (updated very regularly from CVS, recommended by
Apple)
> http://home.att.ne.jp/alpha/z123/emacs-mac-e.html
>
> 2. Yaced (Yet Another Carbon Emacs) (less frequently updated, but
> comes with
> nice add-on packages)
> http://yaced.sourceforge.net/
>
> 3. Emacs on Aqua (uses Cocoa, but current version still based on
> Emacs 20.7)
> http://emacs-on-aqua.sourceforge.net/
>
> 4. Aquamacs (presumably more Mac-style)
> http://aquamacs.org/index.shtml
>
> 5. Enhanced Carbon Emacs (older version of Emacs 21.3.50 with huge
> number of add-ons).
> http://www.inf.unibz.it/~franconi/mac-emacs/
>
> 6. Carbon XEmacs (from Andrew Choi). Comes as patch file to the
> standard XEmacs distro. Which means you have to patch and build.
> http://members.shaw.ca/akochoi-xemacs/
>
Since we are at it, can anyone suggest how to remap the hash key (#)? I
have a powerbook with a UK keyboard. Normally hash (#) is <alt> 3 but
after using the following lisp to remap a few keys:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;; remap backspace on keyboard to be sane
;;
(keyboard-translate ?\C-h ?\C-?)
;;; MacOS X specific stuff
(setq mac-command-key-is-meta nil)
;; Define the return key to avoid problems on MacOS X
(define-key function-key-map [return] [13])
(global-set-key [(alt a)] 'mark-whole-buffer)
(global-set-key [(alt v)] 'yank)
(global-set-key [(alt c)] 'kill-ring-save)
(global-set-key [(alt x)] 'kill-region)
(global-set-key [(alt s)] 'save-buffer)
(global-set-key [(alt l)] 'goto-line)
(global-set-key [(alt o)] 'find-file)
(global-set-key [(alt f)] 'isearch-forward)
(global-set-key [(alt g)] 'isearch-repeat-forward)
(global-set-key [(alt w)]
(lambda () (interactive) (kill-buffer (current-
buffer))))
(global-set-key [(alt .)] 'keyboard-quit)
(global-set-key [(alt q)] 'save-buffers-kill-emacs)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I cannot use <alt> 3 to produce the hash, so I cannot comment my code (a
good thing, some would say).
Cheers,
Federico
--
Federico C. F. Calboli
Department of Epidemiology and Public Health
Imperial College, St Mary's Campus
Norfolk Place, London W2 1PG
Tel +44 (0)20 7594 1602 Fax (+44) 020 7594 3193
f.calboli [.a.t] imperial.ac.uk
f.calboli [.a.t] gmail.com
More information about the R-SIG-Mac
mailing list