unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Pavel@Janik.cz (Pavel Janík)
Subject: Re: C-l while in menu?
Date: Mon, 22 Apr 2002 10:55:26 +0200	[thread overview]
Message-ID: <m3ofgcf6yp.fsf@Janik.cz> (raw)
In-Reply-To: <200204220746.g3M7kvY01878@aztec.santafe.edu> (Richard Stallman's message of "Mon, 22 Apr 2002 01:46:57 -0600 (MDT)")

   From: Richard Stallman <rms@gnu.org>
   Date: Mon, 22 Apr 2002 01:46:57 -0600 (MDT)

   >        > It might not be easy to find key bindings for it, though.
   > 
   >     I think it is very easy. We should use F10, and invent new variable
   >     f10-should-use-tmm (this is only idea to exactly describe its meaning...)
   >     defaulting to nil.
   > 
   > What key bindings does XEmacs use for this feature?
   > Maybe we should use the same ones, if there is no disadvantage.

To say the truth, I could not find the key that pop-up the menu in
XEmacs :-( I can not download newer version of XEmacs, because I'm at home
these days (illness, slow and rather expensive Internet connection). I've
tested xemacs-21.5.5.tar.gz but I did not find it :-( Can anyone help me
with this?

   > Another menu feature that users have asked for is a way to display
   > proper-looking menus on ttys.  The idea is that they would look as
   > much like X toolkit menus as is possible on a tty.  These menus could
   > be implemented in xdisp.c by overwriting the menu contents into the
   > desired glyphs array for the frame.  (There is just one glyphs array
   > for an entire frame, on a tty.)
   > 
   > These menus could be controlled by the same tty commands that you
   > are implementing in menus under X.
   > 
   > This way we could replace tmm completely.

Yes, this is already in TODO. I will see what I can do with it.


   From: Miles Bader <miles@lsi.nec.co.jp>
   Date: 22 Apr 2002 10:27:43 +0900

   > Pavel@Janik.cz (Pavel Janík) writes:
   > > The first part of this is done (keyboard can control menu, no shortcuts
   > > yet). I will commit it in a moment. Changes are:
   > 
   > I just tried it, it seems very cool.
   > 
   > Now if only F10 would pop up a real menu on X instead of the tmm loser
   > menus...

;-) I have already wrote that to xlwmenu.c as FIXME:

/* FIXME: Should F10 enter to menu?  Which one?  File?  */


   From: Eli Zaretskii <eliz@is.elta.co.il>
   Date: Mon, 22 Apr 2002 09:09:08 +0300 (IDT)

   > On 22 Apr 2002, Miles Bader wrote:
   > 
   > > Now if only F10 would pop up a real menu on X instead of the tmm loser
   > > menus...
   > 
   > Yes.  In fact, I find support for keyboard keys in the menus rather 
   > pointless without being able to pop up the menu via the keyboard.  Why 
   > would someone click the mouse to drop down a menu, then move the arm to 
   > the keyboard to continue?

This is the first step.

BTW - I have some questions/issues about the current code (they are also in
xlwmenu.c file). What do you think about them?

1. This is mainly about Options menu. Do you agree with it?

/* FIXME: Space should toggle toggleable menu item but not remove the menu
   so you can toggle the next one without entering the menu again.  */


2. Some GUI programs use ESC to get rid of the whole menu, some use it to
   get rid of the last pane of sub menus. What should we do. I have chosen
   the first one, because Left can be used to get the second one. OK?

/* FIXME: Should ESC close one level of menu structure or the complete menu?  */


3. I see that many of developers think that `yes' is the correct answer to
this question ;-)

/* FIXME: Should F10 enter to menu?  Which one?  File?  */


4.  This issue is pure FIXME, I hope that Jan will do that.

/* FIXME: Grab keyboard when in menu.  */

-- 
Pavel Janík

Don't compare floating point numbers just for equality.
                  --  The Elements of Programming Style (Kernighan & Plaugher)

  reply	other threads:[~2002-04-22  8:55 UTC|newest]

Thread overview: 93+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m3k7rjoamp.fsf@Janik.cz>
     [not found] ` <200204072343.g37NhIC20114@aztec.santafe.edu>
2002-04-19 18:58   ` C-l while in menu? Pavel Janík
2002-04-20 17:27     ` Richard Stallman
2002-04-20 21:06       ` Pavel Janík
2002-04-21 11:17         ` Gerd Moellmann
2002-04-21 13:23           ` Pavel Janík
2002-04-21 14:04             ` Gerd Moellmann
2002-05-08 14:38           ` Pavel Janík
2002-05-08 18:16             ` Gerd Moellmann
2002-05-08 18:49               ` Pavel Janík
2002-05-10  0:29             ` Richard Stallman
2002-05-11  8:53               ` Pavel Janík
2002-05-13 14:17                 ` Richard Stallman
2002-04-22  7:46         ` Richard Stallman
2002-04-22  8:55           ` Pavel Janík [this message]
2002-04-22 10:03             ` Stefan Monnier
2002-04-22 12:59             ` Miles Bader
2002-04-22 17:47               ` Kim F. Storm
2002-04-23  2:05               ` Miles Bader
2002-04-22 19:47             ` Jan D.
2002-04-23 19:30               ` Richard Stallman
2002-04-22  9:28           ` Stefan Monnier
2002-04-22 13:04             ` Ben Wing
2002-04-22 13:42               ` Pavel Janík
2002-04-23  9:13                 ` Ben Wing
2002-04-23  9:35                   ` Miles Bader
2002-04-23 11:08                     ` Eli Zaretskii
2002-04-23 10:22                       ` Gerd Moellmann
2002-04-23 11:25                         ` Eli Zaretskii
2002-04-23 11:42                       ` Simon Josefsson
2002-04-24 17:55                         ` Richard Stallman
2002-04-24 18:29                           ` Simon Josefsson
2002-04-26  3:17                             ` Richard Stallman
2002-04-24 18:37                           ` Gerd Moellmann
2002-04-26  3:20                             ` Richard Stallman
2002-04-24 10:42                       ` Ben Wing
2002-04-24 11:27                         ` Simon Josefsson
2002-04-24 15:54                           ` Eli Zaretskii
2002-04-24 14:40                         ` Pavel Janík
2002-04-24 15:31                         ` Eli Zaretskii
2002-04-25  6:06                           ` Richard Stallman
2002-04-23 12:06                     ` Kim F. Storm
2002-04-23 11:44                       ` Simon Josefsson
2002-04-24 10:56                         ` Ben Wing
     [not found]                         ` <3CC68F57.4060901@666.com>
2002-04-24 11:15                           ` Simon Josefsson
2002-04-24 12:52                           ` Stefan Monnier
2002-04-24 15:43                           ` Eli Zaretskii
2002-04-23 11:53                       ` Robert J. Chassell
2002-04-23 14:11                       ` Stefan Monnier
2002-04-24 10:44                       ` Ben Wing
2002-04-24 15:37                     ` Kai Großjohann
2002-04-25  6:06                       ` Richard Stallman
2002-04-25  8:05                         ` Stephen J. Turnbull
2002-04-25  9:13                           ` Kai Großjohann
2002-04-25 10:22                             ` Stephen J. Turnbull
2002-04-26  3:18                           ` Richard Stallman
2002-04-26 11:14                             ` Gerd Moellmann
2002-04-25 11:08                         ` Eli Zaretskii
2002-04-23  9:32                 ` Ben Wing
     [not found]                 ` <3CC52A2F.6010704@666.com>
2002-04-23  9:51                   ` Hrvoje Niksic
2002-04-23 11:20                   ` Stephen J. Turnbull
2002-04-23 19:30               ` Richard Stallman
2002-04-23 20:22                 ` Karl Eichwalder
2002-04-24  4:12                   ` Miles Bader
2002-04-25  6:07                   ` Richard Stallman
2002-04-25  7:21                     ` Karl Eichwalder
2002-04-25  7:35                       ` Miles Bader
2002-04-25 12:00                       ` Robert J. Chassell
2002-04-25 12:21                         ` Andreas Schwab
2002-04-25 13:00                           ` Robert J. Chassell
2002-04-25 13:11                             ` Andreas Schwab
2002-04-25 14:54                         ` Eli Zaretskii
2002-04-25 14:39                           ` Kai Großjohann
2002-04-25 16:19                           ` Robert J. Chassell
2002-04-25 19:19                             ` Eli Zaretskii
2002-04-25 20:16                             ` Jason Rumney
2002-04-25 23:10                               ` Robert J. Chassell
2002-04-25 23:21                               ` Robert J. Chassell
2002-04-26  1:23                                 ` Miles Bader
2002-04-26 17:38                               ` Richard Stallman
2002-04-26  3:18                       ` Richard Stallman
2002-04-23  0:24             ` Richard Stallman
2002-04-22 11:39           ` Eli Zaretskii
2002-04-23 19:31             ` Richard Stallman
2002-04-23 20:13               ` Pavel Janík
2002-04-25  6:05                 ` Richard Stallman
2002-04-25 11:05                   ` Eli Zaretskii
2002-04-22  1:27     ` Miles Bader
2002-04-22  6:09       ` Eli Zaretskii
     [not found] <Pine.LNX.4.44.0204241307080.32219-100000@yxa.extundo.com>
2002-04-24 14:36 ` Stephen J. Turnbull
2002-04-24 15:33   ` Kai Großjohann
     [not found]   ` <vaf662hjelc.fsf@INBOX.auto.emacs.devel.tok.lucy.cs.uni-dortmund.de>
2002-04-24 16:23     ` Stephen J. Turnbull
2002-04-24 18:15       ` Kai Großjohann
2002-04-25  2:23     ` Hrvoje Niksic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3ofgcf6yp.fsf@Janik.cz \
    --to=pavel@janik.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).