[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Handling invalid HTML

From: Richard M. Stallman
Subject: Re: Handling invalid HTML
Date: Tue, 18 Oct 2005 22:43:57 -0400

    3. Visiting Mozilla Firefox bookmark file in Emacs also can't detect
    the type of this file.  Emacs opens it in SGML mode whereas it is
    actually HTML file.  This problem is caused by the default value of
    `magic-mode-alist'.  Maybe the `.html' extension in `auto-mode-alist'
    should take precedence over `magic-mode-alist'?

That would be the tail wagging the dog.

If there is a suitable criterion to test, that would give the right
results, whatever function is called through magic-mode-alist can test
that criterion.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]