Live data from Hacker News

Ask HN: Emacs users on OS X, what's your setup?

news.ycombinator.com

11–20 of 66 posts

Re: Ask HN: Emacs users on OS X, what's your setup?

#11
Cocoa Emacs.app built from CVS - followed instructions from here: http://www.emacswiki.org/emacs/EmacsForMacOS

Scroll down to section 'Build from source' - note the comment to build from the 'nextstep' directory. I just followed the instructions in 'nextstep/INSTALL')

This is working for me, so far... a good way to get a 'vanilla' install.

Re: Ask HN: Emacs users on OS X, what's your setup?

#14
I use the native OSX emacs in the terminal with the fonts increased a fair bit. It loads really fast (~ 1 second) I tried Aquamacs but didn't like the fact that it was significantly slower when starting. I'm a new emacs user so I don't really see the need for all the bells and whistles the larger packages tend to offer. If I need anything I just install it from emacswiki.org. Also I found dotfiles.com quite useful for customising my setup.

Re: Ask HN: Emacs users on OS X, what's your setup?

#15
I long used emacs in X11, but recently switched to Aquamacs out of sheer laziness - not wanting to recompile emacs+gtk for my new intel mac. I've tried all the various ports, and Aquamacs is my favorite 'native' port, but I actually miss the X11+gtk build I used before. There's something to be said for an emacs that feels like emacs :)

I agree that the option key is no good as Meta - Cmd is Meta in my setup.

I absolutely override the Mac keybindings. I like having M-Q as fill-paragraph, and I found that other useful commands were being hijacked by useless OS X Text Services (like M-> for end of buffer got stolen by OmniOutliner)

I have a large 1920x1200 display that I tend to use with one emacs frame maximized, and some arrangement of windows inside that frame - most often I have a full height window on the left, and two half-height windows on the right. Sometimes I use three columns of windows, and other times four equal-sized windows makes sense.

One of those windows is almost always running zsh inside ansi-term (M-x ansi-term). Some prefer shell-mode, but I think ansi-term and zsh are more useful. I don't think shell-mode and zsh cooperate too well.

Most of my work is done in python, and I just started using pymacs and ropemacs, which seem useful. Notes on them are here: http://www.enigmacurry.com/2008/05/09/emacs-as-a-powerful-py...

Re: Ask HN: Emacs users on OS X, what's your setup?

#16
I use Terminal-based Emacs exclusively. Couldn't stand all the "distractions" (bells and whistles) of Aquamacs. But, more importantly, with this mode I can use Emacs everywhere, including my servers over ssh, with exactly the same setup.

I bind Option to Meta in Terminal.app and that works very well.

Re: Ask HN: Emacs users on OS X, what's your setup?

#17
carbon-emacs. It's my first emacs ( I never used emacs on unix or NT). Carbon-Emacs seemed to keep more with emacs' UI guidelines compared to aquamacs. Note I think I'm running carbon emacs, I run the one with the purple logo.

I have the option key (windows key on this keyboard) mapped to Hyper. I use Hyper to navigate around emacs. H-(n|p|b|f) move up, down, left, or right one window in a frame

H-(N|P|B|F) change the size of the current window height/width

other hyper bindings open apps that I use regularly (shell, anything, sql)

Re: Ask HN: Emacs users on OS X, what's your setup?

#18
post #16

I use Terminal-based Emacs exclusively. Couldn't stand all the "distractions" (bells and whistles) of Aquamacs. But, more importantly, with this mode I can use Emacs everywhere, including my servers over ssh, with exactly the same setup. I bind Option to Meta in Terminal.app and that works very well.

(defun remove-distractions () (set-frame-parameter nil 'fullscreen 'fullboth))

Re: Ask HN: Emacs users on OS X, what's your setup?

#19
post #16

I use Terminal-based Emacs exclusively. Couldn't stand all the "distractions" (bells and whistles) of Aquamacs. But, more importantly, with this mode I can use Emacs everywhere, including my servers over ssh, with exactly the same setup. I bind Option to Meta in Terminal.app and that works very well.

Terminal > Preferences > Settings > Keyboard > select the 'Use option as meta key' checkbox

Re: Ask HN: Emacs users on OS X, what's your setup?

#20
I use GNU Cocoa Emacs built from source. This port does the most common cmd-x,c,v,q etc, which helps me transition. I'm typing on an IBM Model M attached to my Mac, so I've mapped CAPS to Command to maintain that key. I'm fine with the placement of the ctrl and option keys.

My config is at http://www.github.com/marten/emacs.d/ It contains a couple of useful fixes (such as Cocoa apps not getting the PATH var from the shell). It's got plenty comments. I should try turning more stuff into autoloads, I'm finding it on the slow side to start up right now.

Post reply on HN