help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: elisp question:keyboard-translate with hyper fail?


From: Stefan Monnier
Subject: Re: elisp question:keyboard-translate with hyper fail?
Date: Mon, 14 Mar 2011 10:17:33 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> ugh, just tried this and still doesn't work.
> (define-key key-translation-map [?\H-8] ?\◇)

key-translation-map maps key sequences to key sequences, so try

  (define-key key-translation-map [?\H-8] [?\◇])

> Ι have it all working by
> (global-set-key (kbd "H-3") (lambda () (interactive) (insert "•"))) ;
> bullet

You can also do

  (global-set-key (kbd "H-3") "•")


        Stefan


reply via email to

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