In your case, the current code's results are wrong. However, in a series of other cases, it gives the right results and making auto-mode-alist take precedence would be wrong.
In this case, then, the documentation of magic-mode-alist (and the manual, though I have not checked what it says about it) should contain a clear example way of how to achieve the override. I imagine that there can/will be more and more XML encoded files that need (or have) a special mode for them. Users will need an easy way to get into those modes without having to hack around an alist holding a function whose behaviour has got to be quite involved to do the correct thing in all cases (I am speaking for beginners and maybe others who will be quite surprised to see this new behaviour).
There is no way to please everyone.
Agreed on that.
However I still think that my preferences, plainly expressed in my .emacs should have precedence on magic :-)
Best,
D.
-- Dominique de Waleffe E-mail: [EMAIL PROTECTED], [EMAIL PROTECTED] IM-ICQ: 271788942 IM-MSN: [EMAIL PROTECTED]
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
