[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to bind event-apply-meta-modifier
From: |
Andrés Ramírez |
Subject: |
Re: how to bind event-apply-meta-modifier |
Date: |
Sat, 18 Mar 2017 04:36:08 -0600 |
Hi.
For my own information in the future:
--8<---------------cut here---------------start------------->8---
(define-key key-translation-map (kbd "C-x w") 'event-apply-meta-modifier)
--8<---------------cut here---------------end--------------->8---
AR
> Hi.
>
> I have a nokia n900 (great device, not replacement for it until now)
> the kbd does NOT have an "ESC" key.
> the kbd DOES HAVE "CTRL" key
>
> So I would like to do something like this:
>
> (global-set-key (kbd "C-x w") (lambda () (interactive)
> (event-apply-meta-modifier nil)))
>
> But that is not the right way of doing this.
> ¿How Should I get it to work?
>
> AR