Hello,

Oskar Kvist <oskar.kv...@gmail.com> writes:

> I have a buffer with the 3 lines below. Notice that the long lines
> contains no newlines. I selected (with the mark) the whole last line,
> the one starting with "2.", and ran `fill-region`. It worked, and the
> line was filled. Then I tried to do the same with the line starting with
> "1.", but when I selected it and ran fill-region, nothing happened, and
> it remained one long line.
>
> If I try to fill the line starting with "1." first, before filling "2.",
> it works. And after "1." I can fill "2.".
>
> If I remove the "1." and "2." and just have two long lines instead of a
> list, they can be filled in any order.
>
> The buffer text:
>
> * Test
> 1. long line long line long line long line long line long line long line
> long line long line long line long line long line long line long line long
> line long line long line long line long line long line
> 2. long line long line long line long line long line long line long line
> long line long line long line long line long line long line long line long
> line long line long line long line long line long line

Org fill paragraph function did not handle region at all and delegated
the job to `fill-region'. This is no longer the case in development
branch. Hopefully, this should solve your issue.

Thank you for the report.

Regards,

-- 
Nicolas Goaziou

Reply via email to