Subject: bug#67462: 30.0.50; prog-fill-reindent-defun does not respect buffer-local fill-paragraph-function

From: Dmitry Gutov <[email-masked]>
Date: Tue, 28 Nov 2023 23:41:32 +0200

On 28/11/2023 23:10, Jens Schmidt wrote:
> It's outside comment and strings where behavior can differ.  Or where
> behavior actually differs, as shown in my initial report.

Could you perhaps study and summarize the useful parts of those modes' 
fill-paragraph-function's outside of strings and comments?

Perhaps they are similar enough to what prog-fill-reindent-defun does 
already. Or perhaps there's some useful bit of behavior that could be 
promoted. Or maybe there is a specific step which differs in many of 
them, which could be separately made customizable.