Indentation problem

[email protected] (Matt Armstrong)
Newsgroups gmane.emacs.psgml.user
Message-ID <[email protected]>
I'm running into an indentation problem with psgml 1.2.5.

The beginning of my document looks like this:

<?xml version="1.0"?>
<!DOCTYPE wml SYSTEM "/home/maarmstr/dtd/wml13.dtd">
<wml>
  <card title="Compose This">
     <p>
<select>

PSGML thinks that <select> should begin on the first column.  Tracing
through the code I find that sgml-indent-line bails when trying to come
up with an indentation for the <select> tag because sgml-element-data-p
returns true for the <p> element.

Translation: it seems like PSGML does not want to indent an element if
its enclosing element can contain text (CDATA).  This is the case for
the DTD I'm using.

Is this true of PSGML?

If so, how do you get reasonable indentation in cases like this?

-- 
matt


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.