[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Specifying mode in file variables trouble
From: |
Lennart Borgman (gmail) |
Subject: |
Re: Specifying mode in file variables trouble |
Date: |
Tue, 23 Sep 2008 11:29:53 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
Richard M. Stallman wrote:
> For each of them I have one with html-mode as main mode and one with
> nxhtml-mode as main mode.
>
> Why is it necessary to have both?
There are currently to different major modes for handling XHTML files in
Emacs:
html-mode: This is based on sgml-mode. This is a "normal" major mode
where everything works ok with MuMaMo.
nxml-mode: This is James Clark's nXml mode which has DTD based
validation and completion for XML files. (DTD=Document Type Definition,
this describes what XML tags and attributes are allowed and where etc.)
nxhtml-mode is based on nxml-mode. I have added some more convenient
completion functions for XHTML files there. This is not part of Emacs. I
distribute it in the nXhtml package together with MuMaMo.
There are still some problems with the nxml-mode parser and multi major
modes. Most of the time it works well, but it is not perfect.
So there are two reasons:
- html-mode is included in Emacs, but nxhtml-mode is not.
- html-mode works ok with multi major modes, while there are some minor
(from a users perspective) glitches with how nxhtml-mode works with
multi major modes.
- Re: Specifying mode in file variables trouble, (continued)
- Re: Specifying mode in file variables trouble, Lennart Borgman (gmail), 2008/09/19
- Re: Specifying mode in file variables trouble, Richard M. Stallman, 2008/09/21
- Re: Specifying mode in file variables trouble, Lennart Borgman (gmail), 2008/09/21
- Re: Specifying mode in file variables trouble, Richard M. Stallman, 2008/09/21
- Re: Specifying mode in file variables trouble, Lennart Borgman (gmail), 2008/09/21
- Re: Specifying mode in file variables trouble, Richard M. Stallman, 2008/09/22
- Re: Specifying mode in file variables trouble, Lennart Borgman (gmail), 2008/09/22
- Re: Specifying mode in file variables trouble, Stefan Monnier, 2008/09/22
- Re: Specifying mode in file variables trouble, Lennart Borgman (gmail), 2008/09/22
- Re: Specifying mode in file variables trouble, Richard M. Stallman, 2008/09/23
- Re: Specifying mode in file variables trouble,
Lennart Borgman (gmail) <=
- Re: Specifying mode in file variables trouble, Richard M. Stallman, 2008/09/23
- Re: Specifying mode in file variables trouble, Lennart Borgman (gmail), 2008/09/22
- Re: Specifying mode in file variables trouble, Richard M. Stallman, 2008/09/23
- Re: Specifying mode in file variables trouble, Lennart Borgman (gmail), 2008/09/23
- Re: Specifying mode in file variables trouble, Richard M. Stallman, 2008/09/23
- Re: Specifying mode in file variables trouble, Lennart Borgman (gmail), 2008/09/23
- Re: Specifying mode in file variables trouble, Richard M. Stallman, 2008/09/24
- Re: Specifying mode in file variables trouble, Richard M. Stallman, 2008/09/24
- Re: Specifying mode in file variables trouble, Lennart Borgman (gmail), 2008/09/24
- Re: Specifying mode in file variables trouble, Richard M. Stallman, 2008/09/25