all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: rrandresf@gmail.com (Andrés Ramírez)
To: help-gnu-emacs@gnu.org
Subject: Re: how to bind event-apply-meta-modifier
Date: Sat, 18 Mar 2017 04:36:08 -0600	[thread overview]
Message-ID: <87r31uan3b.fsf@gmail.com> (raw)
In-Reply-To: <87pohfzw76.fsf@gmail.com> ("Andrés Ramírez"'s message of "Fri, 17 Mar 2017 10:47:57 -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



      parent reply	other threads:[~2017-03-18 10:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r31uan3b.fsf@gmail.com \
    --to=rrandresf@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.