emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drop-down menus, popup menus, and popup dialogs supported on TTYs


From: Gregor Zattler
Subject: Re: Drop-down menus, popup menus, and popup dialogs supported on TTYs
Date: Wed, 9 Oct 2013 19:56:47 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hi Eli, Emacs developers,
* Eli Zaretskii <address@hidden> [09. Oct. 2013]:
>> Date: Wed, 09 Oct 2013 13:32:42 +0900 (JST)
>> Cc: address@hidden
>> From: Masatake YAMATO <address@hidden>
>> I'd like to report one thing I found during test.
>> pressing <f10> shows nothing if menu-bar-mode is off.
>> It is nice if menu-bar is shown temporary and automatically.
 
> Hmm... do people really want to have menus when the menu bar is turned
> off?  I thought they disable the menu bar because they don't want any
> menus at all.

I want to save screen real estate and therefore hide the menu bar
but like to use F10 to temporarily show the menu bar and open
it like so:

(menu-bar-mode 0)
(if (not (string-match "dumb" (getenv "TERM")))
    (global-set-key (kbd "<f10>") 
                    (lambda ()
                      "open/close menu-bar"
                      (interactive)
                      (if menu-bar-mode
                          (menu-bar-mode 0)
                        (progn (menu-bar-mode 1) (menu-bar-open))))))

It would be nice if something like this worked on TTYs with real menus.

Thanks, Gregor



reply via email to

[Prev in Thread] Current Thread [Next in Thread]