From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: char-table-range Date: Wed, 18 Feb 2004 19:52:32 -0600 (CST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200402190152.i1J1qWi21231@raven.dms.auburn.edu> References: <200402160043.JAA17207@etlken.m17n.org> <200402160130.i1G1UKG04241@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1077156174 10917 80.91.224.253 (19 Feb 2004 02:02:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Feb 2004 02:02:54 +0000 (UTC) Cc: emacs-devel@gnu.org, handa@m17n.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Feb 19 03:02:42 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AtdWT-0000UO-00 for ; Thu, 19 Feb 2004 03:02:41 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AtdWT-0004U0-00 for ; Thu, 19 Feb 2004 03:02:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AtdOJ-0007VG-EK for emacs-devel@quimby.gnus.org; Wed, 18 Feb 2004 20:54:15 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AtdOD-0007V9-Bj for emacs-devel@gnu.org; Wed, 18 Feb 2004 20:54:09 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AtdNg-0007NT-Ka for emacs-devel@gnu.org; Wed, 18 Feb 2004 20:54:07 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AtdN9-0007Jg-41; Wed, 18 Feb 2004 20:53:03 -0500 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id i1J1r0Kt025208; Wed, 18 Feb 2004 19:53:00 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id i1J1qWi21231; Wed, 18 Feb 2004 19:52:32 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Wed, 18 Feb 2004 18:38:40 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20062 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20062 Actually, there is still something else that I find somewhat counter-intuitive about chartables and that is the identification of invalid characters with generic characters. Note how in the ielm run below, the "real" generic character for ipa, 6272, and the invalid character 6300 seem to be treated as identical. Is this intentional? ===File ~/new-chartable-ielm================================ *** Welcome to IELM *** Type (describe-mode) for help. ELISP> (put 'five-slots 'char-table-extra-slots 5) 5 ELISP> (setq cc (make-char-table 'five-slots 2)) ELISP> (make-char 'ipa) 6272 ELISP> (split-char 6320) (ipa 48) ELISP> (char-valid-p 6300) nil ELISP> (aset cc 6320 3) 3 ELISP> (aref cc 6272) 2 ELISP> (aref cc 6320) 3 ELISP> (aset cc 6300 "invalid char") "invalid char" ELISP> (aref cc 6272) "invalid char" ELISP> (aref cc 6320) "invalid char" ELISP> ============================================================