From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alex Viskovatoff Newsgroups: gmane.emacs.help Subject: Re: Making Windows key meta Date: Thu, 10 Jun 2004 09:00:24 -0400 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1088535444 16924 80.91.224.253 (29 Jun 2004 18:57:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Jun 2004 18:57:24 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 29 20:57:09 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BfNn2-0003RN-00 for ; Tue, 29 Jun 2004 20:57:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BfNoi-0004Mr-I1 for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jun 2004 14:58:52 -0400 User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Original-Newsgroups: gnu.emacs.help Original-NNTP-Posting-Host: dialup-128-252-186-140.computer.net Original-X-Trace: newsfeed.slurp.net 1086872448 140.186.252.128 (10 Jun 2004 08:00:48 -0500) Original-Lines: 30 X-Original-NNTP-Posting-Host: 140.186.252.128 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.slurp.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:123732 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19097 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19097 On Wed, 09 Jun 2004 12:18:41 -0400, Alex Viskovatoff wrote: > does anyone know a reasonably easy way to make Emacs > behave in a straightforward way, that is, to interpret keyboard events > from X with the Windows key down as just having the meta bit set, as > opposed to having the hyper, meta, and super bits set? > > Any clarification will be much appreciated. I got a reply by email explaining what the problem was. It turns out that xev was not giving a complete picture of what was happening. For the record, here is the solution that was sent to me: I had the same problem after installation of xorg-x11 6.7. In my case it was due to mapping Meta keys as Mod4 in //lib/X11/xkb/symbols/altwin: partial modifier_keys xkb_symbols "meta_win" { key { [ Alt_L, Alt_L ] }; key { [ Alt_R, Alt_R ] }; key { [ Meta_L ] }; key { [ Meta_R ] }; modifier_map Mod1 { Alt_L, Alt_R }; modifier_map Mod4 { , Meta_L, Meta_R }; }; If you don't need the Meta keys to act as Mod4, commenting out the "modifier_map Mod4" line should help.