From: A Soare <alinsoar@voila.fr>
To: "Emacs Dev [emacs-devel]" <emacs-devel@gnu.org>
Subject: re-defining CHAR_SUPER , CHAR_META
Date: Tue, 25 Nov 2008 15:18:05 +0100 (CET) [thread overview]
Message-ID: <16273064.1344741227622685973.JavaMail.www@wwinf4623> (raw)
I would like to be able to change the meaning of some keys. For example, I use a Macintosh keyboard on PC, and I would like to bind the SUPER KEY to the META key.
Another possibility is to bind it to the ALT (ALTGr) key, because it could be useful.
I have to change src/lisp.h at every time when I compile emacs.
So what do you say about adding some code like this one in configure.in ?
#ALT = 0x0400000
SUPER = 0x8000000
#HYPER = 0x1000000
#SHIFT = 0x2000000
#CTL = 0x4000000
#META = 0x8000000
AC_ARG_WITH([META],
AS_HELP_STRING([--with-super=<NEW VALUE>], [ Bind SUPER to another special key ]),
[CHAR_SUPER="$withval"],
[
CHAR_SUPER=SUPER
])
and so on, for every special key.
____________________________________________________
Écoutez gratuitement le nouveau single de Noir Désir et découvrez d'autres titres en affinité avec vos goûts musicaux ! http://musiline.voila.fr/player/generate/4/15/31774/?intitule=Gagnants+%2F+Perdants
next reply other threads:[~2008-11-25 14:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-25 14:18 A Soare [this message]
2008-11-25 15:30 ` re-defining CHAR_SUPER , CHAR_META Stefan Monnier
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=16273064.1344741227622685973.JavaMail.www@wwinf4623 \
--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 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).