emacs-devel
[Top][All Lists]
Advanced

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

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


From: Miles Bader
Subject: Re: assertion failed: c == event->code
Date: Mon, 17 Dec 2007 06:25:22 +0900

"Juanma Barranquero" <address@hidden> writes:
>> Does it give correct results?
...
> produced a keybinding that `describe-key' didn't recognize. Or, put it
> differently, before:
>
>   (event-basic-type (aref (kbd "C-M-º") 0))  => 2234
>   (event-basic-type (event-basic-type (aref (read-key-sequence "Type
> C-M-º: ") 0))  => 186
>
> Now both return 2234.

In case anybody else is confused[*], 2234 is the emacs-mule internal
codepoint, 186 is the latin-1 (and unicode) codepoint.

[*] I was, though part of that is because "º" displays on my display
    as "U" for some reason, font problems or something...

-Miles

-- 
People who are more than casually interested in computers should have at
least some idea of what the underlying hardware is like.  Otherwise the
programs they write will be pretty weird.  -- Donald Knuth




reply via email to

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