[OS X Emacs] Hiding menu bar without fullscreen

David Reitter david.reitter at gmail.com
Wed Feb 18 21:56:53 EST 2009

Hello Yang Guo,

applications running without a menu bar aren't really typical on OS X.
Emacs (and also Aquamacs) don't support this property, but we'll take  
this into account once we have a working Cocoa Aquamacs.   If you or  
somebody else supplied a patch, then I'd be happy to apply it.

For now, you can probably use mac-hide-menu-bar together with a mod of  
the function bound to the Apple Event that should be called when the  
application regains focus:

(defun aquamacs-de-iconify-some-frame (event)
   (interactive "e")
; no operation)

Hope that helps
- David

http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and  
support the Aquamacs Project!

On 18 Feb 2009, at 16:21, yang guo wrote:

> I recently started using Aquamacs and I like it a lot.
> Is there a way to hide the mac osx menu bar properly?  For other  
> apps, I can edit the Info.plist to set LSUIPresentationMode to "4".   
> The procedure is described in detail at http://www.macworld.com/article/55321/2007/02/hidemenubar.html 
> .  Aquamacs seems to ignore this setting.
> I also found the related Aquamacs functions, though neither does  
> exactly what I need:
> mac-hide-menu-bar: Hides the menu bar, but it reappears after  
> Aquamacs loses, then regains focus.
> aquamacs-toggle-full-frame: Hides the menu bar, but also does full  
> screen which I don't want.
> Is there a quick way to permanently hide the menu bar when using  
> Aquamacs?  Thanks.
> Yang Guo
> _____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs at email.esm.psu.edu
> http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2193 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20090218/34f19bbc/attachment.p7s>

More information about the MacOSX-Emacs mailing list