Re: Loading local version of psgml turns of syntax coloring

Lennart Staflin <[email protected]>
Newsgroups gmane.emacs.psgml.user
Message-ID <[email protected]>
On måndag, september 23, 2002, at 10:56 , Ville Skyttä wrote:
>
> AFAICT, the official psgml doesn't use font-lock at all.  The version
> distributed with XEmacs basically sets HTML (!) font-lock defaults into
> use for xml-mode [1].
>
> To enable psgml's built-in syntax highlighting, you'll need to have a
> DTD declared in your XML and available for psgml.  And have
> sgml-auto-activate-dtd set to t.  Someone please correct if I'm wrong.
>

Thats right. I have not tried PSGML on XEmacs in a long time. But to 
enable PSGML's fontification i recommend:

(setq sgml-auto-activate-dtd t
       sgml-set-face t
       sgml-use-text-properties t)

//Lennart



-------------------------------------------------------
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.