[Top][All Lists]
[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:45:27 -0700 |
User-agent: |
Pan/0.14.2.91 (As She Crawled Across the Table) |
On Fri, 21 Jul 2006 16:52:37 -0400, Thien-Thi Nguyen wrote:
> JD Smith <address@hidden> writes:
>
>> I'm parsing a very large XML file
>> [...]
>> never loaded into an active buffer
>
> do you use `xml-parse-file' w/ a FILE that refers to a file not currently
> visited (in a buffer)? looks like `xml-parse-file' uses `find-file' to
> handle that case. maybe something like the following would give better
> results?
This is similar to the improved method Richard proposed yesterday
(insert-file-contents using a temporary buffer). Remarkably enough
(and highly surprising to me), even inserting the XML file contents in
a temporary buffer is enough to get '(fontified nil) text properties
added all over, which xml-parse-file dutifully returns (unless
modified with *-no-properties).
JD
- Re: xml-parse-file and text properties, (continued)
- Re: xml-parse-file and text properties, Richard Stallman, 2006/07/24
- Re: xml-parse-file and text properties, Stuart D. Herring, 2006/07/24
- Re: xml-parse-file and text properties, Richard Stallman, 2006/07/24
- Re: xml-parse-file and text properties, Stefan Monnier, 2006/07/25
- Re: xml-parse-file and text properties, Richard Stallman, 2006/07/25
- Re: xml-parse-file and text properties, Stefan Monnier, 2006/07/24
- Re: xml-parse-file and text properties, Richard Stallman, 2006/07/24
- Re: xml-parse-file and text properties, Thien-Thi Nguyen, 2006/07/21
- Re: xml-parse-file and text properties,
JD Smith <=
- Re: xml-parse-file and text properties, Eli Zaretskii, 2006/07/22
- Re: xml-parse-file and text properties, JD Smith, 2006/07/24
- Re: xml-parse-file and text properties, JD Smith, 2006/07/25
- Re: xml-parse-file and text properties, Stefan Monnier, 2006/07/25
- Re: xml-parse-file and text properties, JD Smith, 2006/07/25