[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Formatting of XML
From: |
Oliver White |
Subject: |
Re: Formatting of XML |
Date: |
26 Nov 2002 18:41:15 -0800 |
"Stefan Monnier <foo@acm.com>" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu>
wrote in message news:<5lu1i4nzb9.fsf@rum.cs.yale.edu>...
> The distributed version of sgml-mode does not support automatic indentation.
> The development one does, tho (it basically merged in the xml-lite code
> mentioned by Michael, with a few extra fixes/improvements (and new bugs
> as well, I'm sure)). Get it from:
>
> http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/lisp/textmodes/sgml-mode.el?rev=HEAD
It's not so much auto-indenting that I'm worried about, it's just that
I simply cannot indent at all with the tab key, beyond the level of
indentation of the tag I'm in.
For instance, if I have this text:
<schema>
<pattern name="foo">
</pattern>
</schema>
and I insert a new line within the pattern tags, I can't tab beyond
that single level of indentation.
Also... how would I install the el file you offered?
Cheers,
Oli White
Software Engineer
Westinghouse Signals Australia