[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xml-parse-file and text properties
From: |
Kenichi Handa |
Subject: |
Re: xml-parse-file and text properties |
Date: |
Mon, 24 Jul 2006 10:51:16 +0900 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) |
In article <address@hidden>, Richard Stallman <address@hidden> writes:
> The argument that we need to preserve the `composition' property doesn't
> seem valid: this property can be computed from the sequence of chars.
> Handa, is it true that the composition property can always be recomputed
> from the sequence of characters?
Usually yes, but not always. All normal compositions
(i.e. compositions for displaying a script in the correct
way) are registered in composition-function-table (a
char-table). So, by looking up the table for each
character, we can recover compositions (though very slow).
But, it's possible to manually compose some text. For
instance please try this:
(insert (compose-string "+o" 0 2 '(?+ (tc . bc) ?o)))
It inserts "+o" with composition property that can't be
recovered automatically once lost.
---
Kenichi Handa
address@hidden
- Re: xml-parse-file and text properties, (continued)
Re: xml-parse-file and text properties, Richard Stallman, 2006/07/20
Re: xml-parse-file and text properties, Stefan Monnier, 2006/07/21
- Re: xml-parse-file and text properties, JD Smith, 2006/07/21
- Re: xml-parse-file and text properties, Stefan Monnier, 2006/07/21
- Re: xml-parse-file and text properties, JD Smith, 2006/07/21
- Re: xml-parse-file and text properties, Richard Stallman, 2006/07/22
- Re: xml-parse-file and text properties,
Kenichi Handa <=
- Re: xml-parse-file and text properties, Stefan Monnier, 2006/07/23
- Re: xml-parse-file and text properties, Kenichi Handa, 2006/07/24
- 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