emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xml-parse-file and text properties


From: JD Smith
Subject: Re: xml-parse-file and text properties
Date: Fri, 21 Jul 2006 14:50:24 -0700
User-agent: Pan/0.14.2.91 (As She Crawled Across the Table)

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]