Re: Edit xml files with Emacs for Docbook

"Dave Pawson [email protected] [emacs-nxml-mode]" <[email protected]> Fri, 15 Apr 2016 05:45:37 +0100
Newsgroups gmane.emacs.nxml.general
Message-ID <CAEncD4eMzLwwZNjGA6EQkDe_cw6T9_Wy4iF6xeKqTBvu4diMRA@mail.gmail.com>
http://batsov.com/articles/2011/11/30/the-ultimate-collection-of-emacs-resources/

May help.

On 8 April 2016 at 11:22, [email protected] [emacs-nxml-mode]
<[email protected]> wrote:
> On 2016-04-08 07:15, Dave Pawson [email protected] [emacs-nxml-mode]
> wrote:
>> Can you explain why you need both please Peter?
>>
>>> M-x sgml-mode RET M-x xml-mode RET
>
> Because nxml-mode has taken over control, M-x xml-mode RET simply
> invokes nxml-mode again.
> Using M-x sgml-mode RET presumably invokes the ancient sgml-mode, which
> somehow manages to re-route things so that a subsequent call to xml-mode
> invokes PSGML, which is what I want.
>
> nxml-mode does lots of good things, but letting you edit XML documents
> the way $deity intended is not one of them :-)
>
> One day I'll learn enough elisp to work out how to disable nxml-mode. I
> don't use W3C schemas enough to warrant keeping it, and it doesn't offer
> anywhere near as good an edit interface as psgml. Plus I want to update
> psgml to fix a few things that have managed to get broken, especially
> the old facility whereby you could specify elements (eg
> <programlisting>) that would NOT get pretty-indented or wrapped when you
> issue a C-c C-q. And add a "join-element" command (to preceding-sibling
> or following-sibling of the same type) and a "merge-element" command to
> do the same to an element of a different type. And a way to pop up all
> the xml:ids when you insert an xref or biblioref or link or something
> requiring a @linkend value. Etc etc :-)
>
> Or win the lottery and hire a good elisp programmer...
>
> ///Peter
>
>
> ------------------------------------
> Posted by: [email protected]
> ------------------------------------
>
>
> ------------------------------------
>
> Yahoo Groups Links
>
>
>



-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk


------------------------------------
Posted by: Dave Pawson <[email protected]>
------------------------------------