From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Problems with xml-parse-string Date: Tue, 21 Sep 2010 19:00:00 -0400 Message-ID: <87pqw6d7nz.fsf@stupidchicken.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285110027 3194 80.91.229.12 (21 Sep 2010 23:00:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Sep 2010 23:00:27 +0000 (UTC) Cc: "Mark A. Hershberger" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 22 01:00:25 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 1OyBp0-0000IS-VS for ged-emacs-devel@m.gmane.org; Wed, 22 Sep 2010 01:00:23 +0200 Original-Received: from localhost ([127.0.0.1]:49875 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OyBp0-0003ze-At for ged-emacs-devel@m.gmane.org; Tue, 21 Sep 2010 19:00:22 -0400 Original-Received: from [140.186.70.92] (port=60448 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OyBov-0003zT-AD for emacs-devel@gnu.org; Tue, 21 Sep 2010 19:00:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OyBor-0004pV-Si for emacs-devel@gnu.org; Tue, 21 Sep 2010 19:00:17 -0400 Original-Received: from pantheon-po43.its.yale.edu ([130.132.50.104]:54373) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OyBor-0004pN-PX for emacs-devel@gnu.org; Tue, 21 Sep 2010 19:00:13 -0400 Original-Received: from furry (dhcp128036014154.central.yale.edu [128.36.14.154]) (authenticated bits=0) by pantheon-po43.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o8LN00wB000810 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 21 Sep 2010 19:00:00 -0400 Original-Received: by furry (Postfix, from userid 1000) id 1F4E616D402; Tue, 21 Sep 2010 19:00:00 -0400 (EDT) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Wed, 15 Sep 2010 11:21:06 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 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:130588 Archived-At: Lars Magne Ingebrigtsen writes: > Stefan Monnier writes: > >> Yes, it's conceivable, but maybe the args and/or output would look >> different anyway. > > If we kept the name, then we'd keep the interface. :-) > > Anyway, it's not important to me. If y'all want the names to be > `libxml-parse-html-string'/`libxml-parse-xml-string', that's fine by > me. A `libxml' prefix sounds a bit weird to me. When we link to the GPM library, the functions are `gpm-mouse-*' not `libgpm-mouse-*'. I think the xml.el package needs to be re-written with the new libxml2 support in mind, so that it makes use of the libxml functions if they are available and fall back on the Elisp parser. >From this point of view, the new functions should be called xml-parse-string-internal or something like that.