[] I really think both ways should coexist, that is, set modes according to filename patterns ( not just extensions ) or according to textual commands within the file itself. The version of EMACS that I've been involved in myself deliberately allows both, as does T20-EMACS. ...decvax!mcvax!enea!log-hb!hans Hans Albertsson.