Peter S Galbraith <GalbraithP@dfo-mpo.gc.ca> writes: > > But you can easily view the type based on a regexp match on the > > first line > > How do you do that in Emacs? I'd put something in change-log-mode-hook which does the check, and sets major-mode appropriately. Unfortunately, interpreter-mode-alist is specific to files which start with #!. -- Alan Shutko <email@example.com> - In a variety of flavors! People who go to conferences are the ones who shouldn't.