From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: idn.el and confusables.txt Date: Sun, 15 May 2011 22:06:23 +0900 Message-ID: <87ei40un8w.fsf@m17n.org> References: <83iptdg0yr.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1305464842 6809 80.91.229.12 (15 May 2011 13:07:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 15 May 2011 13:07:22 +0000 (UTC) Cc: tzz@lifelogs.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 15 15:07:18 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QLb2U-0007RY-77 for ged-emacs-devel@m.gmane.org; Sun, 15 May 2011 15:07:18 +0200 Original-Received: from localhost ([::1]:47423 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QLb2T-0001Wz-Ky for ged-emacs-devel@m.gmane.org; Sun, 15 May 2011 09:07:17 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:46752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QLb2R-0001Wm-6x for emacs-devel@gnu.org; Sun, 15 May 2011 09:07:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QLb2Q-0005JK-C6 for emacs-devel@gnu.org; Sun, 15 May 2011 09:07:15 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:61634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QLb2O-0005IA-94; Sun, 15 May 2011 09:07:12 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id p4FD76xS026678; Sun, 15 May 2011 22:07:06 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id p4FD76Rb007841; Sun, 15 May 2011 22:07:06 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id p4FD75Fs009056; Sun, 15 May 2011 22:07:05 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by ubuntu with local (Exim 4.71) (envelope-from ) id 1QLb1b-0001Pp-GB; Sun, 15 May 2011 22:06:23 +0900 In-Reply-To: <83iptdg0yr.fsf@gnu.org> (message from Eli Zaretskii on Sat, 14 May 2011 11:06:52 +0300) X-detected-operating-system: by eggs.gnu.org: Solaris 9 X-Received-From: 150.29.246.133 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:139415 Archived-At: In article <83iptdg0yr.fsf@gnu.org>, Eli Zaretskii writes: > You see, the uni-*.el files we create out of the Unicode DB are not > used anywhere in application code, AFAIK. We use them to display > character properties in the likes of "C-u C-x =", and that's it. composite.el uses `general-category' and `canonical-combining-class'. ucs-normalize.el uses `decomposition' and `canonical-combining-class'. mule-cmds.el uses `name' and `old-name' for read-char-by-name. > I'm > not even sure they are organized in a way that makes them useful. > E.g., when I needed to use the Unicode bidirectional properties for > bidi reordering, I eventually was forced to create my own tables (see > src/biditype.h and src/bidimirror.h, and the corresponding Awk scripts > in admin/unidata/) which lend themselves well to using them in > real-life code. Why did you have to create another table? Was it because get-char-code-property is defiend by Lisp and not efficient to call from C? --- Kenichi Handa handa@m17n.org