all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kai.grossjohann@uni-duisburg.de (Kai Großjohann)
Subject: Re: xmodmap
Date: Wed, 22 Jan 2003 17:01:04 +0100	[thread overview]
Message-ID: <843cnluqbj.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: 3E2E85FA.6050701@rogers.com

Paul O'Donnell <odonnellp@rogers.com> 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!

  reply	other threads:[~2003-01-22 16:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-22  0:53 xmodmap Paul O'Donnell
2003-01-22  8:27 ` xmodmap Kai Großjohann
2003-01-22 11:52   ` xmodmap Paul O'Donnell
2003-01-22 16:01     ` Kai Großjohann [this message]
2003-01-28  4:59   ` Scaling JPEG images Greg Hill
     [not found]   ` <mailman.1064.1043729992.21513.help-gnu-emacs@gnu.org>
2003-01-28 10:48     ` Kester Clegg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=843cnluqbj.fsf@lucy.is.informatik.uni-duisburg.de \
    --to=kai.grossjohann@uni-duisburg.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.