3 ms·
Here's the beginnings of an idea: show it only when you move the mouse near the top of the frame: (defun menu-bar-show-hide-helper () (if (< (cddr (m
by davidw 17y ago
Here's the beginnings of an idea: show it only when you move the mouse near the top of the frame:
(defun menu-bar-show-hide-helper ()
(if (< (cddr (mouse-pixel-position)) 20)
(menu-bar-mode 1)
(menu-bar-mode 0)))
(defun menu-bar-show-hide ()
(run-with-idle-timer 0.1 t 'menu-bar-show-hide-helper))
It's not quite right, as it seems to require some other event to happen before it triggers.
I went ahead and published that here, in case anyone wants to track it:
http://journal.dedasys.com/2009/11/16/emacs-fiddling-show-the-menu-bar-when-the-mouse-is-near-the-top-of-the-frame http://journal.dedasys.com/2009/11/16/emacs-fiddling-show-th...