Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

On Windows and Ubuntu I use GNU EMACS, but FSF doesn't provide binaries for the Mac

I have a decent version that came with Snow Leopard, but just running in the bash terminal. Is there a version that runs in a standalone window and is more Mac friendly?

I downloaded EMACS Cocoa from Macports, but it didn't compile.

share|improve this question

11 Answers

up vote 26 down vote accepted

I tried Aquamacs, but found that it tried too hard to be Mac-like. This is probably good if you're a Mac user who is new to Emacs.

If you're an Emacs user new to Macs (like I was a couple years ago), you'll probably be more comfortable with Mac specific builds of standard Emacs. I get mine from Emacs for Mac OS X. Try the standard build on the home page, or click on the "Other Versions" button for more options. I've been using the latest pretest version for 6-12 months without problems.


If you really want to be studly and build your own copy, look at the hints on the Emacs wiki page for Mac OS X. Note, in particular, that you want to build with options for nextstep and not cocoa or carbon:

./configure --with-ns
make
make install
share|improve this answer
I am a very new mac user and a fairly old emacs user, so building my own sounds ideal. Thanks for the tip about ns. – justinhj May 7 '10 at 20:54
In emacs for Mac OS X there is no preference to set the meta key to command (a must in no english keyboard, since we use a lot the alt key). Plus, there's no documentation at all. Can you give me some info to solve this issues? I would like to use it :) Thanks. – volothamp Jan 1 '11 at 16:14
Found by myself: superuser.com/questions/160150/… – volothamp Jan 1 '11 at 18:14

This is an older thread, but I came across it when I was looking to see if there were new developments in OSX emacs distributions. If you are using homebrew, you can install the latest version of cocoa emacs with:

brew install emacs --HEAD --cocoa --srgb

Note that you need to have bazaar installed. Alternatively, you can install it from the git mirror with --use-git-head

share|improve this answer

Have a look at Aquamacs, which should be what you're looking for.

share|improve this answer

If you install MacPorts, you can install a decent build of emacs, and easily keep it updated. This has the advantage of giving you easy access to a bunch of other packages if you want them.

share|improve this answer

Well I use vanilla emacs with the ns patch but with this settings

(setq mac-command-modifier 'meta)
(setq mac-option-modifier nil)
(setq ns-function-modifier 'hyper)

;; keybinding to toggle full screen mode
(global-set-key (quote [M-f10]) (quote ns-toggle-fullscreen))

(add-to-list 'ido-ignore-files "\\.DS_Store")

;; Move to trash when deleting stuff
(setq delete-by-moving-to-trash t
      trash-directory "~/.Trash/emacs")

I got them from the guy from emacs rocks github I think. That way I get to use ยด and other option characters as in any other application and also have a more familiar placement of the Meta Key (I have capslock as ctrl btw)

Also

(setq x-select-enable-clipboard t)

So I can copy and paste into emacs (ie. I cmd+c on chrome and C-y on emacs to paste and viceversa C-w cmd+v)

share|improve this answer

macports has several variants of emacs available:

emacs has the variants:
   gtk: Builds emacs as an X11 program with GTK+2 widgets
     * requires x11
   motif: Builds emacs as an X11 program with Motif widgets
     * requires x11
   universal: Build for multiple architectures
   x11: Builds emacs as a X11 program with Lucid widgets

There's also a Cocoa emacs:

emacs-app @23.1 (aqua, editors)
    The GNU Emacs text editor (Cocoa version)
share|improve this answer
This is the one that didn't build for me. I'll see if I can post the errors up some time – justinhj May 7 '10 at 20:55

Since you're on Snow Leopard, emacs-app from MacPorts won't compile, but emacs-app-devel will!

share|improve this answer

Personally use carbon emacs 'cos it's the one that hasn't been adulterated with annoying tabs and looks the most like the original one. http://www.emacswiki.org/emacs/CarbonEmacsPackage

One tip, if you're using spaces, is to change the switch between windows to be something other than ctrl-arrow, because every time you try and do wordwise tab in emacs it will take you to a different window which gets a little wearing after a while.

Fonts support is a bit limited with carbon emacs, which I haven't yet got round to having a fight with it about.

share|improve this answer

Have a look at http://www.sanityinc.com/full-screen-support-for-cocoa-emacs-on-osx for typster's git repo and patches to cocoa emacs with full screen support that built just fine for me. (I don't use ports or fink, now using homebrew)

share|improve this answer

I use iTerm2 combined with Kieran Healy's Emacs Starter Kit for the Social Sciences + a alias in my .bash_profileto utilize the newest version of emacs for Mac OSX; alias emacs='/Applications/Emacs.app/Contents/MacOS/Emacs -nw'

share|improve this answer

After years of using EMACS on various UNIXes, Linux, FreeBSD, OS/2 and Windows, I finally stopped... I've been using Smultron instead. I found the Cocoa version of EMACS didn't really integrate that well with Mac OS, and didn't "feel" like normal EMACS for me.

Most of my development is done in specialized IDEs (XCode, Unity or Eclipse) these days, so I don't usually miss EMACS. Then again, I never managed to use EMACS as my OS, just as a text editor. :-)

Eddie is another decent free programmer's text editor for OS X.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.