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

From: Jens Schmidt <[email-masked]>
Date: Tue, 28 Nov 2023 22:28:18 +0100

Dmitry Gutov <[email-masked]> writes:

> On 27/11/2023 22:08, Jens Schmidt wrote:
>> A very conservative aproach to keep that knowledge of such modes would
>> be something along the following lines:
>
> Or a less conservative approach: rebind the key in all modes
> where its clear that they handle the outside-of-comments
> refilling themselves.

Right.  You basically propose an opt-out of a new feature (which *could*
break work flows), I propose an opt-in.  IMO the opt-out would have the
disadvantage that all the major modes on *ELPA or elsewhere would not be
covered.

If we go for the opt-out, probably the NEWS entry for command
`prog-fill-reindent-defun' should be updated to mention that M-q could
be rebound to `fill-paragraph' should the new command not have the
desired effect?  Or does that go without saying?