From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: read-event question
Date: Fri, 14 Apr 2006 11:55:21 +0200 [thread overview]
Message-ID: <m3bqv4bhx2.fsf@quimbies.gnus.org> (raw)
I'm having a really trivial problem, but I haven't been able to find
the answer in the Emacs or Emacs-Lisp manuals. I'm sure I'm just
looking in the wrong place.
Here's the problem: I'm using `read-event' to, well, read a user
event. I want to do something when the user enters `M-n', but I just
can't seem to find a way to translate `M-n' into whatever `read-event'
returns (or vice versa).
Using `read-event' and tapping `M-n' returns a large integer:
(read-event) => 134217838
Is there some function I can use to map [(meta n)] or whatever to this
number?
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
next reply other threads:[~2006-04-14 9:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-14 9:55 Lars Magne Ingebrigtsen [this message]
2006-04-14 10:02 ` read-event question Miles Bader
2006-04-14 10:10 ` Lars Magne Ingebrigtsen
2006-04-14 11:34 ` Stefan Monnier
2006-04-14 11:58 ` Lars Magne Ingebrigtsen
2006-04-14 18:05 ` Kevin Rodgers
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=m3bqv4bhx2.fsf@quimbies.gnus.org \
--to=larsi@gnus.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.