From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Xfree86 and the Meta key (+patch) Date: Mon, 4 Oct 2004 02:08:17 +0200 (CEST) Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <20041004000840.PMNH3239.mxfep01.bredband.com@coolsville.localdomain> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1096848555 32307 80.91.229.6 (4 Oct 2004 00:09:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 4 Oct 2004 00:09:15 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 04 02:09:07 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 1CEGPa-0004zj-00 for ; Mon, 04 Oct 2004 02:09:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CEGW9-0005ge-UU for ged-emacs-devel@m.gmane.org; Sun, 03 Oct 2004 20:15:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CEGW2-0005gZ-T0 for emacs-devel@gnu.org; Sun, 03 Oct 2004 20:15:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CEGW2-0005gN-GO for emacs-devel@gnu.org; Sun, 03 Oct 2004 20:15:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CEGW2-0005gK-Cr for emacs-devel@gnu.org; Sun, 03 Oct 2004 20:15:46 -0400 Original-Received: from [195.54.107.70] (helo=mxfep01.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CEGPB-0000RQ-C0 for emacs-devel@gnu.org; Sun, 03 Oct 2004 20:08:41 -0400 Original-Received: from coolsville.localdomain ([213.115.26.74] [213.115.26.74]) by mxfep01.bredband.com with ESMTP id <20041004000840.PMNH3239.mxfep01.bredband.com@coolsville.localdomain> for ; Mon, 4 Oct 2004 02:08:40 +0200 Original-To: emacs-devel@gnu.org 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27860 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27860 > "Jan D." writes: > > > I think there is something "wrong" in Xorg also. It behaves exactly as > > described in the bug report. Andreas, do you have an unmodified Xorg, > > with standard xkb maps and no xmodmap settings, and still manage to get > > Meta on the "Windows"-key using altwin:meta_win (i.e. assigning Meta to > > the "Windows"-key) as an option to xkb? > > What does altwin:meta_win do exactly in terms of modifier keys? Actually > I'm using a modified keymap with some modifier keys remapped: and > are emitting Alt_L and Alt_R, resp., and is changed to emit > Meta_L (the unmodified map has them the other way round). altwin:meta_win assignes Meta_L/R to the "Window"-keys ( and , default is Super_L/Multi_Key) and Meta_L/R is added to Mod4 (Mod1 is Alt_L/R). Previously Mod4 was Super_L on , and when altwin:meta_win was set Mod4 became Meta_L/R. Now Mod4 is Super_L and Hyper_L on "fake" keys. altwin:meta_win then just adds Meta_L/R, so Emacs sees Mod4 as Hyper-Super-Meta. If there is no need for these fake keys (I am not sure what they do), you could set altwin:meta_win and then do % xmodmap -e 'remove mod4 = Hyper_L' -e 'remove mod4 = Super_L' and get the same behaviour as previous X versions. I'm not sure why your modification works with Xorg, probably your Meta_L/R are on a different modifier (Mod3 for example). Or maybe your keymap does not have them. Jan D.