Article View: comp.emacs
Article #9736Re: emacs: AUTO-FILL-MODE at startup?
From: Mark McLeod
Date: Sat, 22 Oct 1994 13:54
Date: Sat, 22 Oct 1994 13:54
22 lines
1759 bytes
1759 bytes
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!
You should be able to do this with something lik ethe foolwing in
yoru "initialization" file.
; This sets "text mode" as the dafault "major mode."
(setq default-major-mode 'text-mode)
; This configures "text mode" with automatic "word wrap."
(setq text-mode-hook 'turn-on-auto-fill)
That should cover it.
--
Mark McLeod (mmcleod@clark.net)
Geek Code (2.1): GCS$/L/P d-- H-- s g+++ p4+<!p> !au a w+ v- C++++ US+
P+ L 3 E N+++ K+++ W M !V -po+ Y+@ t+@ 5++ j R+ G? tv+ b+>++ !D B---
e+++ u++(**) h+ f r--(---) n-(----) x?(++)
Technical Details
Message-ID:
<38b5jd$a89@explorer.clark.net>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!news.clark.net!news.clark.net!not-for-mailReferences:
<389q5v$1hv@nntp1.u.washington.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b9a,7aafc75adf2222e X-Google-Attributes: gid102b9a,public X-Google-Thread: 103b8b,7aafc75adf2222e X-Google-Attributes: gid103b8b,public X-Google-Thread: ff358,7aafc75adf2222e X-Google-Attributes: gidff358,public X-Google-ArrivalTime: 1994-10-22 06:55:19 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!news.clark.net!news.clark.net!not-for-mail From: mmcleod@clark.net (Mark McLeod) Newsgroups: comp.emacs,gnu.emacs.help,fj.editor.emacs Subject: Re: emacs: AUTO-FILL-MODE at startup? Date: 22 Oct 1994 09:54:53 -0400 Organization: Clark Internet Services, Inc., Ellicott City, MD USA Lines: 22 Message-ID: <38b5jd$a89@explorer.clark.net> References: <389q5v$1hv@nntp1.u.washington.edu> NNTP-Posting-Host: clark.net Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: NN version 6.5.0 #6 (NOV)