From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: xmodmap Date: Wed, 22 Jan 2003 17:01:04 +0100 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <843cnluqbj.fsf@lucy.is.informatik.uni-duisburg.de> References: <3E2DEBA5.2070408@rogers.com> <84n0lttwrd.fsf@lucy.is.informatik.uni-duisburg.de> <3E2E85FA.6050701@rogers.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1043255762 18900 80.91.224.249 (22 Jan 2003 17:16:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 22 Jan 2003 17:16:02 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18bOTK-0004sW-00 for ; Wed, 22 Jan 2003 18:15:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18bOTP-0004mv-02 for gnu-help-gnu-emacs@m.gmane.org; Wed, 22 Jan 2003 12:15:35 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!p50876c56.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: p50876c56.dip.t-dialin.net (80.135.108.86) Original-X-Trace: fu-berlin.de 1043255455 28091877 80.135.108.86 (16 [73968]) User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:qgukyt1wy9xpC0cC+BP8qDmPR8I= Original-Xref: shelby.stanford.edu gnu.emacs.help:109348 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5870 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5870 Paul O'Donnell writes: > I am curious about the mod4 line. Why are there 4 entries there? That's because you have four Alt keys :-) > Any hints to help me understand this are appreciated. The man pages > for xmodman are not really clear to me and the online sources I have > found on xmodmap are very brief. It would be nice to find some better > docs on this subject. I wish it was that simple. The thing is that different programs do different things. For example, Netscape (at least up to version 4) looked at mod1 (in the output of xmodmap -pm, or the programmatic equivalent) and called that Alt (even if the keysyms there were Meta_L and Meta_R!). Emacs, however, looks for Meta_L and/or Meta_R (in the output of xmodmap -pm) and uses whatever modifier it finds as meta. If there are no Meta_L or Meta_R keysyms, then Emacs looks for Alt_L and Alt_R and uses that modifier. KDE programs look for Alt_L and Alt_R. xterm looks for Meta_L/R (and, unlike Emacs, does not have an Alt_L/R fallback). A funny consequence is that you can't have xterm and Emacs and konsole (what KDE has instead of xterm) working properly at the same time! I think They have infiltrated the community of X developers, trying to drive this fine window system into oblivion. -- Ambibibentists unite!