From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: kbd vs read-key-sequence Date: Mon, 02 Apr 2007 15:00:47 +0300 Message-ID: References: <4610139D.3060909@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1175515353 13247 80.91.229.12 (2 Apr 2007 12:02:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Apr 2007 12:02:33 +0000 (UTC) Cc: handa@m17n.org, emacs-devel@gnu.org, rms@gnu.org, jasonr@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 02 14:02:24 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 1HYLEt-0003tb-TJ for ged-emacs-devel@m.gmane.org; Mon, 02 Apr 2007 14:02:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYLHv-0003Ik-DV for ged-emacs-devel@m.gmane.org; Mon, 02 Apr 2007 08:05:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HYLGl-0002CS-DC for emacs-devel@gnu.org; Mon, 02 Apr 2007 08:04:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HYLGh-000280-Eg for emacs-devel@gnu.org; Mon, 02 Apr 2007 08:04:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYLGh-00027g-5W for emacs-devel@gnu.org; Mon, 02 Apr 2007 08:04:15 -0400 Original-Received: from heller.inter.net.il ([213.8.233.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HYLDc-0001RP-Q3; Mon, 02 Apr 2007 08:01:05 -0400 Original-Received: from HOME-C4E4A596F7 ([81.5.34.87]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id CGL02084 (AUTH halo1); Mon, 2 Apr 2007 15:00:42 +0300 (IDT) In-reply-to: (message from Stefan Monnier on Sun, 01 Apr 2007 16:35:30 -0400) X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) 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:68928 Archived-At: > Cc: rms@gnu.org, Eli Zaretskii , handa@m17n.org, > emacs-devel@gnu.org > From: Stefan Monnier > Date: Sun, 01 Apr 2007 16:35:30 -0400 > > > 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. In the middle of keyboard-reading code, this is a highly complicated way of committing suicide. Especially since the w32 keyboard processing is split between two threads, unlike on other platforms. > 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. Exactly.