[Top][All Lists]

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

Re: assertion failed: c == event->code

From: Jason Rumney
Subject: Re: assertion failed: c == event->code
Date: Fri, 14 Dec 2007 08:47:48 +0000
User-agent: Thunderbird (Windows/20071031)

Kenichi Handa wrote:
> MULTIBYTE_CHAR_KEYSTROKE_EVENT should be for an Emacs's
> internal character code (i.e. emacs-mule encoded character
> in the trunk).  Where in xterm.c, "a double byte character
> in the keyboard coding system" is generated?

Around line 6417, we have:

           inev.ie.kind = (SINGLE_BYTE_CHAR_P (XFASTINT (c))
                              ? ASCII_KEYSTROKE_EVENT
                              : MULTIBYTE_CHAR_KEYSTROKE_EVENT);

But I see c at that point is the result of a lookup in x-keysym-table,
so it might be OK.

reply via email to

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