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. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel