From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Some developement questions Date: Thu, 06 Sep 2018 16:52:09 +0300 Message-ID: <831sa6ybqu.fsf@gnu.org> References: <87sh36inql.fsf@himinbjorg.adminart.net> <837ekhb2me.fsf@gnu.org> <87zhxcbmtr.fsf@himinbjorg.adminart.net> <83in409lub.fsf@gnu.org> <871sanb71j.fsf@himinbjorg.adminart.net> <87k1oeaofu.fsf@ada> <20180825103413.gbm5stsl67j6weow@Ergus> <87k1od7vzf.fsf@himinbjorg.adminart.net> <83wosd5h3x.fsf@gnu.org> <871sakzssu.fsf@himinbjorg.adminart.net> <83bm9n6f7d.fsf@gnu.org> <87tvneql3i.fsf@himinbjorg.adminart.net> <83o9dl2oob.fsf@gnu.org> <87y3coopyf.fsf@himinbjorg.adminart.net> <8736uvmn44.fsf@himinbjorg.adminart.net> <87y3chqre4.fsf@toy.adminart.net> <87va7j65s6.fsf@toy.adminart.net> <87k1nzxvcr.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1536241814 18106 195.159.176.226 (6 Sep 2018 13:50:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 6 Sep 2018 13:50:14 +0000 (UTC) Cc: hw@adminart.net, fgunbin@fastmail.fm, emacs-devel@gnu.org To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 06 15:50:09 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fxufh-0004ao-MK for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2018 15:50:09 +0200 Original-Received: from localhost ([::1]:33549 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fxuho-00015E-5m for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2018 09:52:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fxuhh-0000zG-Px for emacs-devel@gnu.org; Thu, 06 Sep 2018 09:52:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fxuhe-0001hz-Kh for emacs-devel@gnu.org; Thu, 06 Sep 2018 09:52:13 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fxuhe-0001hi-GO; Thu, 06 Sep 2018 09:52:10 -0400 Original-Received: from [176.228.60.248] (port=2065 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fxuhe-0003oc-3b; Thu, 06 Sep 2018 09:52:10 -0400 In-reply-to: <87k1nzxvcr.fsf@web.de> (message from Michael Heerdegen on Thu, 06 Sep 2018 03:33:56 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:229345 Archived-At: > From: Michael Heerdegen > Date: Thu, 06 Sep 2018 03:33:56 +0200 > Cc: Filipp Gunbin , emacs-devel@gnu.org > > Before considering that, note that you don't need to use the menu bar to > access the menu bar menu. You can make the menu accessible as a pop up > menu like in > > #+begin_src emacs-lisp > (defun my-mouse-menu-bar-menu () > (interactive) > (popup-menu `("Do" ("Menu Bar" ,@(mouse-menu-bar-map))))) > > (global-set-key [(control down-mouse-3)] #'my-mouse-menu-bar-menu) > #+end_src When the menu-bar is disabled, C-mouse-3 pops up the same menu as a popup, so no Lisp is necessary to get to the global menus. > or use a text interface to access the menu - there is a builtin one > called `tmm-menubar'. Emacs nowadays supports menus even on TTY frames, so no need to use tmm-menubar (unless one wants to, of course).