From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#29889: 27.0.50; Slow visual selection Date: Fri, 20 May 2022 14:03:29 +0300 Message-ID: <83ee0obh4u.fsf@gnu.org> References: <87y3lmgphl.fsf@gmail.com> <87zgke601k.fsf@gnus.org> <87leux6jey.fsf@gnus.org> <87y1ywy525.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1321"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 29889@debbugs.gnu.org, larsi@gnus.org, m.sujith@gmail.com To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 20 13:04:48 2022 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 1ns0R4-000AcE-Ij for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 May 2022 13:04:46 +0200 Original-Received: from localhost ([::1]:39328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ns0R3-0006Oe-7s for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 May 2022 07:04:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ns0QQ-0006LV-OJ for bug-gnu-emacs@gnu.org; Fri, 20 May 2022 07:04:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43848) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ns0QM-0004RH-0W for bug-gnu-emacs@gnu.org; Fri, 20 May 2022 07:04:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ns0QL-0006sP-SS for bug-gnu-emacs@gnu.org; Fri, 20 May 2022 07:04:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 May 2022 11:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29889 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 29889-submit@debbugs.gnu.org id=B29889.165304462726413 (code B ref 29889); Fri, 20 May 2022 11:04:01 +0000 Original-Received: (at 29889) by debbugs.gnu.org; 20 May 2022 11:03:47 +0000 Original-Received: from localhost ([127.0.0.1]:37745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns0Q7-0006rx-1L for submit@debbugs.gnu.org; Fri, 20 May 2022 07:03:47 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns0Q4-0006rU-T8 for 29889@debbugs.gnu.org; Fri, 20 May 2022 07:03:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37850) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ns0Py-0004NW-BD; Fri, 20 May 2022 07:03:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=8iH29P208dXLP7IZ2sXuU+JY9X29awGWAGrL3aPNTio=; b=TB7zWOX9equo 2nXhYfERbWA9Ma+YijHP1t5uBuhGi/FdC2fr5h17Um9V2Q9eaMCKxY4yUSA7niwqzu/jA/swAXH/w GvVaL/iSJhpJ1qXdkL/00k3E8Z1ApCnExRdWF5OerIr2R+dF3oohlhStkBKhBYWAm88/7ce4uo0g8 RL+pznOhwBog15c22z4/DxPh1r+FW8VWV9Gt7g0jg73t70sGEPx8x+h7eHqSPCcXcLb1rOIGblpiC c3zchK1edunHHURTk9lAOfIg44qsN+4kUh32YNdusotc00URGFAz8JxLuLGP12g6/4TJEd82Qa7MX hVBKANUOLPDHmv+FgYvZKw==; Original-Received: from [87.69.77.57] (port=3247 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ns0Pp-0003Xu-M9; Fri, 20 May 2022 07:03:32 -0400 In-Reply-To: <87y1ywy525.fsf@yahoo.com> (message from Po Lu on Fri, 20 May 2022 16:35:46 +0800) 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:232728 Archived-At: > From: Po Lu > Cc: Sujith , Eli Zaretskii , > 29889@debbugs.gnu.org > Date: Fri, 20 May 2022 16:35:46 +0800 > > We could have a new value of `select-active-regions' that tells Emacs to > set the primary selections to buffer positions if the active region is > not temporary, thereby avoiding the unreasonably high amount of string > consing. What will happen if the buffer text changes between the time the active region is defined and the time some other program requests the selection?