From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#27896: [External] : Re: bug#27896: 25.2; `C-M-%' with `rectangle-mark-mode' Date: Tue, 09 Feb 2021 21:19:29 +0200 Organization: LINKOV.NET Message-ID: <87sg65122m.fsf@mail.linkov.net> References: <8b30a5cc-24db-4bca-94bd-50c79e65b43a@default> <87pn1eiv4m.fsf@gnus.org> <87eehrwyd8.fsf@mail.linkov.net> <87im73y51q.fsf@gnus.org> <87r1lqlbzj.fsf@mail.linkov.net> <871rdpll0w.fsf@gnus.org> <87a6sd1txh.fsf@mail.linkov.net> <87zh0d5dpu.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="2468"; 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 To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 09 20:27:14 2021 Return-path: 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 ) id 1l9YfK-0000XD-2x for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 20:27:14 +0100 Original-Received: from localhost ([::1]:38024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9YfJ-0007ix-4d for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 14:27:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9YeA-0005fK-HL for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 14:26:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43129) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l9YeA-0008Om-8a for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 14:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l9YeA-0002x2-4U for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 14:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Feb 2021 19:26:02 +0000 Resent-Message-ID: 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.161289875011320 (code B ref 27896); Tue, 09 Feb 2021 19:26:02 +0000 Original-Received: (at 27896) by debbugs.gnu.org; 9 Feb 2021 19:25:50 +0000 Original-Received: from localhost ([127.0.0.1]:54674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9Ydx-0002wW-Gf for submit@debbugs.gnu.org; Tue, 09 Feb 2021 14:25:50 -0500 Original-Received: from relay9-d.mail.gandi.net ([217.70.183.199]:38081) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9Ydt-0002vu-P7 for 27896@debbugs.gnu.org; Tue, 09 Feb 2021 14:25:46 -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 relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 2CF49FF80B; Tue, 9 Feb 2021 19:25:37 +0000 (UTC) In-Reply-To: (Drew Adams's message of "Tue, 9 Feb 2021 18:38:34 +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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:199722 Archived-At: > My approach is to do, for each zone, > what I currently do for the active region > as a whole, which is what vanilla Emacs > does for the buffer as a whole. > > IOW, instead of always using `point-min' > and `point-max' for _matching_, use the > limits of each zone. IOW, just limit > matching to the search space. Is this similar to how multiple major modes work? i.e. https://www.emacswiki.org/emacs/MultipleModes