From: Steinar Bang <sb@dod.no>
Subject: Re: xml package for emacs?
Date: Wed, 03 May 2006 21:06:06 +0200 [thread overview]
Message-ID: <87mzdzkjxd.fsf@dod.no> (raw)
In-Reply-To: 1146522133.272828.320600@j73g2000cwa.googlegroups.com
>>>>> "DaLoverhino" <DaLoveRhino@hotmail.com>:
> What do you suggest as an xml package for emacs? There seems to be a
> few. My qualifications are these:
I use psgml.
http://www.lysator.liu.se/projects/about_psgml.html
> 1. Package is available for gnu emacs on unix and windows.
Yes.
> 2. Takes advantage of color.
Yes.
> 3. Does indenting.
Yes.
> 4. Automatically closes out tag when you do a keystroke to close out
> tag.
> So, it will automatically insert "</tag>" for you.
Yes. The command sequence is `C-/'.
> 5. Can move between opening and closing tags,
Yes. `C-M-a' and `C-M-e' (equivalent to `C-a' and `C-e').
> and move upto enclosing tags.
Yes. `C-M-u'
> 1,4 and 5 are most important to me.
In addition to the above, psgml is DTD aware and give context
sensitive element insertion and context sensitive attribute insertion
and editing.
However, FWIW my long term plan is to move to nxml, because
1. it is under active support (or will be, once the maintainer gets
back to it)
2. has indirectly support fort for formats that are described with a
schema rather than a DTD, and a more flexible way of linking the
schema to a document than using a DOCTYPE
What keeps me from going to nxml, is that
1. my PSGML setup works for me the way it is
2. AFAIK nxml doesn't support the `C-c +' command
3. nxml can edit xhtml, but not old style HTML
...in short: intertia
prev parent reply other threads:[~2006-05-03 19:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-01 22:22 xml package for emacs? DaLoverhino
2006-05-01 22:45 ` Lennart Borgman
2006-05-02 6:47 ` Tim X
2006-05-03 4:14 ` Stefan Monnier
2006-05-03 19:06 ` Steinar Bang [this message]
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=87mzdzkjxd.fsf@dod.no \
--to=sb@dod.no \
/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.