Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!apple!bridge2!mdb From: mdb@ESD.3Com.COM (Mark D. Baushke) Newsgroups: comp.emacs Subject: Re: wrap-around text Message-ID: Date: 11 Nov 89 05:14:37 GMT References: <1613@xn.LL.MIT.EDU> Sender: news@bridge2.ESD.3Com.COM Organization: 3Com Corp., Mountain View, CA. Lines: 18 In-reply-to: rkc@XN.LL.MIT.EDU's message of 9 Nov 89 17:51:22 GMT On 9 Nov 89 17:51:22 GMT, rkc@XN.LL.MIT.EDU (rkc) said: rkc> I'm sure there's a way to stop emacs from wrapping around in a rkc> window, but I don't know what the command is. Can anybody tell rkc> me the command's name? You don't say which emacs you are using. If it is GNU Emacs 18.xx, then the following code useful: (defun toggle-truncate-lines () "Toggle the value of truncate-lines" (interactive) (setq truncate-lines (not truncate-lines)) (scroll-up 0)) Enjoy! -- Mark D. Baushke