GNU bug report logs - #55234
28.1; replace-string in rectangle regio

Previous Next

Package: emacs;

Reported by: Paulo Sousa <de.sousa.paulus <at> gmail.com>

Date: Mon, 2 May 2022 23:34:02 UTC

Severity: normal

Found in version 28.1

Fixed in version 29.0.50

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: Paulo Sousa <de.sousa.paulus <at> gmail.com>, 55234 <at> debbugs.gnu.org
Subject: bug#55234: 28.1; replace-string in rectangle regio
Date: Thu, 09 Jun 2022 20:05:21 +0300
>> Wouldn't it go to infinite recursion when the advice on
>> region-beginning will call region-bounds that calls
>> rectangle--extract-region again?
>
> I must admit that I haven't checked when which calls are made (and there
> are a lot).  But I would expect that a binding to avoid the infinite
> recursion would be made in the advice itself, not outside.

The advice needs to get rectangular region boundaries
using rectangle--extract-region.




This bug report was last modified 3 years and 42 days ago.

Previous Next


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