emacs-pretest-bug
[Top][All Lists]
Advanced

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

magic-mode-alist gets in the way


From: James J. Ramsey
Subject: magic-mode-alist gets in the way
Date: Sat, 1 Jan 2005 12:17:34 -0800 (PST)

I found out the hard way about magic-mode-alist when I
found that this line in my ~/.emacs didn't work:

(setq auto-mode-alist (cons '("\\.html\\'" .
nxml-mode) auto-mode-alist))

magic-mode-alist overrides this, which is annoying.

I'm not sure what the right solution is, since there
were definite reasons for having magic-mode-alist
override auto-mode-alist. Still, two things:

1) it is far easier for a user to customise
auto-mode-alist than magic-mode-alist, since the
latter requires thinking up a regexp, and

2) not everyone wants to use the bundled html-mode in
Emacs.

Having Emacs do what I thought I told it *not* to do
is frustrating.



                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250




reply via email to

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