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

Re: Emacs20: problem redefining umlaut-keys

Hi Jonas, 
On Wed, Oct 20, 1999 at 12:46:04AM +0200, Jonas Rathert wrote:
> I've got some problems using Emacs 20 with my Debian/GNU Linux system
> (potato): In my .emacs I have the following lines:
> -------8<----------(snip,snip)----------8<--------------------
>   (define-key c-mode-map [?ö] "[")     ; o-umlaut -> [
> -------8<----------(snip,snip)----------8<--------------------

here's an example of what I do on my system, using FSF Emacs 20.4.1.

(defun insert-c-left-bracket () (interactive) (insert "\["))
(define-key c-mode-map (quote [246]) 'insert-c-left-bracket)

Use the keycodes you send to the list (223, 252, 246, ...)

Hope this helps.
Cheers -- Stephan
Stephan Engelke                                    engelke@math.uni-hamburg.de
*** Soft drugs lead to hard drugs:  You start with Marihuana and by the
    end of the night you'll be eating Big Macs.                            ***

Reply to: