[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I do not understand input-decode-map
From: |
Lennart Borgman (gmail) |
Subject: |
I do not understand input-decode-map |
Date: |
Mon, 29 Sep 2008 22:58:16 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
This works, ie typing "." gives ":" (even in for example Viper)
(define-key input-decode-map [?\.] [?\:])
Why does not the next work?
(setq input-decode-map (make-sparse-keymap))
(defvar my-second-map (make-sparse-keymap))
(define-key my-second-map [?\:] [?\.])
(define-key input-decode-map [?\,] my-second-map)
Typing "," does what it use to do. Not too bad, but not what I expected ...
- I do not understand input-decode-map,
Lennart Borgman (gmail) <=