home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.emacs
- Path: sparky!uunet!gumby!yale!yale.edu!cs.yale.edu!pharr
- From: pharr@cs.yale.edu (Pharrfugnugen)
- Subject: Re: auto-fill-mode
- Message-ID: <1993Jan26.161247.8699@cs.yale.edu>
- Sender: news@cs.yale.edu (Usenet News)
- Nntp-Posting-Host: zoo-gw.cs.yale.edu
- Organization: Yale University Computer Science Dept., New Haven, CT 06520-2158
- X-Newsreader: Tin 1.1 PL5
- References: <GROSSJOH.93Jan26153138@bonny.ls6.informatik.uni-dortmund.de>
- Date: Tue, 26 Jan 1993 16:12:47 GMT
- Lines: 22
-
- : >>>>> On Tue, 26 Jan 93 04:56:34 GMT,
- : >>>>> cc2955@sarah.albany.edu (Charley Chen) said:
- :
- :Charley> I ask before about how to get auto-fill-mode on whenever I use
- :Charley> emacs and lots of people reponded and all the reponse were the same
- :
- :Charley> (setq text-mode-hook
- :Charley> '(lambda () (auto-fill-mode 1)))
- :
- :Charley> but from what I can see I need to be in text mode or something.
- :Charley> Usually get the (Fundamental) mode and I still do, even after
- :Charley> putting in that thing in my .emacs. My question now is that do I
- :Charley> have to compile it or do I need something that will switch me to
- :Charley> text mode right away? Thanks.
-
- Just add the following to your .emacs file to make emacs start up in
- text mode right away:
-
- (setq default-major-mode 'text-mode)
-
- -Matt
-
-