incorrect indentation according to element nesting depth after <tag/>
Jochen Hayek <[email protected]> Mon, 09 Apr 2007 20:34:22 +0200
| Newsgroups | gmane.emacs.psgml.user |
|---|---|
| Message-ID | <[email protected]> |
>>>>> Steinar Bang writes:
>>>>> Jochen Hayek:
JH> But may I try to direct your interest towards my original question:
JH> Can I make psgml support that style?
JH> I mean so that it properly indents also after the occurrence of such
JH> a beast?
This is what I was talking about,
so that others have a little context:
<tag/>
Let's call this an "opening tag, that's also immediately closed" for better understanding.
SB> I think that's supposed to happend automatically
The buffer is in xml mode, but it doesn't happen automatically.
No, indentation is spoilt after <tag/> .
SB> if psgml is aware that your file is an XML file,
SB> and not an SGML file.
But that's valid syntax also for sgml mode, isn't it?!?
SB> I can't offhand remember what triggers XML mode, for a file.
In my case:
<!-- Local variables: -->
<!-- mode: xml -->
<!-- sgml-...:... -->
<!-- End: -->
J.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV