From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: kbd vs read-key-sequence Date: Sun, 01 Apr 2007 16:35:30 -0400 Message-ID: References: <4610139D.3060909@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1175459754 14355 80.91.229.12 (1 Apr 2007 20:35:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 1 Apr 2007 20:35:54 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org, rms@gnu.org, handa@m17n.org To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 01 22:35:47 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 1HY6m6-00074Z-F3 for ged-emacs-devel@m.gmane.org; Sun, 01 Apr 2007 22:35:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HY6p3-0004Ku-C4 for ged-emacs-devel@m.gmane.org; Sun, 01 Apr 2007 16:38:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HY6p0-0004Fs-3k for emacs-devel@gnu.org; Sun, 01 Apr 2007 16:38:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HY6ow-00047r-Ib for emacs-devel@gnu.org; Sun, 01 Apr 2007 16:38:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HY6ow-00047j-ES for emacs-devel@gnu.org; Sun, 01 Apr 2007 16:38:38 -0400 Original-Received: from tomts20.bellnexxia.net ([209.226.175.74] helo=tomts20-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HY6lw-0008W1-Ak; Sun, 01 Apr 2007 16:35:32 -0400 Original-Received: from pastel.home ([70.53.194.92]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070401203531.HCPI1637.tomts20-srv.bellnexxia.net@pastel.home>; Sun, 1 Apr 2007 16:35:31 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id DA6087F3C; Sun, 1 Apr 2007 16:35:30 -0400 (EDT) In-Reply-To: <4610139D.3060909@gnu.org> (Jason Rumney's message of "Sun\, 01 Apr 2007 21\:18\:37 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux) X-detected-kernel: Solaris 8 (1) 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:68898 Archived-At: >> There's no indication that doing it right (i.e. doing the coding-system >> decoding somewhere in the w32 code which turns w32 events into elisp events) >> is difficult. AFAICT nobody has really tried to do it. > Anything to do with coding-systems in C code is difficult. Especially when > almost every encoding on Windows involves autoloaded CCL based > coding-systems. It doesn't have to be done in C. Since decoding may run elisp code, it has to be done somewhere where lisp can be run, so you may as well do it by calling an elisp routine from C. Of course, you have to figure out where to do it, and make sure that it's indeed a place where lisp can be run. Stefan