When running the GNU Emacs on Mac OS (either from Emacs for OS X or from emacs-app on MacPorts) when I double-click the title bar, first the window maximizes vertically. When I double-click it again, it maximizes horizontally. By "maximize" I mean it occupies available screen space but still leaves the menu bar visible; this is not the MacOS "full screen" feature.

However when I use the Mitsuharu Yamamoto Emacs Mac port (I use the one from MacPorts, emacs-mac-app) double-clicking the title bar alternates between maximized vertically and not maximized vertically. It does no horizontal maximizing.

Is there any way to make the Mitsuharu Yamamoto Emacs have the same zooming behavior as the vanilla GNU one?

1 Answer 1


You asked my question!

I find this answer on Emacs Wiki.

Both M-x toggle-frame-fullscreen or M-x toggle-frame-maximized (M-<f10>) are available without having to define a function from below.

It works on my machine.

To make double-click works, we have to find a way to link the double-click event with one of these functions. I don't know how to do it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.