Stefan Monnier wrote:
Maybe if magic-mode-alist were combined into auto-mode-alist it'd be
easier to control conflicts or precedence among content vs filename
tests. (Not that you want to get too fancy about such things ...)
Agreed.
I think the most important thing is getting something
Maybe if magic-mode-alist were combined into auto-mode-alist it'd be
easier to control conflicts or precedence among content vs filename
tests. (Not that you want to get too fancy about such things ...)
Agreed.
Stefan
___
Kevin Ryde wrote:
If I'm not mistaken the html-mode regexp in magic-mode-alist demands a
html. It'd be nice if a html doctype like
!DOCTYPE HTML ...
or
!DOCTYPE html ...
could be considered html too.
Since plain html is already accepted, I don't see how this can do
any harm,
In a recent build of the cvs, visiting the file minimal.html below
selects sgml-mode, where I hoped to get html-mode. According to the
Again, the best fix seems to be to make sure the .html extension
is heeded.
Stefan
___
Stefan Monnier wrote:
In a recent build of the cvs, visiting the file minimal.html below
selects sgml-mode, where I hoped to get html-mode. According to the
Again, the best fix seems to be to make sure the .html extension
is heeded.
I agree. If you look at EmacsWiki for example you can see
Lennart Borgman (gmail) [EMAIL PROTECTED] writes:
If you look at EmacsWiki for example you can see that a good
number of users gets confused by the mode selection caused by that
magic-mode-alist overrides auto-mode-alist.
I suppose at least the xml and sgml tests are little bit too
In a recent build of the cvs, visiting the file minimal.html below
selects sgml-mode, where I hoped to get html-mode. According to the
(version 3.2) spec at http://www.w3.org/TR/REC-html32-19970114#html
(the end of the Structure of HTML section) it's a valid minimal
html, so it'd be nice if it