all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gregor Zattler <telegraph@gmx.net>
To: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Drop-down menus, popup menus, and popup dialogs supported on TTYs
Date: Wed, 9 Oct 2013 19:56:47 +0200	[thread overview]
Message-ID: <20131009175647.GA6733@boo.workgroup> (raw)
In-Reply-To: <83ob6yqu5k.fsf@gnu.org>

Hi Eli, Emacs developers,
* Eli Zaretskii <eliz@gnu.org> [09. Oct. 2013]:
>> Date: Wed, 09 Oct 2013 13:32:42 +0900 (JST)
>> Cc: emacs-devel@gnu.org
>> From: Masatake YAMATO <yamato@redhat.com>
>> 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



  parent reply	other threads:[~2013-10-09 17:56 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-08 18:24 Drop-down menus, popup menus, and popup dialogs supported on TTYs Eli Zaretskii
2013-10-08 20:18 ` chad
2013-10-09  2:42   ` Eli Zaretskii
2013-10-09  4:32 ` Masatake YAMATO
2013-10-09 16:35   ` Eli Zaretskii
2013-10-09 17:07     ` Dani Moncayo
2013-10-09 17:46     ` David De La Harpe Golden
2013-10-09 17:56     ` Gregor Zattler [this message]
2013-10-09 18:28       ` Eli Zaretskii
2013-10-09 21:26         ` Gregor Zattler
2013-10-10  2:49           ` Eli Zaretskii
2013-10-10  8:33             ` Gregor Zattler
2013-10-10  9:01               ` Andreas Schwab
2013-10-09 18:12     ` Stefan Monnier
2013-10-09 19:03       ` Eli Zaretskii
2013-10-11 17:01         ` Dani Moncayo
2013-10-11 17:46           ` Eli Zaretskii
2013-10-11 17:56             ` Dani Moncayo
2013-10-11 18:23               ` Eli Zaretskii
2013-10-11 18:32                 ` Dani Moncayo
2013-10-12  0:49                   ` Masatake YAMATO
2013-10-12  7:24                     ` Eli Zaretskii
2013-10-12  9:34                       ` Dani Moncayo
2013-10-11 18:06           ` Masatake YAMATO

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131009175647.GA6733@boo.workgroup \
    --to=telegraph@gmx.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.