unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 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

only message in thread, other threads:[~2024-01-10 16:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CADQMGASQFztZ2Y7jha+3FeLKv8cbi+=UcPGxw7nO4AKNmZ0Nrw@mail.gmail.com>
     [not found] ` <874jflqsdl.fsf@localhost>
     [not found]   ` <CADQMGARjd2i_BrHsb-kH_Bk2NR2T4n5ghjzYvVGr+1tuUm-9QQ@mail.gmail.com>
     [not found]     ` <CADQMGASXJcFB7t+7oK+fuAS_C3bFeerikObyU9D5vh9vTYn8Ww@mail.gmail.com>
     [not found]       ` <87le8xkx0q.fsf@localhost>
     [not found]         ` <CADQMGASJGenMrnkv=A7r0aWBTaWzfC2Nc7HB-8iYNG==gvfCrg@mail.gmail.com>
2024-01-10 16:36           ` fill-region-as-paragraph does not respect fill-paragraph-function (was: org-(un)fill-buffer) Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).