emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [PATCH] lisp/org.el: Fix `org-fill-paragraph' in lists when `mark-ac


From: Sébastien Miquel
Subject: Re: [PATCH] lisp/org.el: Fix `org-fill-paragraph' in lists when `mark-active'
Date: Tue, 31 May 2022 13:51:16 +0000

Hi,

Renato Ferreira writes:
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.
```
See also
https://list.orgmode.org/041ca43d-2efb-db1e-76ab-7c15af088650@posteo.eu/
where I submitted a different patch that fixes this issue (I think) and
a couple of others.

Regards,

--
Sébastien Miquel




reply via email to

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