emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Renato Ferreira <renatofdds@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: [PATCH] lisp/org.el: Fix `org-fill-paragraph' in lists when `mark-active'
Date: Tue, 31 May 2022 09:49:17 -0300	[thread overview]
Message-ID: <878rqhx3xu.fsf@gmail.com> (raw)
In-Reply-To: <87o7zdkjeg.fsf@gmail.com> (Renato Ferreira's message of "Tue, 31 May 2022 08:53:43 -0300")

Considering the change 91b239829 that fixes this bug:
https://list.orgmode.org/87d04zm7gm.fsf@fastmail.fm/

I stumbled upon a bug introduced by it: filling lists with active region.

# MRE:

Go to start of list, `org-mark-element`, then `org-fill-paragraph`. The first item does not get filled.

```org
* This is a test

- Aliquam erat volutpat.  Nunc eleifend leo vitae magna.  In id erat non orci commodo lobortis.  Proin neque massa, cursus ut, gravida ut, lobortis eget, lacus.  Sed diam.  Praesent fermentum tempor.
- Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec hendrerit tempor tellus.  Donec pretium posuere tellus. Proin quam nisl, tincidunt et, mattis eget, convallis nec, purus. Cum sociis natoque.
- Aliquam erat volutpat.  Nunc eleifend leo vitae magna.  In id erat non orci commodo lobortis.  Proin neque massa, cursus ut, gravida ut, lobortis eget, lacus.  Sed diam.  Praesent fermentum tempor tellus.
```

-- 
Att.,
Renato Ferreira


  reply	other threads:[~2022-05-31 13:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-31 11:53 [PATCH] lisp/org.el: Fix `org-fill-paragraph' in lists when `mark-active' Renato Ferreira
2022-05-31 12:49 ` Renato Ferreira [this message]
2022-05-31 13:51   ` Sébastien Miquel
2022-07-19 19:36   ` Sébastien Miquel
2022-07-20 21:13     ` Renato Ferreira

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=878rqhx3xu.fsf@gmail.com \
    --to=renatofdds@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).