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: Eli Zaretskii
Subject: Re: Drop-down menus, popup menus, and popup dialogs supported on TTYs
Date: Wed, 09 Oct 2013 21:28:27 +0300

> Date: Wed, 9 Oct 2013 19:56:47 +0200
> From: Gregor Zattler <address@hidden>
> 
> (menu-bar-mode 0)
> (if (not (string-match "dumb" (getenv "TERM")))

Why do you need this test?

>     (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.

Doesn't it work with the current trunk?  I see no reason that it
shouldn't.



reply via email to

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