From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: JD Smith Newsgroups: gmane.emacs.devel Subject: Re: xml-parse-file and text properties Date: Fri, 21 Jul 2006 14:50:24 -0700 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1153518968 17533 80.91.229.2 (21 Jul 2006 21:56:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Jul 2006 21:56:08 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 21 23:56:05 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G42yK-0001bP-Ps for ged-emacs-devel@m.gmane.org; Fri, 21 Jul 2006 23:55:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G42yK-00040I-DG for ged-emacs-devel@m.gmane.org; Fri, 21 Jul 2006 17:55:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G42y2-0003wX-J4 for emacs-devel@gnu.org; Fri, 21 Jul 2006 17:55:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G42y1-0003vg-2k for emacs-devel@gnu.org; Fri, 21 Jul 2006 17:55:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G42y0-0003vd-TA for emacs-devel@gnu.org; Fri, 21 Jul 2006 17:55:28 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1G42yV-0007qD-K7 for emacs-devel@gnu.org; Fri, 21 Jul 2006 17:55:59 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1G42xi-0001UX-4d for emacs-devel@gnu.org; Fri, 21 Jul 2006 23:55:10 +0200 Original-Received: from turtle.as.arizona.edu ([128.196.208.207]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Jul 2006 23:55:09 +0200 Original-Received: from jdsmith by turtle.as.arizona.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Jul 2006 23:55:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 19 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: turtle.as.arizona.edu User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table) 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:57452 Archived-At: On Fri, 21 Jul 2006 16:22:22 -0400, Stefan Monnier wrote: > Clearly, in the case of xml-parse-file, I see no reason why we shouldn't > strip all properties. After all, it's supposed to parse the *file*, not the > buffer, and files don't have those text properties. It parses the buffer directly if the file is already loaded, but I agree with your point. > The argument that we need to preserve the `composition' property doesn't > seem valid: this property can be computed from the sequence of chars. The remaining question is are there *any* xml- routines for which returning properties *is* desirable. Otherwise, replacing {buffer,match}-string with the -no-properties version throughout xml.el works. JD