Ihor Radchenko [2026-06-24 18:51:34] wrote: > Sean Whitton <[email protected]> writes: >> I think therefore that unfill-paragraph ought *not* to respect >> fill-paragraph-function, because in that case, binding fill-column is >> not actually sufficient to unfill the paragraph. > Or should we introduce unfill-paragraph-function instead? > As major mode developer, it is very annoying when I do not have tools to > alter the behavior of filling functions, especially when the defaults > can literally break syntax.
IMNSHO, `fill-paragraph-function` is a pretty bad hook whose intended semantics is very unclear, barely more than "do something that would be nice to have on `M-q`". So, before we add something similar to `unfill-paragraph` I think we should have a clear idea of the problem it should aim to fix. As a starting point a clear description of why `fill-forward-paragraph-function` and `fill-region-as-paragraph-function` aren't sufficient. [ My secret hope is that we can fix that problem with hooks that are applicable also to `fill-paragraph` and/or `fill-region`. ] === Stefan
