[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] documentation updates patch

From: David Lawrence Ramsey
Subject: Re: [Nano-devel] documentation updates patch
Date: Sat, 5 Oct 2002 20:17:08 -0700 (PDT)

--- David Lawrence Ramsey <address@hidden> wrote:
>I've come up with a patch to fix a few minor documentation
>problems with nano-1.1.11-cvs.



Update: a few unneeded spaces in search.c have been
removed in it too.

The paragraph searching patch is also back in sync with
CVS, as usual.  (Actually, it has been for awhile; I just
haven't been notifying the list every time I sync it.  I
probably should be, though.)

I've also forward-ported the --disable-wrapping-as-root
option from 1.0.9, in case it's decided that it should go
in nano 1.1.

Finally, I've discovered a minor bug in the justification
routine; specifically, in justify_format().  The routine
that checks whether to leave two spaces after punctuation
doesn't handle punctuation followed by a bracket character
), ], }, or >.  For an example of this, type the following

(This is a test.)  This is one too.

and justify it.  The two spaces between the sentences will
be reduced to one space, since the test for punctuation
followed by two spaces fails.  I've tried fixing this, but
I either end up with an if statement so complicated as to
be unreadable or a double if block that is readable but
doesn't work because all the logic is based on negation
(i. e. *front's or *back's not being certain characters
before the space).

Sluggy.Net: The Sluggy Freelance Community!

Select your own custom email address for FREE! Get address@hidden w/No Ads, 
6MB, POP & more!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]