From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Semi-unhelpful error message given when trying to (provide 'CUA-mode) Date: Tue, 23 May 2006 10:22:55 +0200 Message-ID: <85zmh9ywtc.fsf@lola.goethe.zz> References: <85fyj4bl8p.fsf@lola.goethe.zz> <20060520.211854.71848142.wl@gnu.org> <85lkswa29b.fsf@lola.goethe.zz> <44701B91.60606@swipnet.se> <44715093.4020906@swipnet.se> <4472AB5F.9090305@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1148372675 3789 80.91.229.2 (23 May 2006 08:24:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 May 2006 08:24:35 +0000 (UTC) Cc: acm@muc.de, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 23 10:24:33 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FiSBm-00005S-CP for ged-emacs-devel@m.gmane.org; Tue, 23 May 2006 10:24:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FiSBl-000434-O8 for ged-emacs-devel@m.gmane.org; Tue, 23 May 2006 04:24:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FiSAr-0003jY-Hh for emacs-devel@gnu.org; Tue, 23 May 2006 04:23:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FiSAq-0003j8-AY for emacs-devel@gnu.org; Tue, 23 May 2006 04:23:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FiSAq-0003j4-1N for emacs-devel@gnu.org; Tue, 23 May 2006 04:23:28 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FiSF0-0004e9-Uf for emacs-devel@gnu.org; Tue, 23 May 2006 04:27:47 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1FiSAi-00036Q-4J; Tue, 23 May 2006 04:23:20 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id C43C91C27933; Tue, 23 May 2006 10:22:55 +0200 (CEST) Original-To: Jan =?iso-8859-1?Q?Dj=E4rv?= In-Reply-To: <4472AB5F.9090305@swipnet.se> (Jan =?iso-8859-1?Q?Dj=E4rv's?= message of "Tue, 23 May 2006 08:27:43 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:55107 Archived-At: Jan Dj=E4rv writes: > Richard Stallman wrote: >>> I have a patch for the X11 versions of Emacs that activates the menubar >>> when F10 is pressed. >>> >>> Once you do that, how do you select a menu item from the menu? Is there= a >>> way to do that with the keyboard? Or must the user switch to the mouse >>> for that? >> >> You use arrow keys to navigate the menu and enter/return to select an it= em. >> Using the keyboard is the right thing. >> >> Some X toolkits have conventions for using the keyboard to activate menus >> and menu items. I am not sure what they are; do you know? To what extent >> do they work with Emacs? Is your patch coherent with them? Could it be? > > The patch is coherent in that it implements opening menus on F10, > which is standard for many toolkits. > > Another way to activate menus is with accelerator keys, usually Alt > + the first letter in the menu entry (the letter in question is > underlined in the menu). That would be Alt+F for File. On Mac it > is the Command key instead of Alt, but the principle is the same. > When a menu has been opened there may be more accelerators (like S > for Save), so instead of using the arrow to navigate down to Save > and then press RET, you can press just S or Alt+S to select Save. > > My patch does not implement this, but it is quite easy to do in > Lesstif/Motif and Gtk+ (harder in Lucid). The thing is to decide > which accelerators to use and how to represent them in the current > lisp menu structures. tmm-menubar already picks accelerator keys. It seems reasonable to steal the choice from there. At the current point of time, on 105-key keyboards, the "Menu" key on Emacs puts up "M-x". It might be reasonable to let this instead access the menu. After all, "M-x" is easy enough to type when the Alt key is Meta, and Alt being Meta is rather desirable. --=20 David Kastrup, Kriemhildstr. 15, 44793 Bochum