all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* using "super" or "hyper" keys as "ctrl+meta"
@ 2004-05-25 13:49 Carleos Artime
  0 siblings, 0 replies; only message in thread
From: Carleos Artime @ 2004-05-25 13:49 UTC (permalink / raw)



While remapping my keyboard to get an optimized layout for work with
Emacs [1], I am wondering whether it is possible to use a single key
for the combination control+emacs.

I think in X windows it is impossible to get a key producing both
Ctrl and Meta (Mod4 in my config) modifiers.

So the only way would be mapping a key as Super (or Hyper) and let
Emacs translate Super to Ctrl+Meta, that is, \s-a would be translated
to \C-M-a.

The Ctrl-Meta combination is so usual in Emacs that I find strange
that I could not find any similar idea in EmacsWiki.org and other
Emacs-realted webs.

Has anybody seen something similar?

Thank you very much.

	carlos

[1] So far, I have my Spanish/Spain PC105 keyboard changed like this:

using US layout (better for programming and TeX writing)
< > (less/greater) -> ESC (at the left of Z, for VIPER mode)
Caps Lock -> Ctrl (usual change, could be Super)
ESC -> Caps Lock (could be Hyper)
Alt, AltGr -> Ctrl (as in Lisp machines)
Win -> Meta (usual change, and Lisp machines)
Menu -> Compose (usual change, for Spanish/Esperanto symbols)
Ctrl -> Alt (that is, swapped Ctrl and Alt)
[] <-> () (that is, swapped parentheses and square brackets, for
           easier Lisp editing)

-- 

_________________________________________________________________________

Carlos Enrique Carleos Artime                             ,  GNU.org  , 
Dep-to de Statistiko kaj Operacia Esplorado,             /             \ 
          kaj Matematika Didaktiko                      ((__-^^-,-^^-__)) 
Universitato de Oviedo                                   `-_---' `---_-' 
                                                          `--|o` 'o|--' 
Retposhto: carleos@uniovi.es                                 \  `  / 
Telefono:  +34 985 181 904                                    ): :( 
Fakso:     +34 985 181 902                                    :o_o: 
Adreso: Escuela de Marina Civil, 33203 Hispanio                "-" 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-25 13:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-25 13:49 using "super" or "hyper" keys as "ctrl+meta" Carleos Artime

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.