[Top][All Lists]

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

Re: fill-paragraph ill designed

From: Andreas Röhler
Subject: Re: fill-paragraph ill designed
Date: Wed, 26 Aug 2015 18:45:59 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Am 26.08.2015 um 14:40 schrieb Tassilo Horn:
Andreas Röhler <address@hidden> writes:

There is a lot of ugliness in the way fill-paragraph works, but
developing a replacement that works ok in practice is harder than it
looks.  I recall a time that we tried.
What would prevent switching the clauses as suggested?
IMO, it makes completely sense that `fill-paragraph' delegates to
`fill-region' if the region is active so that not every mode-specific
`fill-paragraph-function' has to do that on its own.
Let's assume region is up to or inside a documentation-string in

Then fill-region will be called instead of fill-paragraph-function.

But how should fill-region get access or know about Python docu-string
`fill-region' would utilize `fill-forward-paragraph-function' to move
over the paragraphs in that region


  and call `fill-paragraph-function' on

Can't see that. May you point me at?



reply via email to

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