Using GNU Emacs on MacBook (Pro)

You can download pre-compiled GNU Emacs for Mac OS X from http://emacsformacosx.com.

In order to use the Command key as Emacs’s meta key, and Option key as Emacs’ control key, add following two lines to your ~/.emacs file:

(setq mac-command-modifier 'meta)
(setq mac-option-modifier 'control)