[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Saving markup formats
From: |
Oliver Scholz |
Subject: |
Re: Saving markup formats |
Date: |
Wed, 20 Jun 2007 13:12:31 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Nic James Ferrier <address@hidden> writes:
[...]
> What do you think about the idea of an Emacs mode based on properties
> representing styles as I outlined earlier?
>
> The tiny OpenDoc example:
>
> #("Nic Ferrier - CV" 0 16 (element h2))
> #("Nic is a hacker with some crazy ideas" 0 37 (element para style p1))
Unless I am missing something, this is just one possible internal
representation of a tree-like data structure. In fact, I have once
experimented with this. Its main problem is that the data structure
would get corrupted in certain cases, especially when yanking text or
when some Lisp function is using `insert'. One way to deal with that,
would be to let font-lock automatically fix it. But this seems ugly.
More importantly, I understand that Richard is strongly opposed to any
such kind of data structure. So this wouldn't make any difference. If
a tree-like data structure is o.k., then---given the sensibility of
maintaining the integrity of said data structure---I, as a user, would
very much prefer some solution at the C-level. At least in the long
run. But actually, the specific internal representation is a secondary
issue. The general architecture and the UI is much more important and
I don't see any room for agreement there.
Oliver
--
Oliver Scholz 2 Messidor an 215 de la Révolution
Ostendstr. 61 Liberté, Egalité, Fraternité!
60314 Frankfurt a. M.
- Re: Saving markup formats, (continued)
- Re: Saving markup formats, Mathias Dahl, 2007/06/20
- Re: Saving markup formats, Nic James Ferrier, 2007/06/20
- Re: Saving markup formats, Mathias Dahl, 2007/06/20
- Re: Saving markup formats, Nic James Ferrier, 2007/06/20
- Re: Saving markup formats, Oliver Scholz, 2007/06/19
- Re: Saving markup formats, David Kastrup, 2007/06/20
- Re: Saving markup formats, Oliver Scholz, 2007/06/20
- Re: Saving markup formats, Nic James Ferrier, 2007/06/20
- Re: Saving markup formats,
Oliver Scholz <=
- Re: Saving markup formats, Nic James Ferrier, 2007/06/20
- Re: Saving markup formats, Oliver Scholz, 2007/06/20
- Re: Saving markup formats, Richard Stallman, 2007/06/20
- Re: Saving markup formats, Nic James Ferrier, 2007/06/20
- Re: Saving markup formats, Nic James Ferrier, 2007/06/20
- Re: Saving markup formats, Davis Herring, 2007/06/20
- Re: Saving markup formats, Nic James Ferrier, 2007/06/21
- Re: Saving markup formats, Thien-Thi Nguyen, 2007/06/21
- Re: Saving markup formats, Nic James Ferrier, 2007/06/21
- Re: Saving markup formats, Kim F. Storm, 2007/06/21