🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #9735

Re: emacs: AUTO-FILL-MODE at startup?

#9735
From: Kai Grossjohann
Date: Sat, 22 Oct 1994 13:04
16 lines
1724 bytes
>>>>> "Dan" == Dan LeGate <dlegate@s1.csuhayward.edu> asks today's
>>>>> auto-fill question:

  Dan> In emacs, can I set it up to START with AUTO-FILL-MODE on
  Dan> already instead of having to set it each time I'm in it?  Is
  Dan> there a command line switch or setenv variable I can use?
  Dan> Thanks!

You probably don't want Emacs to be in auto-fill-mode when editing c
programs or suchlike.  Thus, you want Emacs to be in auto-fill-mode
when editing text, so you put the following in your ~/.emacs file:

    (add-hook 'text-mode-hook 'turn-on-auto-fill)

Hope this helps,
        \kai{}
Technical Details
Message-ID: <GROSSJOH.94Oct22140441@linus.informatik.uni-dortmund.de>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!EU.net!Germany.EU.net!Informatik.Uni-Dortmund.DE!fbi-news!grossjoh
References: <389q5v$1hv@nntp1.u.washington.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff358,7aafc75adf2222e,start
X-Google-Attributes: gidff358,public
X-Google-Thread: 103b8b,7aafc75adf2222e,start
X-Google-Attributes: gid103b8b,public
X-Google-Thread: 102b9a,7aafc75adf2222e,start
X-Google-Attributes: gid102b9a,public
X-Google-ArrivalTime: 1994-10-22 06:19:32 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!EU.net!Germany.EU.net!Informatik.Uni-Dortmund.DE!fbi-news!grossjoh
From: grossjoh@linus.informatik.uni-dortmund.de (Kai Grossjohann)
Newsgroups: comp.emacs,gnu.emacs.help,fj.editor.emacs
Subject: Re: emacs: AUTO-FILL-MODE at startup?
Date: 22 Oct 1994 13:04:41 GMT
Organization: Universitaet Dortmund, Lehrstuhl Informatik VI
Lines: 16
Message-ID: <GROSSJOH.94Oct22140441@linus.informatik.uni-dortmund.de>
References: <389q5v$1hv@nntp1.u.washington.edu>
Reply-To: Kai Grossjohann <grossjoh@ls6.informatik.uni-dortmund.de>
NNTP-Posting-Host: linus.informatik.uni-dortmund.de
To: Dan LeGate <dlegate@s1.csuhayward.edu>
In-reply-to: nobby@mead2.u.washington.edu's message of 22 Oct 1994 01:33:51 GMT