From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#27896: [External] : Re: bug#27896: 25.2; `C-M-%' with `rectangle-mark-mode' Date: Tue, 9 Feb 2021 17:34:29 +0000 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7237"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "27896@debbugs.gnu.org" <27896@debbugs.gnu.org> To: Juri Linkov , Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 09 18:35:25 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 1l9Wv6-0001h1-9e for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 18:35:24 +0100 Original-Received: from localhost ([::1]:52554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9Wv5-0004uR-6K for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 12:35:23 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9Wum-0004ty-6w for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 12:35:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42948) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l9Wuk-000866-Ds for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 12:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l9Wuk-0006ZQ-Bx for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2021 12:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Feb 2021 17:35: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.161289208125224 (code B ref 27896); Tue, 09 Feb 2021 17:35:02 +0000 Original-Received: (at 27896) by debbugs.gnu.org; 9 Feb 2021 17:34:41 +0000 Original-Received: from localhost ([127.0.0.1]:54494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9WuP-0006Ym-BV for submit@debbugs.gnu.org; Tue, 09 Feb 2021 12:34:41 -0500 Original-Received: from aserp2130.oracle.com ([141.146.126.79]:52188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9WuM-0006YW-0J for 27896@debbugs.gnu.org; Tue, 09 Feb 2021 12:34:39 -0500 Original-Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 119GxtC6097062; Tue, 9 Feb 2021 17:34:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2020-01-29; bh=/4zr/qfz44SbhCNexnqyEIHxSUMnM2j8RY+5Vl38WgM=; b=CAa2xESPde6SqkcIQfoCxneh74otp//W0aTU//O17E/E6Hi2Itm0zc4WYixK5vgKYqsP jf59o2miuF/Ch2q6WKM3uKYeny/M+FbdLU4kJoBGKOCXKFLPh2oFf57D7tRQJiWaa4FC Jh5uqoyhcZjbAyxmY4iINr0Awl71qIhUpFE8WQP4FIgPDiQ42xxWHMGAdpH1WoqsHvPb hAUG/9BFY2rn+bf1Vkfjgm8XqvgLgbp59iCXikj3b+QwC7NDuuxvbmYICyGreHWYXArz RuuEaD2vC/oYqXCjoRa01NCyBItDZmc0zDBookSdaB7f8CTL/smaRLSdA7+XDrQBGx+D TQ== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2130.oracle.com with ESMTP id 36hgmaggch-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 09 Feb 2021 17:34:31 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 119GtTTb055037; Tue, 9 Feb 2021 17:34:31 GMT Original-Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2102.outbound.protection.outlook.com [104.47.70.102]) by aserp3020.oracle.com with ESMTP id 36j511h73n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 09 Feb 2021 17:34:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HEhyZuWyRbXvzTVyAhSUEbQVGAIDqnzcf0v0Wk+uaFe4vz052QxdpxflRLJC/RqLo3TaYM82bvfG8qFVYgNfDUoFa6vlkYgl0FYCl5LLNVzBMChHLt9QsvrD5j/4x+l6q12cAupl/qCivMPCsN0JgmqVe/QTWlBGtpbpNomZh9BlGZAHm03pxTRw+j/9e7r8WRHrWGz8M+H+SxpB7ffu8CHadWZ4ta3XMOkA851XT9lV0MwPrycCMM/U+e9TDaJRZyUN9NVJFMdwT8KpF1t2nzdef90iIMmRytbMifZJlZigWh5EXKi7t35G+dKP6zXPvxzI0vvvqXvVKJsVOVn/Pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/4zr/qfz44SbhCNexnqyEIHxSUMnM2j8RY+5Vl38WgM=; b=DAlEqqFIJC+eavxKfUi0eP+9VI+rD2h8GQ0V3hj5lLwYzxfIuo/I2i8PcEIsEE7Qdv4nV1w2QcnUcQyS3QkK/DazlOJg3fEcL1hTvoal9UI/I8YWn5/7O2nCPdhQzhimJ3UUAFeCmkFzPtnx36e151tmJq4nDj8EOM7eShSGTKHZIykOZwloCXxe8ASaXeEDiD4Hz7KyydTKCwXNeLfJDYloucC7D+8EEbbNSAqjseVZYx4k/Oyu9ImNYJkNPDDacOlu7Hy8d4wsLnEGtpuWq05stiVH6KyWYr5Uz1jWeBpS3xj70H1HA7j9QG7/aGb6lciMzKc/xbB4zMF92sjKzw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/4zr/qfz44SbhCNexnqyEIHxSUMnM2j8RY+5Vl38WgM=; b=l2+jUgzcOFQiwQhIBbEPjjDv2YjOg9f+a+4oLB5cmJBLpREpya59ey/B7D6H0dlOL6jbULYxzVhzOB9nKGI//uZ3y0i4NPB4wZ6LPGVxBl5yocsBYVoSfVY4Xh3t4wjnWPMOaAzdSCo06KUvp+MBEKFfH9BRLT69mGfz8c8g2aE= Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SA2PR10MB4810.namprd10.prod.outlook.com (2603:10b6:806:11c::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3825.24; Tue, 9 Feb 2021 17:34:29 +0000 Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::dc4d:9cd0:2010:daa2]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::dc4d:9cd0:2010:daa2%7]) with mapi id 15.20.3825.030; Tue, 9 Feb 2021 17:34:29 +0000 Thread-Topic: [External] : Re: bug#27896: 25.2; `C-M-%' with `rectangle-mark-mode' Thread-Index: AQHW/soQdX3sNCRXAkC3oQVD5UoKuapQEw+g In-Reply-To: <87a6sd1txh.fsf@mail.linkov.net> Accept-Language: en-US Content-Language: en-US authentication-results: linkov.net; dkim=none (message not signed) header.d=none;linkov.net; dmarc=none action=none header.from=oracle.com; x-originating-ip: [73.170.83.28] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e3b98fd5-8962-4265-084f-08d8cd20f456 x-ms-traffictypediagnostic: SA2PR10MB4810: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YWRLU1a5MJmgtkefxN2CDcy4W8o8F2gywbfUzeH2lsdEu0s41M3WMRKLNUpiuPl/N3dY9oOKyb3hP5n8XjUdklFIXgQAsYBW3QhBRzxmk/hb1jaB6gFatbzHCVt2lT80j8+n92RGUzrwlnlUWKrU0NYn1gC8cK0aHa7AKJnbmRZPDy1Fykn0zivehMGxLpNujNUlLFXi4sFJ3CScJPBvBihyTc7d9ZzlOpDcmSaY0HQEeMQIUqmEXhuIaUJuSAlrgI7aIcB1gEZ+p1ISsI/oFFrQv+asLSZpvMgQx4JmCcBeetII2XAG8wVoVaUI4wGy6Hz7xp3fVv1p0Px7yDW70dZbUqvj68PTQlnsD++bGO4hpdJqkpqD+jbAauVCyGBRKX/4iZVMrLzeVxoSsRFGGVP+5dpaL+xMuPwxbz3tlxuwIClbXvXjgCwJSq3YKfmcq4/z1bLcIjFTy500koMsd2HNCCl9tHTEehohrxU4eZztuZa6IXcwHtrDTOpBNFMoB/6qPLtPoBjirVyK4Sh/+u7JZuTejBMD9uRPSw7oIH9/kibtUNdmCT1Qro7UyuF7 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(136003)(366004)(396003)(346002)(39860400002)(376002)(66556008)(64756008)(86362001)(316002)(4326008)(2906002)(478600001)(6506007)(83380400001)(5660300002)(8936002)(66946007)(71200400001)(26005)(33656002)(66446008)(76116006)(55016002)(8676002)(44832011)(110136005)(66476007)(186003)(7696005)(9686003)(52536014)(81973001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: UxPAJyn/KLpoR0PncVSSd2g8ADP2cSaVGTmeBGRZ0SSR7obKCw7nQwek26pIqStr8ZKoPL3htP9ui7Ds7J9L4XLUyAEL5kbERAZFQavK39k/I6I4JguIQ/RM2cY0qNJyWpjOvwKUyELq1h8VZrK0DJEsZA3xQiCofBhRVjW1CeQrSsUEXcvOAak87sTJ7PNc0xp9IdSYW8H9HTjEq2fe/enb4OxfOb25/UTRlbTsBwG/e2Gbm0FA5/rX7Y3uVbETO/Jhar+4D3tv6EE5NxlfuDFXnJRVphbTiuVg6zBT5+kYWc+X3HjLQCz4duAPUTWITBy0rLIA8SoVbiBOXhr8uzI7i5zsD6K3IM2m+Wbc61indaQv6q2idm0nhZ8dWimnWH523JhnyebETMhT1jAtIutqWwnyc//UUVEiH+pb7mwOe3SI8qbcWAxXz1I573NMS+oD2hkbqOKC3AKEhgeSO2K6Se90H0ivLluqDEnyxfxgWFhHRc/ZNw+pV44HZGreEZkRvpzD+W1cmEc0sjtQE+GEazMrr9a5RlO7eFXTFUjkgixgRmTXa5Jrc1Y38u5i2Q9/Q3o8pGcKZjCaEhFJ+WSoDvPpsQc3dwbqXaZNrOildNp0mQyO9frbytFsMXAH6DPJmNlvwoFLSONS5HrfDv02eI6UljWq6jhDkIBNQInlld+E0SXO6EjhPW7XqOz8bdtSeTvghn2zliojMpvtOWp5IrXNtxZFrRao6Gk+nq0= x-ms-exchange-transport-forked: True X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e3b98fd5-8962-4265-084f-08d8cd20f456 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Feb 2021 17:34:29.3676 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: bRFbmKaAHJDJ7VG1P7J+MzMBXITqMsLkGJgVuROKW0pjxF+McPD3R2eIvbO3Lzd1Tl4ZGfJ98zQoIgQ27UrqLQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4810 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9890 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 bulkscore=0 adultscore=0 mlxlogscore=999 phishscore=0 spamscore=0 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102090083 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9890 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 spamscore=0 lowpriorityscore=0 phishscore=0 adultscore=0 impostorscore=0 suspectscore=0 mlxscore=0 clxscore=1015 mlxlogscore=999 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102090083 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:199704 Archived-At: > So this is a question of priorities: does it make sense to spend > much time implementing this. Are there any users of this feature? >=20 > I mean the feature of regexp and multi-line replacements in rectangle > mode, because non-regexp single-line string replacements already work=20 > fine in rectangle mode. I won't suggest what anyone should work on. We all have limited time and (different) limited interests. I'll just say this: the ability for a user to do this (search any noncontiguous region properly) would greatly enhance Emacs, IMO. It's powerful to be able to search zones (aka noncontiguous regions in a general way, and that includes limiting _matching_ to the zones to be searched, not matching against the whole buffer restriction and then filtering. However, this must _not_ be limited to the assumption of a _rectangular_ noncontiguous region. That would defeat the purpose. That's just one (albeit important) use case. (And you can already see that from your discussion of the only exception - for rectangles - being the rare case when the rectangle width includes whole lines. The case for arbitrary zones is very different.) 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.