emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: sebastien.miquel@posteo.eu
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: [PATCH] org.el: Fix the filling of regions containing lists
Date: Tue, 30 Nov 2021 17:22:43 -0700	[thread overview]
Message-ID: <CAJcAo8sKU-2_v-E4=M9XgJ9yg_JNc3b=SfLcShDPPgz=Cck1uw@mail.gmail.com> (raw)
In-Reply-To: <041ca43d-2efb-db1e-76ab-7c15af088650@posteo.eu>

wow thank you i look forward to this.

On 11/30/21, Sébastien Miquel <sebastien.miquel@posteo.eu> wrote:
> Hi,
>
> The attached patch fixes the following issues with the functions
> =fill-region= and =fill-paragraph=, when called with an active region
> containing a list.
>
> In the examples, replace 'long line' by long lines to be filled.
>
>   + Calling =fill-region= on a region which contains a list with single
>     line items (such as the one below) breaks the list structure.
>     - long line
>     - long line
>   + Calling =fill-region= on a region with a list such as the one below
>     doesn't fill the list
>     - short line
>       short line
>     - short line
>       short line
>   + Calling =fill-paragraph= on a region containing a list such as the
>     one below doesn't fill the first item
>     - long line
>     - long line
>     - long line
>   + Calling =fill-paragraph= on a region containing a list such as the
>     one below doesn't fill the list
>     - long line
>     - long line
>     - short line
>
> Regards,
>
> --
> Sébastien Miquel
>


-- 
The Kafka Pandemic

Please learn what misopathy is.
https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html


  reply	other threads:[~2021-12-01  0:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-30 21:50 [PATCH] org.el: Fix the filling of regions containing lists Sébastien Miquel
2021-12-01  0:22 ` Samuel Wales [this message]
2022-07-04 11:27   ` Sébastien Miquel

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='CAJcAo8sKU-2_v-E4=M9XgJ9yg_JNc3b=SfLcShDPPgz=Cck1uw@mail.gmail.com' \
    --to=samologist@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sebastien.miquel@posteo.eu \
    /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).