From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: etc/nxml/*.el duplicate lisp/international/uni-name.el? Date: Tue, 19 Oct 2010 12:38:55 -0400 Message-ID: References: <877hhgkfdf.fsf@anar.kanru.info> <87k4lfpdrz.fsf@stupidchicken.com> <871v7milfx.fsf@anar.kanru.info> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1287506352 18099 80.91.229.12 (19 Oct 2010 16:39:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 19 Oct 2010 16:39:12 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kan-Ru Chen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 19 18:39:11 2010 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.69) (envelope-from ) id 1P8FDR-0007Ab-Qy for ged-emacs-devel@m.gmane.org; Tue, 19 Oct 2010 18:39:10 +0200 Original-Received: from localhost ([127.0.0.1]:36436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8FDQ-0003sa-Ne for ged-emacs-devel@m.gmane.org; Tue, 19 Oct 2010 12:39:08 -0400 Original-Received: from [140.186.70.92] (port=51507 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8FDJ-0003r0-2d for emacs-devel@gnu.org; Tue, 19 Oct 2010 12:39:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8FDH-0003wz-6q for emacs-devel@gnu.org; Tue, 19 Oct 2010 12:39:00 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:50754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8FDG-0003w7-TU for emacs-devel@gnu.org; Tue, 19 Oct 2010 12:38:59 -0400 Original-Received: from faina.iro.umontreal.ca (vpn-132-204-232-65.acd.umontreal.ca [132.204.232.65]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o9JGcuEw029134; Tue, 19 Oct 2010 12:38:56 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id D2420B4007; Tue, 19 Oct 2010 12:38:55 -0400 (EDT) In-Reply-To: <871v7milfx.fsf@anar.kanru.info> (Kan-Ru Chen's message of "Tue, 19 Oct 2010 17:25:06 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3653=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:131841 Archived-At: >>> It seems etc/nxml/*.el, some unicode name to code point tables, >>> are only used by `nxml-insert-named-char'. It looks like a variant of >>> `ucs-insert' while outputs NCR instead of real character. >>> Should nxml use `read-char-by-name' so we could remove a bunch of >>> duplicated data? >> The tables are also required by nxml-get-char-name, so we would also >> need a generic replacement for that. Help welcome. > But I am wondering what function/variable should be considered public > interface to be kept compatible. For example, currently nxml allow > customize nxml-enabled-unicode-blocks, so I have to keep it, but what > about other defuns/defvars? We generally don't know. So the best you can do is to make a wild guess (tho sometimes an internet search can help figure out if something is used by external packages), then post it here. If noone objects here, then it may/will get installed and maybe later we'll get complaints about this change, at which point we may try and adjust the implementation or accept the problem as an unfortunate consequence. In the case of nxml-enabled-unicode-blocks, it may not be necessary to preserve this customization, depending on what impact it may have. Stefan