🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #9737

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

#9737
From: Kevin K. Lewis
Date: Sat, 22 Oct 1994 21:01
16 lines
1616 bytes
In article <389q5v$1hv@nntp1.u.washington.edu> nobby@mead2.u.washington.edu (Martha "Cupcake" Rubin) writes:

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

Try this (maybe without the tab-width stuff).

(setq default-major-mode 'indented-text-mode)
(setq text-mode-hook
      '(lambda ()
	 (setq tab-width 8)
	 (auto-fill-mode 1)))
--
Kevin K. Lewis               | My opinions may be unreasonable
lewikk@aud.alcatel.com       | but such is the voice of inspiration
Technical Details
Message-ID: <LEWIKK.94Oct22160125@grasshopper.aud.alcatel.com>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!hookup!swrinde!cs.utexas.edu!utnut!nott!bcarh189.bnr.ca!corpgate!news.utdallas.edu!fozzy.aud.alcatel.com!fozzy.aud.alcatel.com!lewikk
References: <389q5v$1hv@nntp1.u.washington.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,7aafc75adf2222e
X-Google-Attributes: gid103b8b,public
X-Google-Thread: 102b9a,7aafc75adf2222e
X-Google-Attributes: gid102b9a,public
X-Google-Thread: ff358,7aafc75adf2222e
X-Google-Attributes: gidff358,public
X-Google-ArrivalTime: 1994-10-22 14:10:47 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!hookup!swrinde!cs.utexas.edu!utnut!nott!bcarh189.bnr.ca!corpgate!news.utdallas.edu!fozzy.aud.alcatel.com!fozzy.aud.alcatel.com!lewikk
From: lewikk@grasshopper.aud.alcatel.com (Kevin K. Lewis)
Newsgroups: comp.emacs,gnu.emacs.help,fj.editor.emacs
Subject: Re: emacs: AUTO-FILL-MODE at startup?
Date: 22 Oct 1994 21:01:25 GMT
Organization: Alcatel Network Systems
Lines: 16
Message-ID: <LEWIKK.94Oct22160125@grasshopper.aud.alcatel.com>
References: <389q5v$1hv@nntp1.u.washington.edu>
NNTP-Posting-Host: grasshopper.aud.alcatel.com
In-reply-to: nobby@mead2.u.washington.edu's message of 22 Oct 1994 01:33:51 GMT