all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* I do not understand input-decode-map
@ 2008-09-29 20:58 Lennart Borgman (gmail)
  2008-09-30  1:31 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Lennart Borgman (gmail) @ 2008-09-29 20:58 UTC (permalink / raw)
  To: Emacs Devel

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-30  1:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-29 20:58 I do not understand input-decode-map Lennart Borgman (gmail)
2008-09-30  1:31 ` Stefan Monnier
2008-09-30  1:36   ` Lennart Borgman (gmail)

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.