[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: html-mode demanding <html> a bit too tight
From: |
Kevin Ryde |
Subject: |
Re: html-mode demanding <html> a bit too tight |
Date: |
Tue, 24 Apr 2007 10:20:03 +1000 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux) |
"Lennart Borgman (gmail)" <address@hidden> 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
aggressive.
No doubt crazy people who use those formats use equally crazy
filenames, so a test on content is good, but you kind of want them
after the filename tests, so .html means html. Or for example if
there was a specific scrollkeeper .omf mode then hit that before the
generic xml.
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 ...)