Set up Emacs
Here is my setting of using Emacs as my major editor across OS X and Linux platform. You can refer my configuration from here.
It’s a fun experience that plays with Emacs, knowing all the shortcuts and packages. And we must also face the truth: it’s powerful, but it’s an editor. I rarely use Emacs to develop my entire project. There are better solution given by IDEs (especially for OS X, iOS applications).
MELPA (Milkypostman’s Emacs Lisp Package Archive) is an archive of Emacs packages. It’s stable and easy to use. You can setup MELPA as:
Setup for Shell Support (OS X only)
Emacs does not adapt
.profile automatically, then when you wish to call your shell an run some commands, there may some issues (I’m using Anaconda for my Python support, and I noticed this when I tried and failed to plot somethings). You can use
exec-path-from-shell to resolve this problem, the code is here. The package is also available in MELPA.
Start Full Screen, Turn Off Scroll Bar and Menu Bar
Scroll bar is a pain for the most of time and menu bar will take many spaces when you are working on a laptop. I prefer to turn off them. Furthermore, the usual way of maximizing Emacs window is not working perfectly with OS X. It always leave a slide of space on the top. So you need another way of settling this:
I would rather use
y-and-n instead of typing entire
no, would you?
There are some difference between Ubuntu’s font and OS X’s font. I then configure them differently