From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72830: Big rectangular selections are slow Date: Thu, 29 Aug 2024 08:40:42 +0800 Message-ID: <874j74w48l.fsf@yahoo.com> References: Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37879"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 72830@debbugs.gnu.org, Stefan Monnier , Juri Linkov To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 29 02:41:36 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 1sjTEF-0009fZ-P9 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Aug 2024 02:41:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sjTDr-0000P5-7R; Wed, 28 Aug 2024 20:41:11 -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 1sjTDn-0000OR-TJ for bug-gnu-emacs@gnu.org; Wed, 28 Aug 2024 20:41:08 -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 1sjTDn-0007wA-K2 for bug-gnu-emacs@gnu.org; Wed, 28 Aug 2024 20:41:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=3447crHehuyAfUo+Xj+vY9kHa+vnZQHi0mKdBEBS+68=; b=sAY12tM+CY1KZqITnBMUjyGWAnlPcvTp0r+TmGih0kv/fMBj7FPrOf5XaEuO09RdywtAAjXvLCb3KISDFgmxRTCwFuW7YTO+tv/h1n2V9fpgYxnWU7qBCmM+Wz3mMVdwPWah/hffXG/ifv+0tpUjG56yl/ryPyb+7sOLKyE52swEbUZpRRo+2yKc+BJZrx87reyp0JndEY7dnciViPEQmdSqoqarEcE9CZAqA4p/x2wY75F/chqajesLmwC1fHknBBJuFbLY4WYCu6TRNfu8G1dFm0EFKTpW/lH6jYYit/tWSus+GnkVyxi4mSTuYNbrPECcGX81CnwTWc5uuyllnQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sjTEg-0001o7-3j for bug-gnu-emacs@gnu.org; Wed, 28 Aug 2024 20:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Aug 2024 00:42: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.17248921156919 (code B ref 72830); Thu, 29 Aug 2024 00:42:02 +0000 Original-Received: (at 72830) by debbugs.gnu.org; 29 Aug 2024 00:41:55 +0000 Original-Received: from localhost ([127.0.0.1]:49891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjTEZ-0001nX-EF for submit@debbugs.gnu.org; Wed, 28 Aug 2024 20:41:55 -0400 Original-Received: from sonic305-22.consmr.mail.ne1.yahoo.com ([66.163.185.148]:32897) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjTEX-0001nD-Hu for 72830@debbugs.gnu.org; Wed, 28 Aug 2024 20:41:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1724892052; bh=3447crHehuyAfUo+Xj+vY9kHa+vnZQHi0mKdBEBS+68=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=A6jg8/CX0IwSA6ImujuuFocwxMujoN74EQCO05SuxFVhq1MBN1jcgOcKxa5IPoWkXCGALdT6KLBOrje6za2evlRMxPAPA/1kk4PVYm5044dilexnIJs4YfBpVNCkHoSZD+UVeYpQGD2xSoxeX+bB6TZlGtX/klrCZw1wMLpBH9CsPtAhjEaKDyUhciY1C2dbQIcEsbzwP5V3C+ogoUVFoahWIQVh8XceM4ysAaajNHTew9LCkAfpAXFHKWrVlLSL8s+GLwfEs7+3/QKJZOrNgXmR/GcUbdWSMKRAKouTu0Mbpwu0mY/m8n6Y/urVAcs0mkn+6Fzu2f9J8UriAuc16A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1724892052; bh=EPCXhKSbRcdxnTTLpGsyZpgAF7bT/5olyDubHhpNmJ7=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=WLzNyhpYFW0j/6i0G6dKF/1hKamtt/7Tai8MOY9UP3ql9wgpvxDjTGo3x0saIcJej7uHdYJ9vEWL1xkCocB+R5UQohb14d7Lm8HOBPLTCWKNBHX2VjspGvDZnr8JLbJTTv51iSkGJqDZk9VEhDlqjHCkNFtjH9GLA8xRjvzp6FS0SmtM7lJSPPby0AmkkQbaGwmte/+rutk3Gd4F5/P0W0hIb8JltkQNwZajHTvEO+wZSV8i3/tfW97Wzr6keBj7fDbB8ABZgZlvwmQdd1pG/5OLOSWSRsjk6v1MnVu3vw067Ykhyygompali0O8Ng5I6oQ8PycMfwZuBgSWqx/qQw== X-YMail-OSG: WSfm4f4VM1mK1TPpgQnSriIUIis8Smy9mqn.7nx4xNU23Vm4SgtQA3nBrFNTOWT 1NOQnJaP_QcuirwP2Dvib92EHvyc4X6GHRxEC.64tv6C1cfGPyqEarfjAc0QcMZ30sZsSKAGgmZ3 F1B.Nk0ShAj8xnvWcVFOSyRuUCxB3raiao.ybE2uMbqlE.TJ4jWaC5cIRmmgbUzQz4xyrLeaLjQG CJIzsPxSqd4an_vTAzp21xae_NBhpW0cmF_skFd5GrxMOXyjiv1D4PxbNLE95_gx1OEUYGmYbzU7 bekTm4IfBCQtKnHK.b7Lu0FqTBsMM8MEFdelD6jhPAa_aTrkb1ajhr48tJYrHqflrOonwmMM2DNF xhXUGH4Uh_W5Sz0SW.a50UWWwDObdGRTEbGkFq9nG6f6HnQcDkU2cePWwxJY85FT7vJJ94O5nFGj X12S8MwKWchZcwR.WkWC0Uirg5oImz_FGx2ywIlObzmXeWft5e8PSvHyeB8Yh67Zzu7tSzYlvvdU E1Mf3BBW5Xc1UgRx5KLWFOrPhiVAHXRlskbY0KW0zs4dbitGsNLraUgLfp4JSWEfXQ4D6UK1LVua s5jAEUZrmKy7vX6FtwUPp8atNRAtDc3GGkT.Zvk3qwu5sGj3ReYldjeEEdFIYEuv9_i5BcT5ZuvL Mq1F70omI.ak2qvAU..r9nY2Xmd93mIRf2xDhwROJou9B9yPIrJFtpNY_fm5wZfVMYc7mtDQ2A6m 1l4Hxgcot3W6k4PGtTjse_NvR4Ye0DRGXHgXe516G2Ca_kiho7CcK5u91BDGqyI1NaB4eB6vMqyg QyElsUUjJ9neZzEqOihAha20f8UjXmIQkB9e_weDtK X-Sonic-MF: X-Sonic-ID: fe982461-ed93-481a-ae1f-31a1f9ce07ff Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Thu, 29 Aug 2024 00:40:52 +0000 Original-Received: by hermes--production-sg3-fc85cddf6-277r8 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 3f7e9d21018d49be730a087b9b05a735; Thu, 29 Aug 2024 00:40:49 +0000 (UTC) In-Reply-To: ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "Tue, 27 Aug 2024 14:39:37 +0200") X-Mailer: WebService/1.1.22645 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:290887 Archived-At: Mattias Engdeg=C3=A5rd writes: > - `select-active-regions` makes each selection change very expensive. > Can be set to nil by the user, but I really suggest that we change > the default to nil, at least for non-X11 since the default assumes > old-school X11 PRIMARY selection which is alien on most other > platforms. No!!! Primary selections are an integral part of X, and users (many trained on X) have come to expect it of Emacs on other systems. Emacs supports saving a region in a buffer as a selection rather than an entire string, which could be exercised in the case of rectangular selections.