I think this is a bug in nxml-mode, it should not make it impossible to
switch to psgml's xml-mode. The defalias of xml-mode to nxml-mode
should be removed from nxml-mode.el and should be replaced with code to
set auto-mode-alist so that files with extension .xml would use
nxml-mode by default. This would make both nxml-mode and xml-mode
available, so a user could choose which mode to use for a particular
file, and they could also override this default setting of
auto-mode-alist in their local customizations if they preferred to
default to psgml's xml-mode instead.
I will reassign to emacs23-el, the package that contains nxml-mode.
On 05/10/2011 11:24 PM, Neil Roeth wrote:
On 05/06/2011 06:39 AM, A Mennucc wrote:
Package: psgml
Version: 1.3.2-12
Severity: important
hi,
I installed 'psgml' and opened a docbook document, but I got nXML mode
I tried to use psgml mode, but I did not find a way
I also noted that /usr/share/emacs23/site-lisp/psgml/install.log contains a
lot of warnings
what is going wrong ?
a.
It appears that psgml's xml-mode is used by default if psgml is
installed, but if you switch to nxml-mode any time in your Emacs
session, loading it will alias xml-mode to nxml-mode, so that
nxml-mode effectively overrides psgml's xml-mode from then on. I
don't see how to override that behavior yet. While I look into that,
a work is to restart Emacs to revert back to using psgml's xml-mode
and to avoid using nxml-mode at all.
BTW, my install.log for psgml looks almost exactly like yours, yet
psgml works fine for me. I don't use nxml-mode at all so I don't see
the issue that you saw.
--
Neil Roeth
--
Neil Roeth