From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Oskar Kvist <oskar.kvist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: 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 [thread overview]
Message-ID: <87h90df3eb.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CADu6qeOVj8UvXdo-vrGAroi+zMWmLwpu65RpG+N5pETbPFuFxA@mail.gmail.com> (Oskar Kvist's message of "Thu, 18 May 2017 05:55:17 +0200")
Hello,
Oskar Kvist <oskar.kvist@gmail.com> 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
prev parent reply other threads:[~2017-05-22 13:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-18 3:55 Bug: Filling does not work correctly in lists [9.0.5 (9.0.5-elpa @ /home/oskar/.emacs.d/elpa/org-20170210/)] Oskar Kvist
2017-05-22 13:05 ` Nicolas Goaziou [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=87h90df3eb.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=oskar.kvist@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).