home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / emacs / help / 4769 < prev    next >
Encoding:
Text File  |  1992-11-12  |  1.5 KB  |  44 lines

  1. Newsgroups: gnu.emacs.help
  2. Path: sparky!uunet!destroyer!news.iastate.edu!song
  3. From: song@iastate.edu (Chang-Hyeon Song)
  4. Subject: auto-fill-mode vs. fill-column: Just not work!!!
  5. Message-ID: <BxMLs3.BFB@news.iastate.edu>
  6. Sender: news@news.iastate.edu (USENET News System)
  7. Organization: Iowa State University, Ames, IA
  8. Date: Thu, 12 Nov 1992 23:11:59 GMT
  9. Lines: 33
  10.  
  11. I have been struggling with this about an hour and I quit.
  12.  
  13. In my .emacs file, 
  14.  
  15. (setq text-mode-hook '(lambda () (setq fill-column 78)))
  16. (setq text-mode-hook '(lambda () (auto-fill-mode 1))) 
  17.  
  18. (setq tex-mode-hook '(lambda () (setq fill-column 88)))
  19. (setq text-mode-hook '(lambda () (auto-fill-mode 1))) 
  20.  
  21. (setq latex-mode-hook '(lambda () (setq fill-column 88)))
  22. (setq latex-mode-hook '(lambda () (auto-fill-mode 1))) 
  23.  
  24. (setq outline-mode-hook '(lambda () (setq -fill-column 87)))
  25. (setq outline-mode-hook '(lambda () (auto-fill-mode 1))) 
  26.  
  27.  
  28. One thing I have recognize is that if I set something in text mode, everything
  29. in tex and latex mode was set accordingly.
  30. Whe I tried to set auto-fill-mode, now in every mode fill-column became default
  31. , which is 70.
  32.  
  33. But when I can set fill-column accordingly, now I can't get auto-fill-mode.
  34. I have to M-x auto-fill-mode manually.
  35.  
  36. What did I do wrong?
  37. Thanks in advance.
  38.  
  39.         +----------------------------------------------------------+
  40.         |      Chang-Hyeon Song     |      song@iastate.edu        |
  41.         |   Iowa State University   |       (515) 292-2209         |
  42.         +----------------------------------------------------------+
  43.  
  44.