GNU bug report logs - #67462
30.0.50; prog-fill-reindent-defun does not respect buffer-local fill-paragraph-function

Previous Next

Package: emacs;

Reported by: Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>

Date: Sun, 26 Nov 2023 21:10:02 UTC

Severity: normal

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>
Cc: 67462 <at> debbugs.gnu.org, dmitry <at> gutov.dev
Subject: bug#67462: 30.0.50; prog-fill-reindent-defun does not respect buffer-local fill-paragraph-function
Date: Thu, 30 Nov 2023 08:39:40 +0200
> From: Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>
> Cc: 67462 <at> debbugs.gnu.org,  dmitry <at> gutov.dev
> Date: Wed, 29 Nov 2023 22:28:49 +0100
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > So you are saying that indent-region doesn't do its job in some/many
> > major modes?  Can we fix that?  Or what am I missing now?
> 
> No, indent-region does a good job and there is nothing to fix here.  But
> starting with Emacs 30 it does that job (also) on M-q, where previously
> other functionality may have been bound.
> 
> To see the difference, please try executing in Emacs 29 vs master on
> Emacs's own, configured Makefile:
> 
>   ./src/emacs -Q Makefile --eval '(search-forward "SUBDIR_MAKEFILES_IN")'
>   M-q

So the problem is that the new code does its job, just with different
results than the mode-specific fill-paragraph-function did in Emacs 29
and before?  If so, perhaps we should offer a user option to let users
choose which method to use, because some might prefer the new
behavior?




This bug report was last modified 1 year and 199 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.