Active Menu toggles the display of the menu bar automatically when the mouse comes close to it. Otherwise you get one more line of code
The basic idea and implementation of ActiveMenu were done by me (StefanKamphausen) and ClausBrunzema polished the code, made it really usable and hosted it for some years. Recently (early 2007) I took over the project again, wrote another back end and ported it to Gnu Emacs. Since then it is work in progress and not totally stable but it starts getting usable in Gnu Emacs so it might as well be published.
;; If you turn active-menu on and off frequently, you might want to use ;; (autoload 'active-menu "active-menu" "Show menu only when mouse is at the top of the frame." t)
Adjust active-menu-frame-compensation and active-menu-scroll-compensation as needed.
The source code mentions some problems and I would really appreciate any help I could get here. Please see “Bugs and Ugliness” in the file.
You should be using the ‘track-Backend right now because the timer backend does not work yet. In Gnu Emacs using
(setq track-mouse t) (define-key global-map [mouse-movement] 'active-menu-track-menubar-maybe-show)
does not seem the way to go, though.