emacs-devel
[Top][All Lists]
Advanced

[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 ...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]