help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unbinding nxml-mode


From: Andreas Röhler
Subject: Re: Unbinding nxml-mode
Date: Mon, 21 May 2012 18:30:56 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120421 Thunderbird/12.0

Am 21.05.2012 12:12, schrieb Peter Flynn:
The version of Emacs (23.3.1) shipped with Ubuntu 12.04 prematurely
binds xml-mode to nxml-mode, so all my .emacs settings for xml-mode
are ignored (psgml, xxml, etc). I don't know enough emacs-lisp to know
where this has been done, or how to undo it. How can I make Emacs go
back to honoring my .emacs file and stop it invoking nxml-mode
(permanently)?


AFAIU the list holding the values is called auto-mode-alist

constructed as pairs of suffix-and-mode-to-invoke

look into, which suffixes trigger nxml-mode

to insert for every suffix at stake the new one write into your init:

(push '("\\.MY_ENDING$" . xml-mode ) auto-mode-alist)

maybe it's needed still to remove the old entries.



HTH,

Andreas








reply via email to

[Prev in Thread] Current Thread [Next in Thread]