Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!gatech!hao!boulder!hartzell From: hartzell@boulder.Colorado.EDU (George Hartzell) Newsgroups: comp.emacs Subject: Re: Some gnu questions Message-ID: <1383@sigi.Colorado.EDU> Date: Thu, 18-Jun-87 12:00:46 EDT Article-I.D.: sigi.1383 Posted: Thu Jun 18 12:00:46 1987 Date-Received: Sun, 21-Jun-87 13:07:33 EDT References: <359@esunix.UUCP> Sender: news@sigi.Colorado.EDU Reply-To: hartzell@boulder.Colorado.EDU (George Hartzell) Organization: University of Colorado, Boulder Lines: 19 In article <359@esunix.UUCP> tlastran@esunix.UUCP (Tom LaStrange) writes: > >1. Is there an equivalent to auto-execute? I noticed something about > some language hooks but nothing about how to write my own language > sensitive bindings, any suggestions on easy ways to execute commands > when certain file extensions are read? >-- >Tom LaStrange If you look in lisp/loaddefs.el for: (setq auto-mode-alist ........ you will see where the association is made between filename extensions and modes. Hope that this helps. g. George Hartzell (303) 492-4535 MCD Biology, University of Colorado-Boulder, Boulder, CO 80309 hartzell@Boulder.Colorado.EDU ..!{hao,nbires}!boulder!hartzell