From: James Clark <jjc@jclark.com>
Subject: Re: emacs and libxml2 (for emacs w3)
Date: Wed, 24 Sep 2003 18:14:14 +0700 [thread overview]
Message-ID: <3F717C86.7030600@jclark.com> (raw)
In-Reply-To: <E1A25D4-0000dX-Np@fencepost.gnu.org>
Richard Stallman wrote:
> We could make Emacs link with it if that is technically a good idea.
It does not seem a technically good idea to me. I think it's much
better to have a XML library designed specifically to work with Emacs
from the start and I see no compelling reason for it to be in C. Using
a general-purpose XML parser like libxml2 would be very limiting. For
example, an Emacs-specific parser can be designed to take advantage of
the after-change-functions hook and do incremental parsing and
validation. A typical general-purpose parser like libxml2 is not
designed to do this sort of thing.
For the last few months, I've been working on new XML support for Emacs.
There's a user-oriented overview of the initial release at:
http://www.xmlhack.com/read.php?item=2061
It's built on top of a low-level XML parsing layer that's designed to
support a broad range of different kinds of XML processing that are
useful in Emacs, such as
- font lock
- XML syntax aware editing (functionality like parse-partial-sexp for XML)
- incremental validation to support context/schema-sensitive completion
(like PSGML)
- doing what xml.el does (i.e. parsing XML into a list form that is
convenient for further processing in Lisp)
It's still early days, but I think this is technically a better
direction that linking to a general-purpose XML library like libxml2.
James
next prev parent reply other threads:[~2003-09-24 11:14 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-21 18:48 emacs -q -nw --color=never Luc Teirlinck
2003-09-21 19:31 ` emacs and libxml2 (for emacs w3) Nic Ferrier
2003-09-22 9:05 ` Richard Stallman
2003-09-23 11:05 ` Nic Ferrier
2003-09-24 8:41 ` Richard Stallman
2003-09-24 11:14 ` James Clark [this message]
2003-09-24 12:42 ` Stefan Monnier
2003-09-24 19:35 ` Nic Ferrier
2003-09-25 5:31 ` James Clark
2003-09-25 23:45 ` Alex Schroeder
2003-09-21 23:02 ` emacs -q -nw --color=never Robert J. Chassell
2003-09-22 9:05 ` Richard Stallman
2003-09-22 16:48 ` Eli Zaretskii
2003-09-22 17:04 ` Eli Zaretskii
2003-09-22 16:47 ` Luc Teirlinck
2003-09-24 12:47 ` Richard Stallman
2003-09-24 18:35 ` Eli Zaretskii
2003-09-25 23:20 ` Richard Stallman
2003-09-27 12:18 ` Eli Zaretskii
2003-09-28 15:34 ` Richard Stallman
2003-09-28 21:50 ` Eli Zaretskii
2003-09-29 19:31 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F717C86.7030600@jclark.com \
--to=jjc@jclark.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).