emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: Filling does not work correctly in lists [9.0.5 (9.0.5-elpa


From: Nicolas Goaziou
Subject: Re: [O] Bug: Filling does not work correctly in lists [9.0.5 (9.0.5-elpa @ /home/oskar/.emacs.d/elpa/org-20170210/)]
Date: Mon, 22 May 2017 15:05:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hello,

Oskar Kvist <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]