unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Drop-down menus, popup menus, and popup dialogs supported on TTYs
@ 2013-10-08 18:24 Eli Zaretskii
  2013-10-08 20:18 ` chad
  2013-10-09  4:32 ` Masatake YAMATO
  0 siblings, 2 replies; 24+ messages in thread
From: Eli Zaretskii @ 2013-10-08 18:24 UTC (permalink / raw)
  To: emacs-devel

Trunk revision 114582 adds support for menus on a text-mode terminal.
Typing F10 will drop the Files menu, and you can get to the others by
using C-f/C-b and the right/left arrow keys.  Within a menu, C-n/C-p
and the up/down arrows allow navigation between items, and RET selects
an item.  Help-echo for menu items is displayed in the echo area.

If you have a mouse supported, clicking on the menu bar should drop
down the menu under the click; clicking on the mode line or on the
text area should pop up menus specific to those areas.  Navigation
within the menu and selection with a mouse work as you'd expect.

I tested this on the w32 text terminal, with and without a mouse, and
on GNU/Linux without a mouse.  Xterm-mouse still doesn't work as
expected, so there's probably something else to be done about that.

Please test on GNU/Linux terminals with GPM.  Also, I hope I didn't
break the GUI frames (other than w32, which I tested).  The NS build
is my greatest worry, as I couldn't even try compiling it.

HAVE_MENUS is now unconditionally defined by configure.  I didn't yet
remove HAVE_MENUS from the sources, because that could serve as
stopgap and temporary work-around, in case I screwed up some build.
Also, perhaps people will want to have a --without-menus option at
configure time.

This was a long journey for me, it started years ago, when I discussed
possible implementations with Gerd Moellmann (his ideas are at the
core of the implementation, see the commentary in term.c).  Now it's
over.  Enjoy the results.



^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2013-10-12  9:34 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-08 18:24 Drop-down menus, popup menus, and popup dialogs supported on TTYs Eli Zaretskii
2013-10-08 20:18 ` chad
2013-10-09  2:42   ` Eli Zaretskii
2013-10-09  4:32 ` Masatake YAMATO
2013-10-09 16:35   ` Eli Zaretskii
2013-10-09 17:07     ` Dani Moncayo
2013-10-09 17:46     ` David De La Harpe Golden
2013-10-09 17:56     ` Gregor Zattler
2013-10-09 18:28       ` Eli Zaretskii
2013-10-09 21:26         ` Gregor Zattler
2013-10-10  2:49           ` Eli Zaretskii
2013-10-10  8:33             ` Gregor Zattler
2013-10-10  9:01               ` Andreas Schwab
2013-10-09 18:12     ` Stefan Monnier
2013-10-09 19:03       ` Eli Zaretskii
2013-10-11 17:01         ` Dani Moncayo
2013-10-11 17:46           ` Eli Zaretskii
2013-10-11 17:56             ` Dani Moncayo
2013-10-11 18:23               ` Eli Zaretskii
2013-10-11 18:32                 ` Dani Moncayo
2013-10-12  0:49                   ` Masatake YAMATO
2013-10-12  7:24                     ` Eli Zaretskii
2013-10-12  9:34                       ` Dani Moncayo
2013-10-11 18:06           ` Masatake YAMATO

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).