On Thu, Jul 16, 2009 at 09:14:22PM -0600, lee wrote: > On Thu, Jul 16, 2009 at 11:05:00AM +0200, Joost Kremers wrote: > > Which is not going to work, because only the first matching mode in > > auto-mode-alist is activated. That's why auto-mode-alist should only be > > used for > > major modes, not for minor modes. Minor modes (like flyspell-mode) should be > > turned on via mode hooks. > > That's what I mean: How do you know all that?
years of using emacs... ;-) i follow two emacs-related newsgroups, i regularly consult emacs documentation, i read the wiki http://www.emacswiki.org/, i experiment, that sort of thing. emacs has a lot of built-in documentation. just check out the help function by typing 'C-h ?'. HTH -- Joost Kremers Life has its moments