unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Alex Viskovatoff <viskovatoff+news@imap.cc>
Subject: Re: Making Windows key meta
Date: Thu, 10 Jun 2004 09:00:24 -0400	[thread overview]
Message-ID: <pan.2004.06.10.13.00.23.555983@imap.cc> (raw)
In-Reply-To: pan.2004.06.09.16.18.36.104570@imap.cc

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 
/<path_to_X11>/lib/X11/xkb/symbols/altwin:

  partial modifier_keys 
  xkb_symbols "meta_win" {
      key <LALT> {        [       Alt_L,  Alt_L           ]       };
      key <RALT> {        [       Alt_R,  Alt_R           ]       };
      key <LWIN> {        [       Meta_L                  ]       };
      key <RWIN> {        [       Meta_R                  ]       };
      modifier_map Mod1   { Alt_L, Alt_R };
      modifier_map Mod4 { <META>, 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.  

      reply	other threads:[~2004-06-10 13:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-09 16:18 Making Windows key meta Alex Viskovatoff
2004-06-10 13:00 ` Alex Viskovatoff [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=pan.2004.06.10.13.00.23.555983@imap.cc \
    --to=viskovatoff+news@imap.cc \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).