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: set-char-table-range with charset arguments Date: Wed, 10 Dec 2003 21:17:58 -0600 (CST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200312110317.hBB3HwW29087@raven.dms.auburn.edu> References: <200312110213.hBB2DsO28953@raven.dms.auburn.edu> <200312110252.LAA18410@etlken.m17n.org> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1071113310 11200 80.91.224.253 (11 Dec 2003 03:28:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Dec 2003 03:28:30 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Dec 11 04:28:25 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AUHV3-0006jr-00 for ; Thu, 11 Dec 2003 04:28:25 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AUHV2-0007Be-00 for ; Thu, 11 Dec 2003 04:28:24 +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 1AUIPQ-0005vK-Ka for emacs-devel@quimby.gnus.org; Wed, 10 Dec 2003 23:26:40 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AUIPL-0005sX-LX for emacs-devel@gnu.org; Wed, 10 Dec 2003 23:26:35 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AUIOp-0005GC-FV for emacs-devel@gnu.org; Wed, 10 Dec 2003 23:26:34 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AUIOp-0005FY-1i for emacs-devel@gnu.org; Wed, 10 Dec 2003 23:26: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 hBB3OnKk027375; Wed, 10 Dec 2003 21:24:49 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id hBB3HwW29087; Wed, 10 Dec 2003 21:17:58 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: handa@m17n.org In-reply-to: <200312110252.LAA18410@etlken.m17n.org> (message from Kenichi Handa on Thu, 11 Dec 2003 11:52:00 +0900 (JST)) 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:18631 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18631 Ken'ichi Handa wrote: And, I've just noticed that the docstring says that RANGE may be a coding system, but the code doesn't handle it. The only meaningful interpretation of RANGE being a coding system is to treat all characters supported by the coding system as target. But, I think we don't have to support such a facility. So, I suggest to delete that part from the docstring. Actually the docstring of `set-char-table-range' says: Set the value in CHAR-TABLE for a range of characters RANGE to VALUE. RANGE should be t (for all characters), nil (for the default value) a vector which identifies a character set or a row of a character set, a coding system, or a character code. Note that it not only wrongly mentions "coding system", but also fails to mention "character set" (as such, that is, a symbol). Maybe the docstring should say: Set the value in CHAR-TABLE for a range of characters RANGE to VALUE. RANGE should be t (for all characters), nil (for the default value), a character set, a vector which identifies a character set or a row of a character set, or a character code. Return VALUE. Sincerely, Luc.