"Stephen J. Turnbull" <turnbull(a)sk.tsukuba.ac.jp>
wrote:
>>>>> "APA" == Adrian Aichner <adrian(a)xemacs.org> writes:
APA> I should obviously rename that hook, since it's not in
APA> psgml*.el, but in batch-psgml-validate.el.
Better yet, send it to Lennart. He'll probably rename it, but
differently from the way you would ;-)
That won't do any good, unfortunately, because psgml-html.el is not part
of the PSGML distribution. It appears to be some unholy mix of
html-helper-mode.el and homegrown stuff, with chunks of
html-helper-mode.el ripped out and replaced with calls into PSGML. In
any case, Lennart most likely won't care about changes to it.
auto-mode-alist is clearly not appropriate to resolve this
ambiguity.
PSGML needs that functionality.
Short term, perhaps it would be better to change html-mode into
html-minor-mode, which works with either of the major modes sgml-mode or
xml-mode. Long term, I think it would be good to fold any functionality
in html-mode that PSGML is missing into PSGML, so that it will benefit
all DTDs. Then html-mode can be nuked altogether.
On a related note, is anyone actually using the sgml package any more?
Since linuxdoc has been replaced with DocBook, a package specifically
for editing linuxdoc documents seems to have limited usefulness.
--
Jerry James