[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Word Wrap in GNU Emacs for OS X
From: |
S. Eng |
Subject: |
Re: Word Wrap in GNU Emacs for OS X |
Date: |
24 Feb 2003 16:33:09 -0800 |
kai.grossjohann@uni-duisburg.de (Kai Großjohann) wrote in message
news:<84wujq3nwx.fsf@lucy.is.informatik.uni-duisburg.de>...
> sng@fscv.net (S. Eng) writes:
>
> > I downloaded Andrew Choi's emacs and everything runs fine. I am
> > running the OS X installed on new Powerbooks. I have
> >
> > (setq text-mode-hook 'turn-on-auto-fill)
> > (setq fill-column 70)
> >
> > These are the same lines as on my Linux. But it is not wrapping.
> > Everything I type is treated as one line.
>
> I suggest this:
>
> (setq-default fill-column 70)
> (add-hook 'text-mode-hook 'turn-on-auto-fill)
>
> And then, you have to be in text mode (or a text-like mode) for this
> to have any effect. If you aren't, try M-x text-mode RET.
Thanks.. But actually, my emacs that comes with Red Hat 7.2 also does
not wrap either. I tried what you suggested, and various other
combinations. Emacs ignore s everything about column-fill in my
.emacs.
On the menu bar under help, the 'auto wrap' is not checked. I tried
'clicking' and 'tabbing' but could not get it to take this option. I
also went into 'customize option'. It says saved to .emacs, but when I
look at my .emacs, nothing has changed.
Any other suggestion?
Thanks in advance.