emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Seungki Kim <tttuuu888@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] org-fill-paragraph for region [9.6.15]
Date: Sun, 04 Aug 2024 18:21:02 +0000	[thread overview]
Message-ID: <87ikwgdu9d.fsf@localhost> (raw)
In-Reply-To: <CAKYNWwSneJOq5STT1dpJvsqBTNgFZCYhwEkn9ruVTSeeppTe8Q@mail.gmail.com>

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	other threads:[~2024-08-04 18:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-25 15:51 [BUG] org-fill-paragraph for region [9.6.15] Seungki Kim
2024-08-04 18:21 ` Ihor Radchenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ikwgdu9d.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=tttuuu888@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).