You mean i need to wait for the stable release of 31 version? Can i do anything about the fill-region now? I use emacs 31.0.50 and i kind of don't want to go back to 30.
On Wednesday, November 5th, 2025 at 22:10, Ihor Radchenko <[email protected]> wrote: > the_wurfkreuz [email protected] writes: > > > The `fill-region` command in org-mode works incorrectly. > > > > Steps to reproduce: > > 1. Launch emacs `emacs -Q -L path/to/org-mode/lisp` > > 2. Execute `org-mode` > > 3. Past this into the scratch buffer: > > > > #+begin_src conf > > pid /tmp/nginx.pid; > > events {} > > # one two three four five six seven eight nine ten eleven twelve thirteen > > fourteen > > ... > > > Confirmed. > Note that Org cannot do much about M-x fill-region in Emacs <31. > Since Emacs 31 (not yet released), there is > `fill-region-as-paragraph-function', which we can utilize. > > -- > Ihor Radchenko // yantar92, > Org mode maintainer, > 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
