[Top][All Lists]

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

Re: xml-parse-file and text properties

From: Stefan Monnier
Subject: Re: xml-parse-file and text properties
Date: Mon, 24 Jul 2006 16:51:10 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> One first step would be to write a function that operates on a string
> and discards all text properties except composition.  More generally,
> all except a certain specified list of property names.

> I think that should be done at the C level for speed.

Note that this won't be useful for Emacs-23 any more.  I'm not sure it's
wort the trouble.  After all, it's not specific to xml.el, far from that.
Are we going to go through every single using of buffer-substring and
buffer-substring-no-properties and see what should be done for each of them?

Stripping the `display' property may also result is text that's saved
correctly but displayed incorrectly.  Even `face' can do that (e.g.
with X-Symbol).  I don't think we want to go down that road right now.


reply via email to

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