From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Juri Linkov <juri@linkov.net>
Newsgroups: gmane.emacs.bugs
Subject: bug#27896: [External] : Re: bug#27896: 25.2;
 `C-M-%' with `rectangle-mark-mode'
Date: Tue, 09 Feb 2021 19:54:21 +0200
Organization: LINKOV.NET
Message-ID: <87zh0d5dpu.fsf@mail.linkov.net>
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>
 <SA2PR10MB4474BA6E3EE5A80416FFB979F38E9@SA2PR10MB4474.namprd10.prod.outlook.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="8120"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)
Cc: "27896@debbugs.gnu.org" <27896@debbugs.gnu.org>,
 Lars Ingebrigtsen <larsi@gnus.org>
To: Drew Adams <drew.adams@oracle.com>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 09 19:18:35 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 1l9Xat-00022T-F6
	for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 19:18:35 +0100
Original-Received: from localhost ([::1]:42548 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 1l9Xas-0003HA-Fc
	for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 13:18:34 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39656)
 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 1l9XYQ-0000wb-KL
 for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 13:16:06 -0500
Original-Received: from debbugs.gnu.org ([209.51.188.43]:43005)
 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 1l9XYP-0004Em-O0
 for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 13:16: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 1l9XYP-0007aZ-JF
 for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 13:16:01 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Juri Linkov <juri@linkov.net>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Tue, 09 Feb 2021 18:16:01 +0000
Resent-Message-ID: <handler.27896.B27896.161289452929116@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.161289452929116
 (code B ref 27896); Tue, 09 Feb 2021 18:16:01 +0000
Original-Received: (at 27896) by debbugs.gnu.org; 9 Feb 2021 18:15:29 +0000
Original-Received: from localhost ([127.0.0.1]:54548 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1l9XXt-0007ZY-Gb
 for submit@debbugs.gnu.org; Tue, 09 Feb 2021 13:15:29 -0500
Original-Received: from relay5-d.mail.gandi.net ([217.70.183.197]:44231)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@linkov.net>) id 1l9XXr-0007Z1-NF
 for 27896@debbugs.gnu.org; Tue, 09 Feb 2021 13:15:28 -0500
X-Originating-IP: 91.129.108.204
Original-Received: from mail.gandi.net (m91-129-108-204.cust.tele2.ee [91.129.108.204])
 (Authenticated sender: juri@linkov.net)
 by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 1FCCE1C0005;
 Tue,  9 Feb 2021 18:15:19 +0000 (UTC)
In-Reply-To: <SA2PR10MB4474BA6E3EE5A80416FFB979F38E9@SA2PR10MB4474.namprd10.prod.outlook.com>
 (Drew Adams's message of "Tue, 9 Feb 2021 17:34:29 +0000")
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:199709
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/199709>

> I've long had in mind doing this myself,
> and started to do so more than once, but I
> haven't gotten around to accomplishing it.
>
> If someone does it (in a general way, with
> no assumptions of rectangularity) then
> great.  If not, that will be for some
> indefinite future.

In the most general case, a noncontiguous region
is just a set of subregions (or as you call this -
'zones') that for the commands that operate on it
should look as just one contiguous string.
How to implement this, I have no idea.