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

Emacs keybinding of Ctrl-[



Hi,

I am working with an US-keyboard, but typing German texts in XEmacs.
So I tried to teach XEmacs (v19.11) to give me the umlauts if I press
the corresponding keys together with CTRL.  This works fine for all
keys except for u-umlaut which would end up being on CTRL-[ :

;; define umlaut keys
(define-key global-map [(control \-)] [ssharp])
(define-key global-map [(control \;)] [odiaeresis]) 
(define-key global-map [(control \')] [adiaeresis])
(define-key global-map [(control \[)] [udiaeresis])
;; capital letters
(define-key global-map [(control \:)] [Odiaeresis]) 
(define-key global-map [(control \")] [Adiaeresis])
(define-key global-map [(control \{)] [Udiaeresis])

Even after these redefinitions XEmacs responds to CTRL-[ the
usual way (which is waiting for the next key).

Does anyone of you out there know a solution to this?
(without redefining the [ key itself. I need it for programming)

Thanks a lot in advance!
 Andy.
-- 
 Andy Spiegl, University of Technology, Muenchen, Germany
 E-Mail: Andy@spiegl.de     URL: http://www.spiegl.de
 Finger pgp.andy@spiegl.de for my PGP key
                                o      _     _         _
  --------- __o       __o      /\_   _ \\o  (_)\__/o  (_)
  ------- _`\<,_    _`\<,_    _>(_) (_)/<_    \_| \   _|/' \/
  ------ (_)/ (_)  (_)/ (_)  (_)        (_)   (_)    (_)'  _\o_
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Reply to: