[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rebinding iso keys
From: |
josh |
Subject: |
rebinding iso keys |
Date: |
2 Apr 2006 05:33:11 -0700 |
User-agent: |
G2/0.2 |
Hi,
I have a german keyboard and would like to rebind the characters "ä"
"ö"
"ü" and also "ß" to functions, replacing the self-insert function,
but I
can't find the right vector code or whatever for the keys.
For example, I've tried the following variations (from my .emacs):
(defun TeX-parenth () (interactive) (TeX-Inserting ?\\ "(" "()"))
(defun TeX-a-umlaut () (interactive) (insert "\"") (insert "a"))
(add-hook 'LaTeX-mode-hook
'(lambda ()
;; Begin bracket closing
(local-set-key "(" 'TeX-parenth)
(local-set-key "ä" 'TeX-a-umlaut)
(local-set-key [?\xe4] 'TeX-a-umlaut) ;iso ?
(local-set-key [?\xc384] 'TeX-A-umlaut) ;unicode ?
))
It works for the parenthesis, but not for "ä", and actually, I would
like to
keep my .emacs in ascii, so I don't really even want the "ä"
variation.
Two questions:
1) what am I doing wrong and
2)How can I capture the right vector code that the keyboard sends to
emacs when I press "ä", so I can bind it properly?
Thanks,
Josh
- rebinding iso keys,
josh <=
- Re: rebinding iso keys, Peter Dyballa, 2006/04/02
- Message not available
- Re: rebinding iso keys, josh, 2006/04/03
- Re: rebinding iso keys, Peter Dyballa, 2006/04/03
- Message not available
- Re: rebinding iso keys, josh, 2006/04/04
- Re: rebinding iso keys, Miles Bader, 2006/04/04
- Message not available
- Re: rebinding iso keys, josh, 2006/04/04
- Re: rebinding iso keys, Oliver Scholz, 2006/04/13
- Re: rebinding iso keys, Peter Dyballa, 2006/04/04