Re: Edit xml files with Emacs for Docbook

"Peter Flynn [email protected] [emacs-nxml-mode]" <[email protected]> Thu, 7 Apr 2016 21:50:13 +0100
Newsgroups gmane.emacs.nxml.general
Organization Silmaril Consultants
Message-ID <[email protected]>
On 03/25/2016 03:48 PM, Markos [email protected] [emacs-nxml-mode] wrote:
> I've just joined to the list.

Welcome aboard.

> I use Emacs to edit source files in xml for DocBook.

As do many of us, I suspect

> I used a few years Emacs in Debian Squeeze and the autocomplete feature 
> worked well.

Were you using psgml-mode and a DTD?

> But after I changed to Debian Jessie I can't use  this features anymore.

The default changed to nxml-mode.

> How do I enable this feature in Emacs to edit my XML source files for 
> DocBook.

If you are still using DTDs, install psgml-mode. To overcome the rather
annoying way that nxml-mode takes over xml-mode, you will need to type

M-x sgml-mode RET M-x xml-mode RET

Then you will have the psgml-mode editing facilities back again.

///Peter


------------------------------------
Posted by: Peter Flynn <[email protected]>
------------------------------------