home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.help
- Path: sparky!uunet!destroyer!news.iastate.edu!song
- From: song@iastate.edu (Chang-Hyeon Song)
- Subject: auto-fill-mode vs. fill-column: Just not work!!!
- Message-ID: <BxMLs3.BFB@news.iastate.edu>
- Sender: news@news.iastate.edu (USENET News System)
- Organization: Iowa State University, Ames, IA
- Date: Thu, 12 Nov 1992 23:11:59 GMT
- Lines: 33
-
- I have been struggling with this about an hour and I quit.
-
- In my .emacs file,
-
- (setq text-mode-hook '(lambda () (setq fill-column 78)))
- (setq text-mode-hook '(lambda () (auto-fill-mode 1)))
-
- (setq tex-mode-hook '(lambda () (setq fill-column 88)))
- (setq text-mode-hook '(lambda () (auto-fill-mode 1)))
-
- (setq latex-mode-hook '(lambda () (setq fill-column 88)))
- (setq latex-mode-hook '(lambda () (auto-fill-mode 1)))
-
- (setq outline-mode-hook '(lambda () (setq -fill-column 87)))
- (setq outline-mode-hook '(lambda () (auto-fill-mode 1)))
-
-
- One thing I have recognize is that if I set something in text mode, everything
- in tex and latex mode was set accordingly.
- Whe I tried to set auto-fill-mode, now in every mode fill-column became default
- , which is 70.
-
- But when I can set fill-column accordingly, now I can't get auto-fill-mode.
- I have to M-x auto-fill-mode manually.
-
- What did I do wrong?
- Thanks in advance.
-
- +----------------------------------------------------------+
- | Chang-Hyeon Song | song@iastate.edu |
- | Iowa State University | (515) 292-2209 |
- +----------------------------------------------------------+
-
-