unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* re-defining CHAR_SUPER , CHAR_META
@ 2008-11-25 14:18 A Soare
  2008-11-25 15:30 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: A Soare @ 2008-11-25 14:18 UTC (permalink / raw)
  To: Emacs   Dev  [emacs-devel]


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






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: re-defining CHAR_SUPER , CHAR_META
  2008-11-25 14:18 re-defining CHAR_SUPER , CHAR_META A Soare
@ 2008-11-25 15:30 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2008-11-25 15:30 UTC (permalink / raw)
  To: alinsoar; +Cc: Emacs Dev [emacs-devel]

> 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.

Isn't xmodmap among your friends?


        Stefan




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-25 15:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-25 14:18 re-defining CHAR_SUPER , CHAR_META A Soare
2008-11-25 15:30 ` Stefan Monnier

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).