🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #2189

.emacs file; text-mode-hook

#2189
From: Allen R Sparks
Date: Mon, 25 Jan 1993 04:49
15 lines
976 bytes
The folowing is in my .emacs file:

    (setq default-major-mode 'text-mode)
    
    (setq text-mode-hook
      '(lambda () 
         (auto-fill-mode 1)
         (auto-save-mode 0)
       )
    )

Now when I bring up a file, emacs DOES place me in text-mode, and it
DOES turn on auto-fill-mode automatically, but it DOESN'T turn off
auto-save-mode.   I'm running emacs version 18.52 on the NeXT.
=== Al Sparks
Technical Details
Message-ID: <FXARS.93Jan24194913@rama2.acf-lab.alaska.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!raven.alaska.edu!camelot.acf-lab!fxars

Show Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.help,comp.sys.next.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!raven.alaska.edu!camelot.acf-lab!fxars
From: fxars@camelot.acf-lab.alaska.edu (Allen R Sparks)
Subject: .emacs file; text-mode-hook
Message-ID: <FXARS.93Jan24194913@rama2.acf-lab.alaska.edu>
Sender: news@raven.alaska.edu (USENET News System)
Nntp-Posting-Host: rama2.acf-lab.alaska.edu
Organization: University of Alaska Fairbanks
Date: Mon, 25 Jan 1993 04:49:13 GMT
Lines: 15