From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Bernstein Newsgroups: gmane.emacs.help Subject: Use psgml rather than nXML in emacs 24.4.1 Date: Mon, 29 Feb 2016 19:57:36 +0000 (UTC) Organization: SDF Public Access UNIX System, Est. 1987 Message-ID: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1456776022 26508 80.91.229.3 (29 Feb 2016 20:00:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Feb 2016 20:00:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 29 21:00:21 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aaTzR-0005rL-Cw for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Feb 2016 21:00:21 +0100 Original-Received: from localhost ([::1]:38821 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaTzQ-0002qU-Uz for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Feb 2016 15:00:20 -0500 Original-Path: usenet.stanford.edu!goblin3!goblin.stu.neva.ru!odin.sdf-eu.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: 192.94.73.30 Original-X-Trace: odin.sdf-eu.org 1456775856 22064 192.94.73.30 (29 Feb 2016 19:57:36 GMT) Original-X-Complaints-To: usenet@odin.sdf-eu.org Original-NNTP-Posting-Date: Mon, 29 Feb 2016 19:57:36 +0000 (UTC) User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (NetBSD/7.0 (amd64)) Original-Xref: usenet.stanford.edu gnu.emacs.help:217083 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:109376 Archived-At: Over the years I became accustomed to psgml and emacs as a tool for DocBook xml composition. Now with Debian Jessie I have as noted emacs 24.4.1 and it wants to insist, rather forcfully (if you ask me) that I use nXML. My old psgml invocations do not override the automatic lurch into nXML mode when I load an *.xml file into emacs. For example, in .emacs of course: (add-to-list 'auto-mode-alist '("\\.xml" . xml-mode)) (autoload 'sgml-mode "psgml" "Major mode to edit SGML files." t) (autoload 'xml-mode "psgml" "Major mode to edit XML files." t) I tried adding a local variables stanza along with the above to the DocBook file in question: All have no effect on nXML coming to the fore. All suggestions will be thoughtfully considered. Thank you. -- IMPORTANT: This email is intended for the use of the individual addressee(s) named above and may contain information that is confidential, privileged or unsuitable for overly sensitive persons with low self-esteem, no sense of humour or irrational metaphysical beliefs.