* how to bind event-apply-meta-modifier
@ 2017-03-17 16:47 Andrés Ramírez
2017-03-18 7:42 ` Roland Tarver
2017-03-18 10:36 ` Andrés Ramírez
0 siblings, 2 replies; 3+ messages in thread
From: Andrés Ramírez @ 2017-03-17 16:47 UTC (permalink / raw)
To: help-gnu-emacs
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:
--8<---------------cut here---------------start------------->8---
(global-set-key (kbd "C-x w") (lambda () (interactive) (event-apply-meta-modifier nil)))
--8<---------------cut here---------------end--------------->8---
But that is not the right way of doing this.
¿How Should I get it to work?
AR
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: how to bind event-apply-meta-modifier
2017-03-17 16:47 how to bind event-apply-meta-modifier Andrés Ramírez
@ 2017-03-18 7:42 ` Roland Tarver
2017-03-18 10:36 ` Andrés Ramírez
1 sibling, 0 replies; 3+ messages in thread
From: Roland Tarver @ 2017-03-18 7:42 UTC (permalink / raw)
To: help-gnu-emacs
Hello Andres,
On 17/03/17 16:47, Andrés Ramírez wrote:
> Hi.
>
> I have a nokia n900 (great device, not replacement for it until now)
Although, I am afraid, I cannot help with your emacs question (I'm new).
You may wish to consider the following as a replacement for your N900.
https://www.indiegogo.com/projects/gemini-pda-android-linux-keyboard-mobile-device-phone#/backers
Best wishes
Roly :-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: how to bind event-apply-meta-modifier
2017-03-17 16:47 how to bind event-apply-meta-modifier Andrés Ramírez
2017-03-18 7:42 ` Roland Tarver
@ 2017-03-18 10:36 ` Andrés Ramírez
1 sibling, 0 replies; 3+ messages in thread
From: Andrés Ramírez @ 2017-03-18 10:36 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-03-18 10:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-17 16:47 how to bind event-apply-meta-modifier Andrés Ramírez
2017-03-18 7:42 ` Roland Tarver
2017-03-18 10:36 ` Andrés Ramírez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).