From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#72830: Big rectangular selections are slow Date: Sun, 22 Sep 2024 15:27:50 +0200 Message-ID: <5F6C5DCE-88F0-446D-8CBD-5E9EE26FFFC6@gmail.com> References: <3F6C6CAB-8CD1-4336-B1D1-949E716139FE@gmail.com> <1B4E9D0B-2223-42D9-BA22-17A5F6F49F84@gmail.com> <0D0565B4-EF53-43B6-9B33-7EE1600E1AD3@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) 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="25263"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Heerdegen , Eli Zaretskii , 72830@debbugs.gnu.org, Juri Linkov To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 22 15:30:12 2024 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 1ssMfD-0006QX-9d for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Sep 2024 15:30:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ssMem-0004lF-M3; Sun, 22 Sep 2024 09:29:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ssMej-0004kv-He for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2024 09:29:41 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ssMej-0003JN-95 for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2024 09:29:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:Date:In-Reply-To:From:Mime-Version:To:Subject; bh=bq4ir/UwmuT3yBuI7Fv5Qd2n17JDwPT/h//5dGUPGV0=; b=IrZxrT8Y5oG6rv6KVbjutbA4GcF5MZDubWP3Mj2jIQN54AeHCloqZS4koElzVOtNJIaMAzg/jncWi/QtaJURz9ubQ6AHUQlDS2oCaS4WK69dclZ8LAwdkmiDglsrN2YT7uca3QYI69u5IxbP3kgDkr7LU7xYCeXPPZLUqnSOriAJLze+m4SdGsHI4iAVsYOh+QCC+jMVub3o/4+D3kxYgiSepQq2oxlLubdW8jqHs9s0ekAfoE+bR3Bw5b8p8M/JZT+RXRGvQb6NkBnBXEEqKtSkUUXprpkUP817Jj8lFyU8jEN2RcgUz1TgiN4VgUfYSCjlS71m7TYIIji6TsYO2Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ssMf4-0002lb-OF for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2024 09:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Sep 2024 13:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72830 X-GNU-PR-Package: emacs Original-Received: via spool by 72830-submit@debbugs.gnu.org id=B72830.172701176410537 (code B ref 72830); Sun, 22 Sep 2024 13:30:02 +0000 Original-Received: (at 72830) by debbugs.gnu.org; 22 Sep 2024 13:29:24 +0000 Original-Received: from localhost ([127.0.0.1]:41084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ssMeR-0002js-Pi for submit@debbugs.gnu.org; Sun, 22 Sep 2024 09:29:24 -0400 Original-Received: from mail-lf1-f48.google.com ([209.85.167.48]:56396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ssMeO-0002jZ-8q for 72830@debbugs.gnu.org; Sun, 22 Sep 2024 09:29:22 -0400 Original-Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-5366fd6fdf1so3821079e87.0 for <72830@debbugs.gnu.org>; Sun, 22 Sep 2024 06:28:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727011672; x=1727616472; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=bq4ir/UwmuT3yBuI7Fv5Qd2n17JDwPT/h//5dGUPGV0=; b=M4NobvRX00aL6R7i1eyroTPxNH/nfLAGX6gQIBE2EeWE7rXC7Ems6gXzr1chAfz4YC NXZtQigmJL51rfsxajY81crRN5xOrdQAp7ZV55b+QdASNUjfqjF4S1fmbqTUmtCcg2Wm +xgpv3I9wya973W6lHVli70Fn1TuDk1S/xoA7psHuPF7UfZCf2nqnumZqutT/7R+tGE5 +cI5XnLYZsCFuM9MNURzfDi0COHzJi/dPX9dy7Z85tBNx2LsxX+90wbuNp+D1/463lgW sF1vSkusV10pVNBygPPQUYqOGEQH98yrfLZQtgcd5I7/nxnXpbBoaEti95aigvchKF13 B0vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727011672; x=1727616472; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=bq4ir/UwmuT3yBuI7Fv5Qd2n17JDwPT/h//5dGUPGV0=; b=ZjqKZfjhDYLqfdo/wLbajtr9WrbWc4qmgcEhQbbReY1UI5yRHM9NsMU5InuJa21Z31 dCBb6EyRRpQtMHQ3BRcrJFtla3ekWh32mbUwBKYh7YStOwMAde6kRBOnOnJgodoSwwis 4IvpDoBKUR0lIJXBsfhYFIGg+lT5gq2T23X7gjKK51tebBtMRbwWYayeoTOZPlLjtq1V DNDeb2wBcOd/Y66M4x9Sn6jCcEzuQAD/8Ydliwcyv/jXa3iJuFiMcNdLFlmpiYZufXqz gYbCseZKup+JmV5G0rnFTpfL/MYbCQSgMuoYSSKNgallh4yxLmczOMGjWbX52AwwNLqb 0wtA== X-Forwarded-Encrypted: i=1; AJvYcCUo+dIsoyRCCBd79nENDUD/b4BB8FayHGtqYlmwikiBdcisW6geGTNEkRuOKbYB86Nn/kMlYA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxMojBh0moRLmo1QSd1VJfKqANhjSZUFyrbBEDmliGVE+mhQUKt G6UZfpCLvf7HgT28luY0wFBJg3J7apRj9Q9RyT1NHf/MqIjDO/Wr X-Google-Smtp-Source: AGHT+IGj5fJl3zhvcrnDRpSAMKFpt+hGLQb3mEE54EHeJ3mb/oEDIej4S1OK+uluJVEV7A3uo4Py8A== X-Received: by 2002:a05:6512:3e25:b0:530:c2f0:4a98 with SMTP id 2adb3069b0e04-536ad3ddd30mr4292251e87.51.1727011671905; Sun, 22 Sep 2024 06:27:51 -0700 (PDT) Original-Received: from smtpclient.apple (c188-150-191-82.bredband.tele2.se. [188.150.191.82]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-536870b42f7sm2932185e87.261.2024.09.22.06.27.51 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Sep 2024 06:27:51 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.15) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:292232 Archived-At: 21 sep. 2024 kl. 05.05 skrev Stefan Monnier : >> - `select-active-regions`: as mentioned, it slows down rectangle = selection >> massively and is alien to non-X11 platforms so I'd suggest it be set = to nil >> by default on macOS and Windows at least. >=20 > I think we should first try and make it not-slow, by making it lazy. No objections there but we would need to rework some plumbing. Emacs's = behaviour is odd. When a selection is made, that text is extracted and squirrelled away = just in case, so the user can actually select some text, deselect and = move around, and even make some changes the the buffer, and then paste = PRIMARY from Emacs or any other X11 client and still get the originally = selected text. This isn't how typical old-fashioned X11 clients work and is more likely = to be by accident than design but then again I'm not using X11 much = these days. Untangling this mess would take some time. 21 sep. 2024 kl. 10.26 skrev Eli Zaretskii : > I can test on MS-Windows if someone tells what to try and what to pay > attention to. Thank you Eli, I'll make sure to ask you when I have something to show.