Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!xanth!jim From: jim@xanth.cs.odu.edu (Jim Duncan) Newsgroups: comp.editors Subject: Re: Reformatting in vi Message-ID: <3774@xanth.cs.odu.edu> Date: 27 Jan 88 07:19:37 GMT References: <1988Jan19.102343.3255@nonvon.uucp> <1723@ttidca.TTI.COM> <1726@ttidca.TTI.COM> Reply-To: jim@xanth.UUCP (Jim Duncan) Distribution: na Organization: Old Dominion University, Norfolk Va. Lines: 27 In article <1726@ttidca.TTI.COM> kevin@ttidcb.tti.com (Kevin Carothers) writes: > >Time to follow up on my own posting. > >In my response to paragraph reformatting inside vi, the technique >I described inserted a page-full of blank lines inside the message text. > > (deleted many lines containing many steps, and many, many keystrokes...) > >P.S. >Many Thanks to the poster of the original question. Vi is an editor >which gets so much bad press that I always relish getting a chance to >show what it can really do. > While it's true that vi gets a lot of bad (read "undeserved") press, I would *not* consider this a shining example of its power. In GNU Emacs, one moves the point into the paragraph to be filled (assuming fill-mode is on), and types ESC q to reformat the paragraph. *No* blank lines are inserted. Nonetheless, I have saved this gem for future reference. Thanks for posting. Jim Duncan jim@xanth.cs.odu.edu ..!sun!xanth!jim -- Jim Duncan, Computer Science Dept, Old Dominion Univ, Norfolk VA 23529-0162 (804)440-3915 INET: jim@xanth.cs.odu.edu UUCP: ...!sun!xanth!jim ---------- Time flies like the wind, but fruit flies like bananas. ---------