|
From: | Andreas Röhler |
Subject: | Re: fill-paragraph ill designed |
Date: | Wed, 26 Aug 2015 14:22:21 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
Am 26.08.2015 um 09:08 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 Python. Then fill-region will be called instead of fill-paragraph-function.But how should fill-region get access or know about Python docu-string styles?
[Prev in Thread] | Current Thread | [Next in Thread] |