8 May 2011 00:27
Disabling nxml-mode
Peter Flynn <peter <at> silmaril.ie>
2011-05-07 22:27:31 GMT
2011-05-07 22:27:31 GMT
I just upgraded a machine to Ubuntu Natty, which installed Emacs 23.2,
which appears to open XML files in nxml-mode by default. My .emacs file says
> (autoload 'xml-mode "psgml" "Major mode to edit XML files." t )
> (setq auto-mode-alist (cons '("\\.[XxRrMmDdTt][TtMmDdSsNnEe][PpAaMmLlFfSsIi]?[EePp]*[Cc]*$" .
xml-mode) auto-mode-alist))
which has been working fine for years. It looks as if Emacs 23.2 defines
xml-mode to point to nxml-mode, and this is somehow superseding my .emacs.
Unfortunately I still need to use psgml's xml-mode for all my XML stuff.
How do I disable Emacs' new behaviour?
///Peter
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/emacs-nxml-mode/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/emacs-nxml-mode/join
(Yahoo! ID required)
<*> To change settings via email:
(Continue reading)
It's there
> SGML conformance (I still have half a dozen clients using SGML).
Out of scope for nxml-mode.
>
> As I said, I'm sure nxml-mode provides some, if not many or even all, of
> these, but I can't yet find any comprehensive documentation,
It's there. I even have an html version Peter. 5 mins work.
I'm as much a dochead as you and love nxml-mode.
RSS Feed