From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Subject: Re: Switch Meta and Alt modifiers
Date: Fri, 15 Feb 2002 10:38:53 +0100 [thread overview]
Message-ID: <vaf1yfn9j9u.fsf@INBOX.auto.emacs.devel.tok.lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: <vafzo3na09i.fsf@INBOX.auto.emacs.devel.tok.lucy.cs.uni-dortmund.de> (Kai.Grossjohann@cs.uni-dortmund.de's message of "Wed, 09 Jan 2002 18:43:05 +0100")
Kai.Grossjohann@cs.uni-dortmund.de (Kai Großjohann) writes:
> WIBNI the user could tell Emacs to swap the meanings of the Alt and
> Meta modifier? Or to tell Emacs that mod1 is Meta, even if
> x_find_modifier_meanings finds Alt_L and Alt_R there?
I have now committed something which does this. There are new
variables x-{alt,hyper,meta,super}-keysym. Allowed values are the
symbols alt, hyper, meta, and super. So to switch the alt and meta
keys, one can do:
(setq x-alt-keysym 'meta)
(setq x-meta-keysym 'alt)
There might be unexpected side effects with the "use alt as meta if
there is no meta key" mechanism that's already in Emacs: If you (setq
x-alt-keysym 'meta) but the kbd doesn't have a meta key, then Emacs
will use the alt keys for the alt keysym.
kai
--
~/.signature is: umop 3p!sdn (Frank Nobis)
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2002-02-15 9:38 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <vafzo3na09i.fsf@INBOX.auto.emacs.devel.tok.lucy.cs.uni-dortmund.de>
2002-02-14 10:09 ` Switch Meta and Alt modifiers Kai Großjohann
2002-02-14 12:30 ` Andreas Schwab
2002-02-15 9:38 ` Kai Großjohann [this message]
2002-02-17 5:48 ` Eli Zaretskii
2002-02-17 9:58 ` Kai Großjohann
2002-02-17 10:10 ` Eli Zaretskii
2002-02-17 15:23 ` Kai Großjohann
2002-02-17 17:00 ` Eli Zaretskii
2002-02-19 6:36 ` Richard Stallman
2002-02-19 9:31 ` Eli Zaretskii
2002-02-20 22:12 ` Richard Stallman
2002-02-21 6:44 ` Eli Zaretskii
2002-02-22 4:32 ` Richard Stallman
2002-02-24 17:41 ` Kai Großjohann
2002-02-24 18:49 ` Jason Rumney
2002-02-24 19:10 ` Kai Großjohann
2002-02-25 0:09 ` Richard Stallman
2002-02-25 6:03 ` Eli Zaretskii
2002-02-21 18:59 ` Jason Rumney
2002-02-17 11:53 ` Jason Rumney
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=vaf1yfn9j9u.fsf@INBOX.auto.emacs.devel.tok.lucy.cs.uni-dortmund.de \
--to=kai.grossjohann@cs.uni-dortmund.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).