emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re-defining CHAR_SUPER , CHAR_META


From: A Soare
Subject: re-defining CHAR_SUPER , CHAR_META
Date: Tue, 25 Nov 2008 15:18:05 +0100 (CET)

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]