Hi ,
I would like to report a simple bug that occurred in Org mode.
When the content of Org file is as below,
* testA
- test1
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
If I run org-fill-paragraph after selecting the entire line starting with "Lorem ipsum", the result will be as follows.
* testA
- test1 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.
On the other hand, if I change major-mode to text-mode in the same file and do the same operation (fill-paragraph), the result is as follows.
* testA
- test1
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.
In this case, I think org-fill-paragraph should work as same as fill-paragraph in text-mode.
Additionally, if I add line-break(\\) at the end of test1, it works fine.
However, I still think that after selecting a region, it should behave like fill-paragraph regardless of whether there is a line break in the list header.
My testing environment is as below.
GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.42, cairo version 1.18.0)
Org mode version 9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)
Thank you.
Best regards,
Seungki Kim