From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: Num_Lock under solaris 5.8 Date: Fri, 12 May 2006 14:57:06 +0200 Message-ID: <44648622.6060600@swipnet.se> References: <4464610D.608@swipnet.se> <446473D7.5080407@swipnet.se> <44647B79.8060709@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1147438672 8688 80.91.229.2 (12 May 2006 12:57:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 May 2006 12:57:52 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 12 14:57:50 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 1FeXD6-0003WE-Cq for ged-emacs-devel@m.gmane.org; Fri, 12 May 2006 14:57:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FeXD6-0008ED-9l for ged-emacs-devel@m.gmane.org; Fri, 12 May 2006 08:57:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FeXCr-0008CM-Jg for emacs-devel@gnu.org; Fri, 12 May 2006 08:57:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FeXCp-0008A7-II for emacs-devel@gnu.org; Fri, 12 May 2006 08:57:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FeXCp-0008A4-Dk for emacs-devel@gnu.org; Fri, 12 May 2006 08:57:19 -0400 Original-Received: from [81.228.9.179] (helo=av6-1-sn3.vrr.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FeXEY-0002ih-Hg for emacs-devel@gnu.org; Fri, 12 May 2006 08:59:06 -0400 Original-Received: by av6-1-sn3.vrr.skanova.net (Postfix, from userid 502) id BBE7337FF8; Fri, 12 May 2006 14:57:17 +0200 (CEST) Original-Received: from smtp3-2-sn3.vrr.skanova.net (smtp3-2-sn3.vrr.skanova.net [81.228.9.102]) by av6-1-sn3.vrr.skanova.net (Postfix) with ESMTP id ACBFD37F8B; Fri, 12 May 2006 14:57:17 +0200 (CEST) Original-Received: from coolsville.localdomain (81-235-205-204-no59.tbcn.telia.com [81.235.205.204]) by smtp3-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 69C6B37E44; Fri, 12 May 2006 14:57:17 +0200 (CEST) User-Agent: Thunderbird 1.5.0.2 (X11/20060501) Original-To: Klaus Zeitler In-Reply-To: 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:54330 Archived-At: Klaus Zeitler skrev: >>>>>> "Jan" =3D=3D Jan Dj=E4rv writes: > Jan>=20 > Jan> And xev says...? >=20 > Pressing Num_lock, then KP_7, then Num_lock and KP_7 again I get: >=20 > KeyRelease event, serial 29, synthetic NO, window 0x9800001, > root 0x25, subw 0x9800002, time 680513068, (31,48), root:(48,594), > state 0x20, keycode 90 (keysym 0xff7f, Num_Lock), same_screen YES, > XLookupString gives 0 characters: "" >=20 > KeyPress event, serial 29, synthetic NO, window 0x9800001, > root 0x25, subw 0x9800002, time 680514916, (31,48), root:(48,594), > state 0x0, keycode 90 (keysym 0xff7f, Num_Lock), same_screen YES, > XLookupString gives 0 characters: "" >=20 > KeyPress event, serial 29, synthetic NO, window 0x9800001, > root 0x25, subw 0x9800002, time 680523252, (31,48), root:(48,594), > state 0x20, keycode 102 (keysym 0xff95, KP_Home), same_screen YES, > XLookupString gives 0 characters: "" >=20 > KeyRelease event, serial 29, synthetic NO, window 0x9800001, > root 0x25, subw 0x9800002, time 680523428, (31,48), root:(48,594), > state 0x20, keycode 102 (keysym 0xff95, KP_Home), same_screen YES, > XLookupString gives 0 characters: "" >=20 > KeyRelease event, serial 29, synthetic NO, window 0x9800001, > root 0x25, subw 0x9800002, time 680525507, (31,48), root:(48,594), > state 0x20, keycode 90 (keysym 0xff7f, Num_Lock), same_screen YES, > XLookupString gives 0 characters: "" >=20 > KeyPress event, serial 29, synthetic NO, window 0x9800001, > root 0x25, subw 0x9800002, time 680526923, (31,48), root:(48,594), > state 0x0, keycode 102 (keysym 0xff95, KP_Home), same_screen YES, > XLookupString gives 0 characters: "" >=20 > KeyRelease event, serial 29, synthetic NO, window 0x9800001, > root 0x25, subw 0x9800002, time 680527043, (31,48), root:(48,594), > state 0x0, keycode 102 (keysym 0xff95, KP_Home), same_screen YES, > XLookupString gives 0 characters: "" >=20 Since XLookupString gives 0 characters, that is what Emacs gets too. You= r=20 NumLock seems to be mapped to Mod3, I recognize this problem, I had it on= Suns=20 also (years ago). Are you using a Sun keyboard? Does your AltGr produce= Mod2=20 (state 0x10)? You can perhaps use xmodmap to change that. What does % xmodmap -pm show? Jan D. Jan D.