From owner-freebsd-chat Tue Oct 2 13:26:50 2001 Delivered-To: freebsd-chat@freebsd.org Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by hub.freebsd.org (Postfix) with ESMTP id 68B5937B406 for ; Tue, 2 Oct 2001 13:26:46 -0700 (PDT) Received: from corto.lpt.ens.fr (corto.lpt.ens.fr [129.199.122.2]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id f92KQjN58446 ; Tue, 2 Oct 2001 22:26:45 +0200 (CEST) Received: from (rsidd@localhost) by corto.lpt.ens.fr (8.9.3/jtpda-5.3.1) id WAA29984 ; Tue, 2 Oct 2001 22:26:45 +0200 (CEST) Date: Tue, 2 Oct 2001 22:26:45 +0200 From: Rahul Siddharthan To: David Scheidt Cc: j mckitrick , "Gary W. Swearingen" , freebsd-chat@FreeBSD.ORG Subject: Re: code density vs readability Message-ID: <20011002222645.C28111@lpt.ens.fr> Mail-Followup-To: David Scheidt , j mckitrick , "Gary W. Swearingen" , freebsd-chat@FreeBSD.ORG References: <20011002213051.A28111@lpt.ens.fr> <20011002222232.B28111@lpt.ens.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011002222232.B28111@lpt.ens.fr>; from rsidd@physics.iisc.ernet.in on Tue, Oct 02, 2001 at 10:22:32PM +0200 X-Operating-System: FreeBSD 3.4-STABLE i386 Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > only.) But my big plus for vim is its paragraph-level operations, eg > > gqap for formatting a paragraph. Not a big deal with programs, but a > > huge help with text and emails, and even handles quoted email > > correctly and is great at unmangling Outlook-generated mail. I don't > > think nvi has that; traditional vi doesn't. > > > > I'm not convinced this needs to be part of the editor. Checkout par > (ports/textproc/par), I think it does everything vim does. I just looked at the package description file. Par is a filter that copies its input to its output, changing all white characters (except newlines) to spaces, and reformatting each paragraph. Paragraphs are separated by protected, blank, and bodiless lines (see the Terminology section for definitions), and optionally delimited by indentation (see the d option in the Options section). So what would you do with par if you only wanted to format one paragraph in one text, and didn't want to jump through several hoops to do so? A common occurrence with latex documents, I assure you, where you want to format text but not equations, for instance. Anyway, afaiac there's no question this stuff belongs in the editor. R To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message