emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to know if a key is pressed without getting it?


From: Óscar Fuentes
Subject: Re: How to know if a key is pressed without getting it?
Date: Sun, 26 Sep 2010 17:53:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Hello Vinicius.

Vinicius Jose Latorre <address@hidden> writes:

> Does anyone know how to know if a key is pressed without getting it in
> Emacs (like kbhit like function)?

I'm sure others wil provide the exact method, but until that maybe you
can get some benefit from reading this:

http://www.gnu.org/software/emacs/manual/html_node/elisp/Event-Input-Misc.html#Event-Input-Misc

"This section describes how to “peek ahead” at events without using them
up..."

[snip]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]