From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Drop-down menus, popup menus, and popup dialogs supported on TTYs Date: Wed, 09 Oct 2013 21:28:27 +0300 Message-ID: <8361t6qoxg.fsf@gnu.org> References: <831u3vsjrf.fsf@gnu.org> <20131009.133242.7368376887673130.yamato@redhat.com> <83ob6yqu5k.fsf@gnu.org> <20131009175647.GA6733@boo.workgroup> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1381343334 17687 80.91.229.3 (9 Oct 2013 18:28:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Oct 2013 18:28:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: Gregor Zattler Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 09 20:28:57 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VTyVF-0006WC-5L for ged-emacs-devel@m.gmane.org; Wed, 09 Oct 2013 20:28:57 +0200 Original-Received: from localhost ([::1]:43272 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTyVE-00058F-NH for ged-emacs-devel@m.gmane.org; Wed, 09 Oct 2013 14:28:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTyV4-00051t-Iw for emacs-devel@gnu.org; Wed, 09 Oct 2013 14:28:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTyUx-0000XA-9m for emacs-devel@gnu.org; Wed, 09 Oct 2013 14:28:46 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:63275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTyUx-0000Wu-27 for emacs-devel@gnu.org; Wed, 09 Oct 2013 14:28:39 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MUE00100ZACX100@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Wed, 09 Oct 2013 21:28:30 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MUE001CHZBIQX70@a-mtaout20.012.net.il>; Wed, 09 Oct 2013 21:28:30 +0300 (IDT) In-reply-to: <20131009175647.GA6733@boo.workgroup> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164046 Archived-At: > Date: Wed, 9 Oct 2013 19:56:47 +0200 > From: Gregor Zattler > > (menu-bar-mode 0) > (if (not (string-match "dumb" (getenv "TERM"))) Why do you need this test? > (global-set-key (kbd "") > (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.