>>>> "Jerry" == Jerry James
<james(a)eecs.ukans.edu> writes:
Jerry> Aha! Note that you were parsing the prolog *in SGML mode*!
Jerry> The real problem here is that the ".html" extension, in
Jerry> conjunction with auto-mode-alist, puts you into html-mode,
Jerry> which is a descendant of sgml-mode.
<snip>
APA> I had this problem too. I think you need to edit XHTML
APA> documents in xml-mode! PSGML should switch to xml-mode based
APA> on a XHTML DTD, I think.
Jerry & Adrian,
This fixes my problems -- thanks a lot. In retrospect this all makes
sense, but it was not intuitive the first time around. I agree that
PSGML should deduce XML or SGML when entering html-mode. I bet this
is going to be a FAQ once XHTML becomes more popular.
APA> Here's what I did for the XEmacs website at
APA>
http://xemacs.sourceforge.net/[1]
I added this trick to my .emacs
Gleb