From: Oliver Scholz <alkibiades@gmx.de>
To: Nic James Ferrier <nferrier@tapsellferrier.co.uk>
Cc: emacs-devel@gnu.org, Oliver Scholz <alkibiades@gmx.de>
Subject: Re: Saving markup formats
Date: Wed, 20 Jun 2007 14:36:37 +0200 [thread overview]
Message-ID: <87wsxyol9m.fsf@gmx.de> (raw)
In-Reply-To: 871wg6yirv.fsf@kanga.tapsellferrier.co.uk
Nic James Ferrier <nferrier@tapsellferrier.co.uk> writes:
> Oliver Scholz <alkibiades@gmx.de> writes:
>
>>> #("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.
>
> I thought the rms was saying "why store data somewhere other than a
> buffer?". In other words, why add DOM (for example) to Emacs so that
> we can store text in it when we already have text buffers?
If you use buffers and text-properties (or overlays) as an internal
represenation of the XML infoset (or the XDL of XPath) and then add an
according API, then you have DOM, or something very DOM-like. On the
other hand, if you do something at the C-level (whatever it is) and
make sure that the integration with the rest of Emacs is right, i.e.
that killing text in a WP buffer and yanking text in a source code
buffer DTRT (whatever the right thing is ...) and vice versa, then
"you can kill text anywhere and yank it anywhere". My reading of
Richards post was different, I sense a deep conceptual disagreement
behind the sentence: "It is an important feature of Emacs that text is
a sequence of characters, not structured." Otherwise, I really think
that the internal representation is a secondary issue, the decision
about which depending on possibly conflicting parameters like
robustness, performance, aesthetics and work needed for
implementation. The UI is relevant there, too, but that is another can
of worms.
Oliver
--
Oliver Scholz 2 Messidor an 215 de la Révolution
Ostendstr. 61 Liberté, Egalité, Fraternité!
60314 Frankfurt a. M.
next prev parent reply other threads:[~2007-06-20 12:36 UTC|newest]
Thread overview: 69+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <871wgi9jzb.fsf@jidanni.org>
[not found] ` <87odjlwpu1.fsf@jurta.org>
[not found] ` <E1HyNsO-000697-UX@fencepost.gnu.org>
[not found] ` <87ir9r1m99.fsf@jurta.org>
[not found] ` <E1Hys3j-0004Ml-Vp@fencepost.gnu.org>
[not found] ` <87myz2i9tj.fsf@jurta.org>
[not found] ` <E1HzHMV-0002cZ-DJ@fencepost.gnu.org>
[not found] ` <87r6ocx0tk.fsf_-_@jurta.org>
[not found] ` <E1HzdLq-0006ns-K7@fencepost.gnu.org>
2007-06-16 19:56 ` Saving markup formats Reiner Steib
2007-06-17 18:54 ` Juri Linkov
2007-06-17 21:08 ` Nic James Ferrier
2007-06-17 21:18 ` Lennart Borgman (gmail)
2007-06-17 21:57 ` Juri Linkov
2007-06-17 22:13 ` Lennart Borgman (gmail)
2007-06-17 22:27 ` Nic James Ferrier
2007-06-17 22:37 ` Lennart Borgman (gmail)
2007-06-17 22:47 ` Nic James Ferrier
2007-06-17 23:02 ` Lennart Borgman (gmail)
2007-06-17 23:13 ` Nic James Ferrier
2007-06-17 23:46 ` Lennart Borgman (gmail)
2007-06-18 8:03 ` Nic James Ferrier
2007-06-18 8:26 ` Lennart Borgman (gmail)
2007-06-18 8:44 ` Nic James Ferrier
2007-06-18 9:25 ` Dave Pawson
2007-06-18 21:25 ` Juri Linkov
2007-06-18 22:13 ` Nic James Ferrier
2007-06-19 7:18 ` Dave Pawson
2007-06-19 7:41 ` Nic James Ferrier
2007-06-17 23:08 ` Jason Rumney
2007-06-18 0:30 ` XML editing wishlist (was: Saving markup formats) Drew Adams
2007-06-18 8:10 ` XML editing wishlist Lennart Borgman (gmail)
2007-06-18 13:51 ` Drew Adams
2007-06-18 14:39 ` Lennart Borgman (gmail)
2007-06-19 23:57 ` Lennart Borgman (gmail)
2007-06-20 20:49 ` Vagn Johansen
2007-06-17 21:55 ` Saving markup formats Juri Linkov
2007-06-18 21:31 ` Richard Stallman
2007-06-18 0:05 ` Oliver Scholz
2007-06-18 21:19 ` Juri Linkov
2007-06-19 7:43 ` Oliver Scholz
2007-06-19 13:38 ` Drew Adams
2007-06-19 13:59 ` Stefan Monnier
2007-06-19 22:25 ` Richard Stallman
2007-06-19 23:40 ` Nic James Ferrier
2007-06-20 0:10 ` Lennart Borgman (gmail)
2007-06-20 0:22 ` Nic James Ferrier
2007-06-20 0:38 ` Lennart Borgman (gmail)
2007-06-20 1:02 ` Nic James Ferrier
2007-06-20 2:19 ` Jeremy Maitin-Shepard
2007-06-20 8:51 ` David House
2007-06-20 10:16 ` Nic James Ferrier
2007-06-20 10:46 ` David House
2007-06-20 10:56 ` Nic James Ferrier
2007-06-20 9:45 ` Mathias Dahl
2007-06-20 10:19 ` Nic James Ferrier
2007-06-20 11:20 ` Mathias Dahl
2007-06-20 11:49 ` Nic James Ferrier
2007-06-20 0:08 ` Oliver Scholz
2007-06-20 5:37 ` David Kastrup
2007-06-20 10:05 ` Oliver Scholz
2007-06-20 10:23 ` Nic James Ferrier
2007-06-20 11:12 ` Oliver Scholz
2007-06-20 11:20 ` Nic James Ferrier
2007-06-20 12:36 ` Oliver Scholz [this message]
2007-06-20 17:36 ` Richard Stallman
2007-06-20 20:10 ` Nic James Ferrier
2007-06-21 0:05 ` Nic James Ferrier
2007-06-21 3:59 ` Davis Herring
2007-06-21 7:56 ` Nic James Ferrier
2007-06-21 10:07 ` Thien-Thi Nguyen
2007-06-21 10:31 ` Nic James Ferrier
2007-06-21 10:52 ` Kim F. Storm
2007-06-21 12:50 ` Thien-Thi Nguyen
2007-06-21 13:05 ` Davis Herring
2007-06-21 13:23 ` Nic James Ferrier
2007-06-22 1:51 ` Richard Stallman
2007-06-21 17:32 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wsxyol9m.fsf@gmx.de \
--to=alkibiades@gmx.de \
--cc=emacs-devel@gnu.org \
--cc=nferrier@tapsellferrier.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.