emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: "J. P. Ascher" <jpa4q@virginia.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] org-fill-paragraph unexpectedly creates list items [9.5.3 (9.5.3-g69c588 @ /Users/james/.emacs.d/elpa/org-9.5.3/)]
Date: Fri, 06 May 2022 19:10:52 +0800	[thread overview]
Message-ID: <878rre7w77.fsf@localhost> (raw)
In-Reply-To: <m0fslonmma.fsf@virginia.edu>

J. P. Ascher <jpa4q@virginia.edu> writes:

> This is a bug that I fixed locally, but I'm not up to speed on
> contributions or your code style, and your code base is fairly
> complicated.
>
> I contribute my solution in case it would be of broader use.

Thanks for the report and the proposed solution!
If you need any advice about Org code base, feel free to ask this list.

> `One two three four five six seven eight nine ten eleven twelve thirteen 1. fourteen`
>
> Filling that line with fill-column 72 results in:
>
> `One two three four five six seven eight nine ten eleven twelve thirteen
> 1. fourteen`

I tried hard to reproduce your issue, but I am unable to get the
behaviour you report using the latest stable version of Org (bugfix:
f8bb41461), the latest dev version (main), and the Org version built
into Emacs 28.

Could you create steps to reproduce the problem starting from emacs -Q?
See https://orgmode.org/manual/Feedback.html

> Another example, with ox-pandoc (I believe pandoc is slightly more
> capacious in its list definitions) this will also trigger a new line: 
>
> `One two three four five six seven eight nine ten eleven twelve thirteen A. fourteen`
>
> Filling with fill-column 72 results in:
>
> `One two three four five six seven eight nine ten eleven twelve thirteen
> A. fourteen`

Note that ox-pandoc is not a part of Org. Could you submit the bug
report to ox-pandoc author?

Best,
Ihor


  reply	other threads:[~2022-05-06 11:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-05 12:54 [BUG] org-fill-paragraph unexpectedly creates list items [9.5.3 (9.5.3-g69c588 @ /Users/james/.emacs.d/elpa/org-9.5.3/)] J. P. Ascher
2022-05-06 11:10 ` Ihor Radchenko [this message]
2022-05-06 15:06   ` FIXED (or never broken?) " J. P. Ascher

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=878rre7w77.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jpa4q@virginia.edu \
    /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).