[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: F10 → menu
From: |
Jean-Christophe Helary |
Subject: |
Re: F10 → menu |
Date: |
Sun, 28 May 2017 23:42:01 +0900 |
> On May 28, 2017, at 23:33, John Ankarström <john@ankarstrom.se> wrote:
>
> Thus, to achieve the functionality you want (which seems to be
> opening the menu in the top-left corner of the window?), the
> following function would do it:
>
> --8<---------------cut here---------------start------------->8---
> (defun menu-bar-open-top-left ()
> (interactive)
> (popup-menu (mouse-menu-bar-map) (list '(0 0) (selected-frame))))
>
> (global-set-key (kbd "<C-f2>") #'menu-bar-open-top-left)
> --8<---------------cut here---------------end--------------->8---
>
> Hope that works for you.
It definitely does. Thank you very much.
It's already late here, but I think I'll be checking how to use that instead of
the right-click contextual menu that only displays opened buffers.
Jean-Christophe
- F10 → menu, Jean-Christophe Helary, 2017/05/24
- Re: F10 → menu, Alexis, 2017/05/25
- Re: F10 → menu, Eli Zaretskii, 2017/05/25
- Re: F10 → menu, Jean-Christophe Helary, 2017/05/28
- Re: F10 → menu, Jean-Christophe Helary, 2017/05/28
- Re: F10 → menu, John Ankarström, 2017/05/28
- Re: F10 → menu, Jean-Christophe Helary, 2017/05/28
- Re: F10 → menu, John Ankarström, 2017/05/28
- Re: F10 → menu,
Jean-Christophe Helary <=
- Re: F10 → menu, John Ankarström, 2017/05/28
- Re: F10 → menu, Jean-Christophe Helary, 2017/05/28
- Re: F10 → menu, John Ankarström, 2017/05/28
- Re: F10 → menu, John Ankarström, 2017/05/28
- Re: F10 → menu, Jean-Christophe Helary, 2017/05/28