help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Word Wrap in GNU Emacs for OS X


From: Kai Großjohann
Subject: Re: Word Wrap in GNU Emacs for OS X
Date: Sun, 23 Feb 2003 18:30:22 +0100
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50

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.
-- 
A preposition is not a good thing to end a sentence with.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]