Non native fullscreen for OSX on emacs 24.3

by Hemant,

Since upgrading to Emacs 24.3 I have been missing ns-toggle-fullscreen. This feauture has been replaced in newer version of Emacs with native OSX fullscreen.

Needless to say native OSX fullscreen can be painful when you are on multiple monitors and even on single monitor setup I find it unusable.

After searching high and low, I found the magic variable which can make Emacs 24.3 behave like old fashioned full screen. Emacs no longer moves to a new desktop and everything works as expected:

Download nightly version of Emacs from Emacs for OSX and add following to .emacs

(setq ns-use-native-fullscreen nil)

After that, when you use toggle-frame-fullscreen Emacs should be on fullscren but you should still have access to other monitor and things should be fine and dandy!

More articles

Protecting Your LLM Applications from Prompt Injection Attacks

Learn practical techniques to defend against prompt injection attacks in AI applications with simple code examples.

Read more

How to Read a Flame Graph in Chrome DevTools

A deep, practical guide to reading flame charts in Chrome DevTools, spotting expensive functions, and validating performance improvements.

Read more

Ready to Build Something Amazing?

Codemancers can bring your vision to life and help you achieve your goals