From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: assertion failed: c == event->code Date: Mon, 17 Dec 2007 06:25:22 +0900 Message-ID: <878x3ujprx.fsf@catnip.gol.com> References: <47613EC3.7020004@gnu.org> <47624334.109@gnu.org> <476275B1.7040202@gnu.org> <47658F6E.4020800@gnu.org> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1197840353 31269 80.91.229.12 (16 Dec 2007 21:25:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Dec 2007 21:25:53 +0000 (UTC) Cc: Kenichi Handa , emacs-devel@gnu.org, monnier@iro.umontreal.ca, Jason Rumney To: "Juanma Barranquero" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 16 22:26:03 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J40zq-0003rf-9v for ged-emacs-devel@m.gmane.org; Sun, 16 Dec 2007 22:26:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J40zX-0006DD-1u for ged-emacs-devel@m.gmane.org; Sun, 16 Dec 2007 16:25:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J40zT-0006D5-Ae for emacs-devel@gnu.org; Sun, 16 Dec 2007 16:25:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J40zR-0006BW-Fa for emacs-devel@gnu.org; Sun, 16 Dec 2007 16:25:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J40zR-0006BT-9A for emacs-devel@gnu.org; Sun, 16 Dec 2007 16:25:37 -0500 Original-Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J40zI-0004th-AH; Sun, 16 Dec 2007 16:25:29 -0500 Original-Received: from 203-216-100-114.dsl.gol.ne.jp ([203.216.100.114] helo=catnip.gol.com) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1J40zE-0003dF-2J; Mon, 17 Dec 2007 06:25:24 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id D9E7D2FF7; Mon, 17 Dec 2007 06:25:22 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: (Juanma Barranquero's message of "Sun, 16 Dec 2007 21:53:09 +0100") Original-Lines: 24 X-Abuse-Complaints: abuse@gol.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:85194 Archived-At: "Juanma Barranquero" 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-=C2=BA") 0)) =3D> 2234 > (event-basic-type (event-basic-type (aref (read-key-sequence "Type > C-M-=C2=BA: ") 0)) =3D> 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 "=C2=BA" displays on my display as "U" for some reason, font problems or something... -Miles --=20 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