Re: Edit xml files with Emacs for Docbook
"Dave Pawson [email protected] [emacs-nxml-mode]" <[email protected]> Fri, 8 Apr 2016 07:15:44 +0100
| Newsgroups | gmane.emacs.nxml.general |
|---|---|
| Message-ID | <CAEncD4cWMxfhFbtKndWeBoJUj_s--vbDUvsFkbGZxe9Potf_ug@mail.gmail.com> |
Can you explain why you need both please Peter? >M-x sgml-mode RET M-x xml-mode RET regards On 7 April 2016 at 21:50, Peter Flynn [email protected] [emacs-nxml-mode] <[email protected]> wrote: > 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]> > ------------------------------------ > > > ------------------------------------ > > Yahoo Groups Links > > > -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk ------------------------------------ Posted by: Dave Pawson <[email protected]> ------------------------------------