Stefan Monnier [30/Jun  4:25pm -04] wrote:
> Then I don't know what you meant by "I'd been interpreting that more
> along Ihor's lines".

Well:

Sean Whitton [29/Jun  3:43pm +01] wrote:
> Stefan Monnier [26/Jun  2:48pm -04] wrote:
>>>> Not all regions make sense, indeed.  It's the responsibility of the
>>>> caller of `fill-region-as-paragraph` to make sure the region is indeed
>>>> "a (fillable) paragraph".  Usually this is done by calling
>>>> `fill-forward-paragraph` to determine the bounds of the region.
>>>
>>> Is it? The docstring says
>>>
>>>   "Fill the region as if it were a single paragraph.
>>>
>>> It never hints that the region SHOULD be a single paragraph.
>>
>> From where I stand, "as if it were a single paragraph" is saying exactly 
>> that.

You say that it's the responsibility of the caller to make sure the
region is indeed a fillable paragraph but in the case I described it's
two paragraphs.

-- 
Sean Whitton

Reply via email to