From: A Soare <alinsoar@voila.fr>
To: "Emacs Dev [emacs-devel]" <emacs-devel@gnu.org>
Subject: Changing the meaning of all the keys on the keyboard.
Date: Thu, 17 Jul 2008 15:37:06 +0200 (CEST) [thread overview]
Message-ID: <31255058.325281216301826978.JavaMail.www@wwinf4610> (raw)
I bought a Mac keyboard for my PC. It's really beautiful.
http://www.apple.com/keyboard/
However, I do not like the apple button.
So I decided to transform it in META.
I edited the file lisp.h so :
/* Flag bits in a character. These also get used in termhooks.h.
Richard Stallman <rms@gnu.ai.mit.edu> thinks that MULE
(MUlti-Lingual Emacs) might need 22 bits for the character value
itself, so we probably shouldn't use any bits lower than 0x0400000. */
#define CHAR_ALT (0x0400000)
#define CHAR_SUPER (0x0800000) <== HERE I CHANGED THE VALUE TO 0x8000000 (CHAR_META)
#define CHAR_HYPER (0x1000000)
#define CHAR_SHIFT (0x2000000)
#define CHAR_CTL (0x4000000)
#define CHAR_META (0x8000000)
I recompiled emacs, and my SUPER is META.
I would like to be able to be able to change the meaning of the keys without recompiling emacs. This would be useful for me.
One can add such a thing in future?
Alin Soare.
____________________________________________________
La route des vacances en quelques clics grâce à Voila ! http://itineraire.voila.fr/itineraire.html
reply other threads:[~2008-07-17 13:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=31255058.325281216301826978.JavaMail.www@wwinf4610 \
--to=alinsoar@voila.fr \
--cc=emacs-devel@gnu.org \
/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.