From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: char-table-range Date: Mon, 16 Feb 2004 13:08:48 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200402160408.NAA17452@etlken.m17n.org> References: <200402160043.JAA17207@etlken.m17n.org> <200402160212.i1G2Cbq04302@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1076904873 2008 80.91.224.253 (16 Feb 2004 04:14:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 Feb 2004 04:14:33 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Feb 16 05:14:21 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 1Asa9F-0007kk-00 for ; Mon, 16 Feb 2004 05:14:21 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Asa9E-0005hk-00 for ; Mon, 16 Feb 2004 05:14:20 +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 1Asa4g-0001jA-4u for emacs-devel@quimby.gnus.org; Sun, 15 Feb 2004 23:09:38 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Asa4a-0001j4-BX for emacs-devel@gnu.org; Sun, 15 Feb 2004 23:09:32 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Asa44-0001Q8-Cy for emacs-devel@gnu.org; Sun, 15 Feb 2004 23:09:31 -0500 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Asa43-0001Q1-Pi for emacs-devel@gnu.org; Sun, 15 Feb 2004 23:09:00 -0500 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2]) by tsukuba.m17n.org (8.11.6p2/3.7W-20010518204228) with ESMTP id i1G48nd28388; Mon, 16 Feb 2004 13:08:49 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by fs.m17n.org (8.11.6p2/3.7W-20010823150639) with ESMTP id i1G48nE04327; Mon, 16 Feb 2004 13:08:49 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id NAA17452; Mon, 16 Feb 2004 13:08:48 +0900 (JST) Original-To: teirllm@dms.auburn.edu In-reply-to: <200402160212.i1G2Cbq04302@raven.dms.auburn.edu> (message from Luc Teirlinck on Sun, 15 Feb 2004 20:12:37 -0600 (CST)) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) 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:19963 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19963 In article <200402160212.i1G2Cbq04302@raven.dms.auburn.edu>, Luc Teirlinck writes: > I did not realize that currently, for charsets different from ascii and > eight-bit-{control,graphic}, char-table-range actually returns the > entire range of values if the value is not uniform. So this could be > a fifth possibility, since it appears to be the current situation: No. I think it is a serious bug because that returned value is a sub-char-table which should not be exposed to Lisp. > My own opinion would be to have char-table-range return the default > value, except for ascii and eight-bit-{control,graphic} which do not > have a default value. For those it would seem to me that the best > thing to do would be to throw an error. Actually, we can think that a char-table has a default value for ascii and eight-bit-xxx. It is the default value of the char-table itself. So, I now think that your idea of returning the default value is good. --- Ken'ichi HANDA handa@m17n.org