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: keyboard-translate does suddenly not work anymore Date: Wed, 11 May 2005 00:57:35 +0200 Message-ID: References: <87psvydalu.fsf@ortler.iwr.uni-heidelberg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1115765926 7468 80.91.229.2 (10 May 2005 22:58:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 May 2005 22:58:46 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 11 00:58:44 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DVdgD-0001kS-L0 for geh-help-gnu-emacs@m.gmane.org; Wed, 11 May 2005 00:58:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVdoF-00005s-RG for geh-help-gnu-emacs@m.gmane.org; Tue, 10 May 2005 19:06:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DVdlQ-0006eN-4t for help-gnu-emacs@gnu.org; Tue, 10 May 2005 19:03:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DVdlH-0006aa-IK for help-gnu-emacs@gnu.org; Tue, 10 May 2005 19:03:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVdlE-0006NW-Kj for help-gnu-emacs@gnu.org; Tue, 10 May 2005 19:03:32 -0400 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 1DVdln-0006xd-Ao for help-gnu-emacs@gnu.org; Tue, 10 May 2005 19:04:07 -0400 Original-Received: from [84.245.189.250] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.105 #282) id 1DVdfT-0006PX-00; Wed, 11 May 2005 00:57:35 +0200 In-Reply-To: <87psvydalu.fsf@ortler.iwr.uni-heidelberg.de> Original-To: Nicolas Neuss X-Mailer: Apple Mail (2.622) 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:26494 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26494 Am 10.05.2005 um 23:39 schrieb Nicolas Neuss: > (keyboard-translate ?\366 ?\[) > > However, something has broken this (Maybe some software update,=20 > because I > installed Motif today? Before this I have also reconfigured the X > server.). You know 'xmodmap -pk'? You can re-programme the X server partially=20 with xmodmap: it has some 'programming language' to 'correct' the=20 keyboard layout (here commented): !!keycode 60 =3D Meta_R !!keycode 69 =3D Meta_R !!keycode 63 =3D Alt_L !!keycode 66 =3D Meta_L !! !!clear Mod1 !!clear Mod2 !! !!add Mod1 =3D Alt_L Alt_R !!add Mod2 =3D Meta_L Meta_R In .xinitrc you then could do: xmodmap .xmodmaprc ... In GNU Emacs you can check your keyboard with C-h k. A bit deeper goes C-u M-: (read-event) RET . =F6 would = probably=20 produce 2294 (04366, 0x8f6). -- Mit friedvollen Gr=FC=DFen Pete Got Mole problems? Call Avogadro 6.02 x 10^23