* fill-region-as-paragraph does not respect fill-paragraph-function (was: org-(un)fill-buffer)
[not found] ` <CADQMGASJGenMrnkv=A7r0aWBTaWzfC2Nc7HB-8iYNG==gvfCrg@mail.gmail.com>
@ 2024-01-10 16:36 ` Ihor Radchenko
0 siblings, 0 replies; only message in thread
From: Ihor Radchenko @ 2024-01-10 16:36 UTC (permalink / raw)
To: Psionic K; +Cc: emacs-orgmode, emacs-devel
[ 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>
^ permalink raw reply [flat|nested] only message in thread