From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Flynn Newsgroups: gmane.emacs.help Subject: Disabling nxml-mode Date: Sat, 07 May 2011 23:45:01 +0100 Organization: Usenet Labs Bozon Detector Facility Message-ID: <92m0bdFgm5U1@mid.individual.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1306268971 20387 80.91.229.12 (24 May 2011 20:29:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 May 2011 20:29:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 24 22:29:24 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QOyEE-0002bJ-IQ for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 22:29:22 +0200 Original-Received: from localhost ([::1]:55226 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOyEE-0006Ld-2f for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 16:29:22 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: comp.text.xml,gnu.emacs.help Original-Lines: 13 Original-X-Trace: individual.net Y8AxD/oPK1uRd1k5mOpX/wvztfSYS7WPmODDUnrKXYwTWPOl8x Cancel-Lock: sha1:VXPh9fAU4wYIU5LmKL7zr4nAB9s= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 Original-Xref: usenet.stanford.edu comp.text.xml:85706 gnu.emacs.help:186811 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81170 Archived-At: 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. Does anyone know how I disable Emacs' new behaviour? ///Peter