nxml-mode with Emacs

Dave Pawson dpawson at nildram.co.uk
Wed Nov 19 18:25:57 UTC 2003


At 11:13 19/11/2003, Tim Waugh wrote:
>On Wed, Nov 19, 2003 at 10:56:00AM +0000, Gavin Henry wrote:
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On Wednesday 19 November 2003 10:20 am, Tim Waugh wrote:
> > > On Wed, Nov 19, 2003 at 10:12:55AM +0000, Gavin Henry wrote:
> > > > It works now. It was usig the docbook schema, but I think the error
> > > > was caused when I did M-x load-file then rng-auto.el then M-x
> > > > nxml-mode.
> > >
> > > You shouldn't need to M-x load-file rhn-auto.el, since that's done in
> > > /usr/share/emacs/site-lisp/site-start.d/nxml-init.el.
> >
> > I haven't put anything in there, so I do :-)
>
>Oh, you didn't install from the RPM?

If you read the documentation with nxml, you'll see you need
to add stuff to your .emacs (or whatever load file you use)
to load nxml mode.

If its loaded (shows at the bottom of the screen)
and you have specified which schema you want used
(C-c C-s to set the schema, and docbook is provided in
the schema directory)
then C-RET should work.
It does for me, win32 and redhat.

HTH DaveP






More information about the fedora-docs-list mailing list