From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: emacs-snapshot keybinding problem Date: Sat, 31 Dec 2005 00:52:47 +0100 Message-ID: <3c110c9e9c722c8b8843bee0bea47a2f@Web.DE> References: <87zmmjyz2z.fsf-monnier+gnu.emacs.help@gnu.org> <8764p6u0mp.fsf@magma.ca> <89094436dbe19fc651e2bc3fd10bfcce@Web.DE> <87y822sagk.fsf@magma.ca> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1135986810 12418 80.91.229.2 (30 Dec 2005 23:53:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 30 Dec 2005 23:53:30 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 31 00:53:29 2005 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EsU3o-0007U1-3D for geh-help-gnu-emacs@m.gmane.org; Sat, 31 Dec 2005 00:53:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EsU5C-0001f6-OP for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Dec 2005 18:54:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EsU4m-0001dn-B1 for help-gnu-emacs@gnu.org; Fri, 30 Dec 2005 18:54:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EsU4k-0001dF-Ed for help-gnu-emacs@gnu.org; Fri, 30 Dec 2005 18:54:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EsU4k-0001dC-81 for help-gnu-emacs@gnu.org; Fri, 30 Dec 2005 18:54:22 -0500 Original-Received: from [217.72.192.209] (helo=smtp05.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EsU5K-0000GW-ED for help-gnu-emacs@gnu.org; Fri, 30 Dec 2005 18:54:59 -0500 Original-Received: from [84.245.177.171] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.105 #340) id 1EsU3F-0008Kb-00; Sat, 31 Dec 2005 00:52:49 +0100 In-Reply-To: <87y822sagk.fsf@magma.ca> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: Angelina Carlton X-Mailer: Apple Mail (2.623) X-Sender: Peter_Dyballa@web.de X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:32316 Archived-At: Am 30.12.2005 um 19:31 schrieb Angelina Carlton: >> From xev and keysymdef.h > +---------------------------------------------+ > |on kb number hex symbol #define: | > |---------------------------------------------| > |F13 182 0x0 NoSymbol | > |F14 183 0xFFCB F14 XK_F14, XK_L4| > |F15 184 0xFFCC F15 XK_F15, XK_L5| > |F16 93 0x0 NoSymbol | > |LOPT 115 0xFFCA F13 XK_F13, XK_L3| > |ROPT 116 0xFFCD F16 XK_F16, XK_L6| > +---------------------------------------------+ > > So the physical key "left option" is bound to F13 and "right option" is > bound to F16. Hopefully I can remap these now to play nicely with > emacs22 > No, no: NoSymbol is perfect! If there is already a symbol (name) set for a key, you'll have to re-associate this key with a new symbol: keysym F14 = F15 ! not really clever If you see 'NoSymbol' reported, then it's just a 'free' (unbound) key (therefore they all give ASCII-Nul). Right now you have F13...F16 'defined' in X11, you can use them by pressing the keys LOPT, F14, F15, ROPT. To change this you'll need to set: keycode 182 = F13 keycode 93 = F16 After this you'll two F13 and two F16. The left and right option keys are useful as modifiers, super and Hyper, if you already have Alt and Meta. The more 'modifiers' you have, the more keybindings you can use (Alt-super-Shift-Meta-Hyper-Control-F15)! keycode 115 = Hyper add Mod4 = Hyper keycode 115 = super add Mod5 = super You probably know what xmodmap -pm shows? And you probably already learned that you can re-map the keys in X11 at once, without re-boot, log-off and -in, shutting X11 down and re-launching it? -- Greetings Pete "Specifications are for the weak and timid!"