[Top][All Lists]

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

Re: adaptive-fill bug?

From: Stefan Monnier
Subject: Re: adaptive-fill bug?
Date: Sun, 12 Jun 2005 12:51:47 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>     2. it rejects fill-prefixes guessed by adaptive-fill-mode if they are
>     longer than a line of text (longer than the difference between
>     fill-column and left-margin).

>     The second part is the crucial one and should be 100% uncontroversial.

> I agree.

>     The first part should be harmless as well: such a check used to be
>     done on both the first and the second line of a paragraph.  I removed
>     the check on the first line several years ago because it introduced
>     a bug, and moved the paragraph-start check further down, just before
>     returning.  This late-check also makes the second check unnecessary.

> I don't follow the logic here; I don't see why it is unnecessary.

AFAIK, the check is there to make sure we do not use a fill-prefix which
matches paragraph-start.  The late-check ensures this without caring where
the guessed prefix comes from, so it covers adaptive-fill-regexp matches on
both the first and second line (and third line for people like me ;-).


reply via email to

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