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

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

Re: newbie question about truncating lines - what to put in my .emacs f


From: Kevin Rodgers
Subject: Re: newbie question about truncating lines - what to put in my .emacs file?
Date: Wed, 05 Feb 2003 10:27:21 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Ted Sung wrote:

I'm running emacs 21.2.1 on W2K.  I frequently load in files
which have long lines and I don't want them to wrap.  So under
the Options menu, I select "Truncate long lines in this buffer".
That works well but I would like to truncate long lines in every buffer I load.


(setq-default truncate-lines t)


I also want to set the word wrap in text modes to be on.

(add-hook 'text-mode-hook 'turn-on-auto-fill)


--
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;";>Kevin Rodgers</a>



reply via email to

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