From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Lars Ingebrigtsen <larsi@gnus.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#27896: [External] : Re: bug#27896: 25.2;
 `C-M-%' with `rectangle-mark-mode'
Date: Tue, 09 Feb 2021 22:07:11 +0100
Message-ID: <877dnhgdc0.fsf@gnus.org>
References: <8b30a5cc-24db-4bca-94bd-50c79e65b43a@default>
 <cf0b64a5-dab3-4a71-b49b-fd9b20e77b41@default>
 <87pn1eiv4m.fsf@gnus.org>
 <SA2PR10MB44741A63A4C7EA23A6F63421F3B29@SA2PR10MB4474.namprd10.prod.outlook.com>
 <87eehrwyd8.fsf@mail.linkov.net> <87im73y51q.fsf@gnus.org>
 <87r1lqlbzj.fsf@mail.linkov.net> <871rdpll0w.fsf@gnus.org>
 <87a6sd1txh.fsf@mail.linkov.net>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="24141"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
Cc: "27896@debbugs.gnu.org" <27896@debbugs.gnu.org>
To: Juri Linkov <juri@linkov.net>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 09 22:08:48 2021
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1l9aFc-0006Be-3T
	for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 22:08:48 +0100
Original-Received: from localhost ([::1]:59874 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1l9aFb-0005Oy-3d
	for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 16:08:47 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57498)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1l9aEs-0005Nb-NZ
 for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 16:08:02 -0500
Original-Received: from debbugs.gnu.org ([209.51.188.43]:43286)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1l9aEs-0001b0-FT
 for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 16:08:02 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1l9aEs-0001At-AX
 for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 16:08:02 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Lars Ingebrigtsen <larsi@gnus.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Tue, 09 Feb 2021 21:08:02 +0000
Resent-Message-ID: <handler.27896.B27896.16129048454471@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 27896
X-GNU-PR-Package: emacs
Original-Received: via spool by 27896-submit@debbugs.gnu.org id=B27896.16129048454471
 (code B ref 27896); Tue, 09 Feb 2021 21:08:02 +0000
Original-Received: (at 27896) by debbugs.gnu.org; 9 Feb 2021 21:07:25 +0000
Original-Received: from localhost ([127.0.0.1]:54832 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1l9aEH-0001A3-4g
 for submit@debbugs.gnu.org; Tue, 09 Feb 2021 16:07:25 -0500
Original-Received: from quimby.gnus.org ([95.216.78.240]:35024)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@gnus.org>) id 1l9aEE-00019o-54
 for 27896@debbugs.gnu.org; Tue, 09 Feb 2021 16:07:23 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=mwfkFDXWTnh54L1Z9fRidr6GZV1TK8FejzITD/5DkQ0=; b=GpbsZwUGDbxLwsEILwAA9FYEMV
 easSlhwGLmqYzWTUwrhe29UyXiCFtxmFkpLmZAouYlemZtT+JvqHAlipXAbYi3ItWArMS6/ErkRDN
 gw0ZnB3bQpEhmQVcgZ65QRiX5Mf436H2zf/C4DLYRMOsk5udTMattmhY0O2EVMWp3wjo=;
Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@gnus.org>)
 id 1l9aE4-00080s-TJ; Tue, 09 Feb 2021 22:07:15 +0100
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEXs1Jr967DQvo6s
 kVWUbjdeQC9VOSz///9RMRGeAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+UCCRQdLSwJB74AAAGKSURB
 VDjLlZNdbsIwDMdd4AApvUBp0Z6hzfaMGsPzpNU9wCC5/xFmJ03aaCBtllBj//A/H7ahKJ8bvATl
 H0HxChxyoJLf5aCKQJkc6Aj2eF6DCiOojFmDo47/22l9WsAek4DWOGcL2CEOsxJiXENwZ+UNtEyK
 lVTSKqMWBMcMEVRrsEVcDozYQFtrkGdTsqUKV9+iIXbHcPOjT1FN0105xoAQ0jGNRrqONOKVkIg8
 gCN75GikYPKFbmiRY7PFxUSw+NNEZOVjJeDBxMA650hi5IRa8AtnJzcxkZ+NQJzZbACc7x7gMhvd
 ZN39Y+zrX+DmdP1m+Qp5eOxvtii33CvwCLEba/TosDUn/7AKPv2Gd87/llLGWpbwZfv3x6E7lfy6
 SqdalqBqrmAsxqowMgYVDnBIhb0s7eMffWmTIgERmF1JOYcuUb6vEqiiluyxBiqBfA/ROicQj1+E
 tl56t1TtquFMNmqcL/0l4JIBzu+bru+LNHUzYKVGjJ88H87U7GnQA9jkwQU8sf+DH89Hr7OqjPml
 AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTAyLTA5VDIwOjI5OjQ0KzAwOjAwh2l2UgAAACV0RVh0
 ZGF0ZTptb2RpZnkAMjAyMS0wMi0wOVQyMDoyOTo0NCswMDowMPY0zu4AAAAASUVORK5CYII=
X-Now-Playing: Masada's _Alef_: "Janohah"
In-Reply-To: <87a6sd1txh.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 
 09 Feb 2021 11:24:46 +0200")
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: "bug-gnu-emacs"
 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.bugs:199735
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/199735>

Juri Linkov <juri@linkov.net> writes:

> So this is a question of priorities: does it make sense to spend
> much time implementing this.  Are there any users of this feature?
>
> I mean the feature of regexp and multi-line replacements in rectangle mode,
> because non-regexp single-line string replacements already work fine
> in rectangle mode.
>
> Or it's enough to explain the current limitation in the documentation.

I don't think it's a particularly important bug to fix -- like you, I
think that the number of users here is pretty small.  (To say the
least.)

But I'm not sure whether this is something that should be documented,
either -- it looks like a bug to me, so just leaving it open until
somebody feels like fixing it is an option.

As for how, I don't know.  Perhaps marking regions as skippable somehow
would be an option?  That is, when doing rectangles, mark all the text
outside of the rectangle as skippable (temporarily).  I seem to remember
there being some discussion about this in general for the searching
functions...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no