GNU bug report logs - #60360
30.0.50; prog-fill-reindent-defun doesn't use region

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Tue, 27 Dec 2022 18:15:01 UTC

Severity: normal

Tags: patch

Merged with 60322

Fixed in version 30.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 60360 <at> debbugs.gnu.org (full text, mbox):

From: Theodor Thornhill <theo <at> thornhill.no>
To: Juri Linkov <juri <at> linkov.net>, 60360 <at> debbugs.gnu.org
Subject: Re: bug#60360: 30.0.50; prog-fill-reindent-defun doesn't use region
Date: Tue, 27 Dec 2022 22:01:28 +0100
[Message part 1 (text/plain, inline)]
Hi, Juri!

> X-Debbugs-CC: Theodor Thornhill <theo <at> thornhill.no>
>
> After selecting the region in a docstring, M-q used to fill the region,
> but new prog-fill-reindent-defun doesn't do this.  The original
> function had the argument REGION for that, described thusly:
>
>   The REGION argument is non-nil if called interactively; in that
>   case, if Transient Mark mode is enabled and the mark is active,
>   call ‘fill-region’ to fill each of the paragraphs in the active
>   region, instead of just filling the current paragraph.

Thanks, does the below patch solve your problem?  If so, feel free to
install it, as I can't :-)

Theo

[0001-Fixes-in-prog-fill-reindent-defun.patch (text/x-diff, attachment)]

This bug report was last modified 2 years and 148 days ago.

Previous Next


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