all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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

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

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.