Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!pyrdc!gmu90x!gmuvax2!hopkins From: hopkins@gmuvax2.gmu.edu (Matt hopkins) Newsgroups: comp.emacs Subject: Re: text-mode-hook Message-ID: <1137@gmuvax2.gmu.edu> Date: 9 Apr 90 15:47:56 GMT References: Reply-To: hopkins@gmuvax2.gmu.edu (Matt hopkins) Organization: George Mason Univ. Fairfax, Va. Lines: 19 In article Damon.Lipparelli@CS.CMU.EDU writes: >Hello. I'm having trouble with the text-mode-hook feature. I'd like to >set things so that when I enter text mode, I'm automatically put into >auto-fill mode as well. I tried setting the variable text-mode-hook to >be auto-fill-mode (ie, "(setq text-mode-hook 'auto-fill-mode)"), but I >Damon Lipparelli >(lipp@cs.cmu.edu) Well, the way I do it is to (setq text-mode-hook 'turn-on-auto-fill) And then a M-X text-mode so emacs will use it. Hope this works. Matt -- "Do you hate people?" "No ... but I seem to feel Matt Hopkins better when they're not around." - Barfly George Mason University "Six double five three two one." - A Clockwork Orange Fairfax, Virginia hopkins@gmuvax2.gmu.edu