From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Pavel@Janik.cz (Pavel =?iso-8859-2?q?Jan=EDk?=) Newsgroups: gmane.emacs.devel Subject: Re: C-l while in menu? Date: Mon, 22 Apr 2002 10:55:26 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200204072343.g37NhIC20114@aztec.santafe.edu> <200204201727.g3KHRD401381@aztec.santafe.edu> <200204220746.g3M7kvY01878@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1019469095 2680 127.0.0.1 (22 Apr 2002 09:51:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 22 Apr 2002 09:51:35 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16zaTv-0000h7-00 for ; Mon, 22 Apr 2002 11:51:35 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16zaUZ-0000Nf-00 for ; Mon, 22 Apr 2002 11:52:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16zaTj-00016G-00; Mon, 22 Apr 2002 05:51:23 -0400 Original-Received: from p0107.as-l043.contactel.cz ([194.108.242.107] helo=SnowWhite.SuSE.cz) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16zaSD-0000t2-00 for ; Mon, 22 Apr 2002 05:49:50 -0400 Original-Received: by SnowWhite.SuSE.cz (PJ, from userid 500) id 3422318FD1; Mon, 22 Apr 2002 11:51:44 +0200 (CEST) Original-To: emacs-devel@gnu.org X-Face: $"d&^B_IKlTHX!y2d,3;grhwjOBqOli]LV`6d]58%5'x/kBd7.MO&n3bJ@Zkf&RfBu|^qL+ ?/Re{MpTqanXS2'~Qp'J2p^M7uM:zp[1Xq#{|C!*'&NvCC[9!|=>#qHqIhroq_S"MH8nSH+d^9*BF: iHiAs(t(~b#1.{w.d[=Z In-Reply-To: <200204220746.g3M7kvY01878@aztec.santafe.edu> (Richard Stallman's message of "Mon, 22 Apr 2002 01:46:57 -0600 (MDT)") User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i386-suse-linux-gnu) Original-Lines: 103 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3010 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3010 From: Richard Stallman Date: Mon, 22 Apr 2002 01:46:57 -0600 (MDT) > > It might not be easy to find key bindings for it, though. >=20 > 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 mean= ing...) > defaulting to nil. >=20 > 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.) >=20 > These menus could be controlled by the same tty commands that you > are implementing in menus under X. >=20 > 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 Date: 22 Apr 2002 10:27:43 +0900 > Pavel@Janik.cz (Pavel Jan=EDk) writes: > > The first part of this is done (keyboard can control menu, no shortc= uts > > yet). I will commit it in a moment. Changes are: >=20 > I just tried it, it seems very cool. >=20 > 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 Date: Mon, 22 Apr 2002 09:09:08 +0300 (IDT) > On 22 Apr 2002, Miles Bader wrote: >=20 > > Now if only F10 would pop up a real menu on X instead of the tmm los= er > > menus... >=20 > Yes. In fact, I find support for keyboard keys in the menus rather=20 > pointless without being able to pop up the menu via the keyboard. Why= =20 > would someone click the mouse to drop down a menu, then move the arm t= o=20 > 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. */ --=20 Pavel Jan=EDk Don't compare floating point numbers just for equality. -- The Elements of Programming Style (Kernighan & Plaugh= er)