Differences between nxml-mode and nxhtml-mode?

I installed nxml-mode

and then nxhtml-mode

(and they look great, realtime checking right in my favorite editor is just sweet).

I understand that the XHTML file is an XML file, so I can use "just" nxml-mode

to edit the XHTML. But I'm a little confused: what does it offer nxhtml-mode

and what nxml-mode

does not?

If you were editing the XHTML, would you just use nxml-mode

or would you take the time to install nxhtml-mode


EDIT I have of course read the first nxhtml page where I downloaded nxhtml.

He says this, for example:

Completion and syntax checking for XHTML


So what kind of completion, for example, does this that nxml-mode won't do?

An example of something that can be done with nxhtml and cannot be done with nxml would be really great.


source to share

1 answer

The nXhtml page discusses exactly this in the first section.

When I tried to use nXhtml, the reason was mumamo, which is only included in nXhtml. I needed a multi-mode solution for Rails development. It turned out that this made Emacs too laconic and didn't work perfectly all the time. After a few weeks, I gave up. I've never tried stuff to complete.



All Articles