home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / emacs / 4074 < prev    next >
Encoding:
Text File  |  1993-01-27  |  1.3 KB  |  36 lines

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