Hello,

Steve Moreau <moreau.st...@free.fr> writes:

> - In the past, what I could see with the standard 'M-x fill-region' over
> paragraphs or lists with empty lines between each inner items, was probably
> performed thanks to several calls to org-fill-paragraph.

I don't think so. `fill-region' uses `fill-region-as-paragraph', which
does its own thing. AFACT, it never calls `fill-paragraph-function',
i.e., `org-fill-paragraph'.

> - There are no unit tests, nor past discussions about how different text
>   block contents should be filled with this new function

`org-fill-paragraph' is heavily tested in `test-org/fill-paragraph'.
`org-fill-region' is expected to behave as if `org-fill-paragraph' is
called on every element in the region.

Regards,

-- 
Nicolas Goaziou

Reply via email to