emacs-devel
[Top][All Lists]
Advanced

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

fill-region-as-paragraph does not respect fill-paragraph-function (was:


From: Ihor Radchenko
Subject: fill-region-as-paragraph does not respect fill-paragraph-function (was: org-(un)fill-buffer)
Date: Wed, 10 Jan 2024 16:36:04 +0000

[ CCing emacs-devel ]

Psionic K <psionik@positron.solutions> writes:

> If I run fill-region on a buffer, there's a lot of errors where the
> lack of element awareness means filling is attempted on text that does
> not fill properly, such as property drawers, keywords, and even
> src-blocks without newline separations.  The result requires way too
> much cleanup.

It looks like `fill-region' sometimes calls `fill-region-as-paragraph'
that ignores the Org mode's setting of `fill-paragraph-function'.

May someone knowledgeable tell if this behaviour is intentional?
Or maybe it is a bug?

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

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