[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Input for TTY menus
From: |
Stefan Monnier |
Subject: |
Re: Input for TTY menus |
Date: |
Fri, 18 Oct 2013 16:04:54 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
>> Both gui and terminal emacs under NS have a services menu, but only
>> the gui NS emacs is correctly populating it from the system. It
>> seems to be created in nsterm.m:ns_term_init() when the application
>> menu is created (look for svcsMenu).
>> > Also, if you invoke tmm-menubar with M-`, does the Services item
>> > appear there, and if so, can it be selected and used as you'd expect?
>> It tmm-menu does have a Services item, and it's empty there also.
> Thanks for explaining and for testing.
It sounds like there's a bug in the NS code: the menu should probably
either not exist under a tty, or be filled with appropriate elements.
>> At a guess, the NS port is creating a stub for the menubar, and
>> then moving it into the application menu in some NS gui-only code.
> I see something in nsfns.m. Perhaps some NS person could look into
> fixing this.
But the tty-menu code should also correctly handle an empty menu.
E.g. if I do:
emacs -Q -nw
M-: (global-set-key [menu-bar test] '(menu-item "Test" (keymap "Test"))) RET
f10
then f10 just tells me "Empty menu" and doesn't let me move to
another menu.
Stefan
- Re: Input for TTY menus, (continued)
- Re: Input for TTY menus, Eli Zaretskii, 2013/10/19
- Re: Input for TTY menus, Stefan Monnier, 2013/10/19
- Re: Input for TTY menus, chad, 2013/10/18
- Re: Input for TTY menus, chad, 2013/10/18
- Re: Input for TTY menus, Eli Zaretskii, 2013/10/18
- Re: Input for TTY menus, Jan Djärv, 2013/10/18
- Re: Input for TTY menus,
Stefan Monnier <=
- Re: Input for TTY menus, Eli Zaretskii, 2013/10/19
- Re: Input for TTY menus, Eli Zaretskii, 2013/10/19
- Re: Input for TTY menus, Stefan Monnier, 2013/10/19
- Re: Input for TTY menus, Eli Zaretskii, 2013/10/19
- Re: Input for TTY menus, Stefan Monnier, 2013/10/19
- Re: Input for TTY menus, Eli Zaretskii, 2013/10/19
- Re: Input for TTY menus, Jan Djärv, 2013/10/19
- Re: Input for TTY menus, Eli Zaretskii, 2013/10/19