help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to distinguish character from noncharacter input events?


From: Kai Grossjohann
Subject: Re: How to distinguish character from noncharacter input events?
Date: Thu, 12 Aug 2004 14:05:03 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Joe Fineman <jcf@TheWorld.com> writes:

> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>> What's your definition of a "character event"?
>
> As a practical matter, it means an event that will not give the error
> message "non-character input event" when read-char encounters it.

Use condition-case, call read-char and catch the error.  That will
tell you whether read-char gives the error message.

Kai






reply via email to

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