Cocoa-ified Emacs Fullscreen in OSX Lion
I’ve got a mostly working patch for Homebrew’s Emacs recipe that will build Emacs with a Cocoa interface that supports OSX Lion’s new full-screen mode. I’m posting here so someone else can beat me to it. I know Emacs already has full-screen, this was definitely an exercise in yak-shaving.
It doesn’t quite fill the screen (there’s still some weird height/width calculation bits in EmacsWindow I’ve not gotten my head around yet). It also messes up the screen size when you move back out of full-screen mode.
The following gist includes the full emacs.rb recipe (which adds a command to patch with the above diff).
7 responses
I haven't, no. It's still not quite working perfectly- the full-screen doesn't actually fill the screen, and when you exit full-screen mode you need to resize to draw the status bars. I was hoping to either fix it, or, to have some other people take on the challenge before putting it into the Homebrew formula.
And to fix the resize, you can probably just implement windowDidExitFullscreen, and tell emacs to resize.
I love you, Pingles.