* Changing the meaning of all the keys on the keyboard.
@ 2008-07-17 13:37 A Soare
0 siblings, 0 replies; only message in thread
From: A Soare @ 2008-07-17 13:37 UTC (permalink / raw)
To: Emacs Dev [emacs-devel]
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-17 13:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-17 13:37 Changing the meaning of all the keys on the keyboard A Soare
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).