|
From: | Dominique de Waleffe |
Subject: | Re: magic-mode-alist has too high a priority |
Date: | Thu, 24 Feb 2005 20:51:31 +0100 |
User-agent: | Mozilla Thunderbird 1.0 (Windows/20041206) |
Richard Stallman wrote:
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: address@hidden, address@hidden IM-ICQ: 271788942 IM-MSN: address@hidden
smime.p7s
Description: S/MIME Cryptographic Signature
[Prev in Thread] | Current Thread | [Next in Thread] |