Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2001 06:45:56 +0200
From:      Piet Delport <siberiyan@mweb.co.za>
To:        Brad Knowles <brad.knowles@skynet.be>
Cc:        freebsd-chat@FreeBSD.ORG
Subject:   Re: code density vs readability
Message-ID:  <20011003064556.A2383@athalon.homenet>
In-Reply-To: <p05100323b7dfe42a5979@[194.78.144.27]>
References:  <20010927141333.A44288@dogma.freebsd-uk.eu.org> <p05100334b7d8e6544d17@[194.78.144.27]> <20011002133112.B98079@dogma.freebsd-uk.eu.org> <20011002135226.A33832@jake.akitanet.co.uk> <20011002142257.C98079@dogma.freebsd-uk.eu.org> <dxitdxlx44.tdx@localhost.localdomain> <20011002204238.B22031@lpt.ens.fr> <20011002195955.C148@dogma.freebsd-uk.eu.org> <20011002213051.A28111@lpt.ens.fr> <p05100323b7dfe42a5979@[194.78.144.27]>

next in thread | previous in thread | raw e-mail | index | archive | help

--0F1p//8PRICkK4MW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, 02 Oct 2001 at 23:39:32 +0200, Brad Knowles wrote:
> At 9:30 PM +0200 10/2/01, Rahul Siddharthan wrote:
>>         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.
>=20
> 	I've never seen anything from any other program that could begin
> to compare with the paragraph formatting available in "par".  Does vim
> incorporate this code from par, or have you compared the two?

Vim's formatting doesn't share any code with par (AFAIK).  It's probably
also less powerful than par on the whole, but it includes more than
enough features to keep me happy.  A bad first experience with par[1]
combined with the fact that Vim's formatting is so well-integrated with
the rest of Vim still makes me prefer it to par in most cases.


[1] Typed something the lines of:

| tester here,
| testing stuff

par promptly stripped the greatest common prefix:

| tester here, ing stuff

Vim has a set list of allowed prefixes instead, predefined for most
languages via its extensive filetype system (quote chars when editing
mails, for example), so this surprise never happens.  I know you can
probably override this behaviour in par, but i didn't invest the time to
find out, and stuck with what i knew instead. :-)

--=20
Piet Delport <siberiyan@mweb.co.za>
Today's subliminal thought is:

--0F1p//8PRICkK4MW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)

iD8DBQE7upgEzRUP82sZFCcRAl7TAJ9+yKDjSZbcD+vpcB3SVQk2U6si8wCePCqL
97ev4tlDbSpyXJvQ72NR0c0=
=orhq
-----END PGP SIGNATURE-----

--0F1p//8PRICkK4MW--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011003064556.A2383>