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: Juanma Barranquero
Subject: Re: assertion failed: c == event->code
Date: Sun, 16 Dec 2007 21:53:09 +0100

On Dec 16, 2007 9:49 PM, Jason Rumney <address@hidden> wrote:

> Does it give correct results?

How do you define "correct results"? Your patch + the change I propose
solve an old bug I reported (the discussion is at
http://thread.gmane.org/gmane.emacs.devel/67080) were

  (global-set-key (kbd "C-M-º") 'my-command)

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.

> If there is a ctrl bit to filter out, then lets filter it out.

Sorry, I don't understand what you mean.

             Juanma

reply via email to

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