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: Xah Lee
Subject: Re: elisp question:keyboard-translate with hyper fail?
Date: Mon, 14 Mar 2011 13:32:51 -0700 (PDT)
User-agent: G2/1.0

On Mar 14, 7:17 am, Stefan Monnier <monn...@iro.umontreal.ca> wrote:
> > 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] [?\◇])

Thanks! That worked.

 Xah

> > Ι 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]