How to force Emacs not use Mountain Lion's full screen style
emacs
Solution
You can do the following:
Auto-hide the menu bar using `(setq ns-auto-hide-menu-bar t)`
Hide the tool bar using `(tool-bar-mode -1)` (I haven't found it useful.)
Place the title bar above the top of the screen. Although it's not possible to drag it there, the Mac OS X port allows you to place it there programatically. For example, you could do this using: `(set-frame-position (selected-frame) 0 -24)`. Note: this requires the menu bar to be hidden.
Resize the window to the desired size, e.g. `(set-frame-size (selected-frame) 80 85)`. (Unfortunately, due to limitations in the OS, you can't manually resize the frame to be higher than the display.)
With a 6x8 font, the editing area will be 148 lines on a 1600x1200 monitor. I use two such monitors, and split my Emacs frame into six columns. By using `follow-mode`, I can see 888 consecutive lines of code.
Problem
I'm a heavy Emacs user. However, on my Mac, if I switch Emacs to fullscreen mode, it will use Mountain Lion's fullscreen style, which places Emacs on another desktop. In this fullscreen mode, the 2 top lines are wasted since I cannot use them for displaying the Emacs buffer (you can see in the picture below). Also, the animation when I change desktop is annoying. I wonder if there is any solution to force Emacs not use Mountain Lion's fullscreen style. I just want a maximize displaying area (hide the menu bar, hide the title bar,...) like when I playing video in fullscreen with VLC 1.x