Stefan Monnier [29/Jun  3:37pm -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.
>>
>> I'd been interpreting that more along Ihor's lines, FWIW.
>
> Could you suggest a wording that you'd find more clear?

If I have

    Paragraph one this is it.

    Paragraph two this is it.

and I put point after "one" and mark after the second "this", the two
paragraphs

    this is it.

    Paragraph two this

are joined into one paragraph.  This is what I expect to happen and is
what I understand "as if [the region] were a single paragraph" to mean.

Do you still think we disagree?

-- 
Sean Whitton

Reply via email to