emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [BUG] org-fill-paragraph for region [9.6.15]


From: Ihor Radchenko
Subject: Re: [BUG] org-fill-paragraph for region [9.6.15]
Date: Sun, 04 Aug 2024 18:21:02 +0000

Seungki Kim <tttuuu888@gmail.com> writes:

> * 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.

In Org 9.7, it will be

* testA
- test1 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
  do eiusmod
tempor incididunt ut labore et dolore magna aliqua.

Please note that indentation is significant in lists, so your original
example is _not_ a single paragraph:

* testA
- test1 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
  do eiusmod<end-of-list-item>
<beginning of next paragraph>tempor incididunt ut labore et dolore magna aliqua.

> Additionally, if I add line-break(\\) at the end of test1, it works fine.

With Org 9.7 and \\, you will get

* testA
- test1\\
  Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
  eiusmod
tempor incididunt ut labore et dolore magna aliqua.

Hope it makes sense.

Not a bug.
Canceled.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

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