Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!bbn.com!mesard From: mesard@bbn.com (Wayne Mesard) Newsgroups: comp.emacs Subject: Re: Line-wrapping as opposed to line-truncating Message-ID: <36807@bbn.COM> Date: 6 Mar 89 17:13:02 GMT References: <4525@cs.Buffalo.EDU> <18082@gatech.edu> Sender: news@bbn.COM Reply-To: mesard@BBN.COM (Wayne Mesard) Organization: Bolt Beranek and Newman Inc., Cambridge MA Lines: 35 Emacs: GNU >18.50 In article <18082@gatech.edu> ken@gatech.UUCP (Ken Seefried iii) writes: > >In most modes do: > > M-x auto-fill-mode [...] > For example, to set >the width to 40 chars, you would say: > > C-u 40 C-x f And to enable auto-fill-mode permanently, create a file named ".emacs" in your home directory if you don't already have one, and put the following kinds of things in it: To make GNU Emacs use text-mode instead of fundamental mode, as its default: (setq default-major-mode 'text-mode) To automagically turn on auto-fill-mode, whenever text-mode is entered: (setq text-mode-hook 'turn-on-auto-fill) To change fill-mode's line width to something other than the default: (setq-default fill-column 72) For more info, see the section on Init Files in the GNU manual. -- unsigned *Wayne_Mesard(); "I feel like an alien. It's a problem." -DB MESARD@BBN.COM BBN, Cambridge, MA