Lennart Borgman (gmail) wrote:
Maybe. I think there must be some reason that JK placed this in a
hook, but I don't know what it is.
But what about the auto-coding stuff? Did you find some solution to
that too? Maybe that could be used by html-mode/xml-mode as well?
Maybe I'm mistaken, but I think the auto-coding stuff just duplicates
what is already done in sgml-xml-auto-coding-function. Maybe there are
some improvements we can make to sgml-xml-auto-coding-function based
what nxml does though, so it is worth comparing them before discarding
the nxml version completely.