Xref: utzoo gnu.emacs.help:275 comp.emacs:9471 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!WUBIOS.WUSTL.EDU!david From: david@WUBIOS.WUSTL.EDU (David J. Camp) Newsgroups: gnu.emacs.help,comp.emacs Subject: Re: Auto-justify? Message-ID: <9011090959.AA15138@wubios.wustl.edu> Date: 9 Nov 90 09:59:47 GMT References: <1990Oct20.113723.8916@uwasa.fi> Sender: daemon@tut.cis.ohio-state.edu Followup-To: gnu.emacs.help Organization: GNUs Not Usenet Lines: 32 In Reply to this Note From: > > > I thought this one is one of the frequently asked questions > but after I looked through the previous Q&As it wasn't there > (to my surprise). So here we go. THE QUESTION: how can I turn > on auto-justify from .emacs ? I have tried my best to figure > it out but it seems not to be enough. I want my text to look > like this without pressing the keys to do it. Well, I think justification is for babies :-), but I like auto-fill-mode. It took some detective work to find the relevant portion of the manual. An example used was: (setq text-mode-hook '(lambda () (auto-fill-mode 1))) The problem is that auto-fill-mode is a minor mode that gets reset for every buffer. It is necessary to use the hook to have it restarted for every new text buffer. -David- > >-- >== Harri Valkama, University of Vaasa, Finland ================================ > P.O. Box 700, 65101 VAASA, Finland (tel:+358 61 248426 fax:+358 61 248465) > hv@uwasa.fi hv@nic.funet.fi hkv@flame.uwasa.fi harri.valkama@wmac00.uwasa.fi > Moderating at chyde.uwasa.fi (128.214.12.3) & nic.funet.fi (128.214.6.100) > david@wubios.wustl.edu ^ Mr. David J. Camp david%wubios@wugate.wustl.edu < * > +1 314 382 0584 ...!uunet!wugate!wubios!david v "God loves material things."