[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some developement questions
From: |
Michael Heerdegen |
Subject: |
Re: Some developement questions |
Date: |
Thu, 06 Sep 2018 03:33:56 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
hw <address@hidden> writes:
> > Emacs cannot guess for the user when she needs or does not need a menu
> > bar or a tool bar. You have to instruct it to, somehow.
>
> Can I do that per mode? So I could have them automatically enabled when
> in info mode and automatically disabled when not? Emacs could
> automatically remember the last setting for each mode I used, so no
> additional instructing would be necessary.
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
or use a text interface to access the menu - there is a builtin one
called `tmm-menubar'. Some external packages provide different (maybe
more convenient) interfaces, e.g. Helm or Icicles.
Michael.
- Re: Some developement questions, (continued)
- Re: Some developement questions, hw, 2018/09/01
- Re: Some developement questions, Filipp Gunbin, 2018/09/03
- Re: Some developement questions, hw, 2018/09/04
- Re: Some developement questions, Filipp Gunbin, 2018/09/04
- Re: Some developement questions, hw, 2018/09/05
- Re: Some developement questions,
Michael Heerdegen <=
- RE: Some developement questions, Drew Adams, 2018/09/06
- Re: Some developement questions, Michael Heerdegen, 2018/09/06
- Re: Some developement questions, Eli Zaretskii, 2018/09/06
- RE: Some developement questions, Drew Adams, 2018/09/06
- Re: Some developement questions, hw, 2018/09/07
- Re: Some developement questions, Eli Zaretskii, 2018/09/06
- Re: Some developement questions, hw, 2018/09/07
- Re: Some developement questions, Filipp Gunbin, 2018/09/06
- Re: Some developement questions, hw, 2018/09/07
- Re: Some developement questions, Filipp Gunbin, 2018/09/07