From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#29889: 27.0.50; Slow visual selection Date: Sat, 06 Jan 2018 10:37:04 +0200 Message-ID: <83incf9ydr.fsf@gnu.org> References: <87y3lmgphl.fsf@gmail.com> <83tvw9gb26.fsf@gnu.org> <87efndro8q.fsf@gmail.com> <837et4fraf.fsf@gnu.org> <87wp13h3jn.fsf@gmail.com> <724A6161-783D-4CAD-AFBD-40D6AEF2C6E6@gnu.org> <1157A54D-2179-40FB-BE74-294304A9C550@gnu.org> <87608fwzx1.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1515227827 9266 195.159.176.226 (6 Jan 2018 08:37:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 6 Jan 2018 08:37:07 +0000 (UTC) Cc: 29889@debbugs.gnu.org, monnier@iro.umontreal.ca To: Sujith Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 06 09:37:03 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXjyP-00023L-HG for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Jan 2018 09:37:01 +0100 Original-Received: from localhost ([::1]:54676 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eXk0P-0005X1-0s for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Jan 2018 03:39:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eXjzR-00055z-OK for bug-gnu-emacs@gnu.org; Sat, 06 Jan 2018 03:38:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eXjzO-0007Fd-LA for bug-gnu-emacs@gnu.org; Sat, 06 Jan 2018 03:38:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57089) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eXjzO-0007FZ-HD for bug-gnu-emacs@gnu.org; Sat, 06 Jan 2018 03:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eXjzO-0000rE-Bo for bug-gnu-emacs@gnu.org; Sat, 06 Jan 2018 03:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Jan 2018 08:38:02 +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: Original-Received: via spool by 29889-submit@debbugs.gnu.org id=B29889.15152278543242 (code B ref 29889); Sat, 06 Jan 2018 08:38:02 +0000 Original-Received: (at 29889) by debbugs.gnu.org; 6 Jan 2018 08:37:34 +0000 Original-Received: from localhost ([127.0.0.1]:37537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXjyv-0000qD-Vl for submit@debbugs.gnu.org; Sat, 06 Jan 2018 03:37:34 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56081) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXjyv-0000py-3p for 29889@debbugs.gnu.org; Sat, 06 Jan 2018 03:37:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eXjym-0006uB-JZ for 29889@debbugs.gnu.org; Sat, 06 Jan 2018 03:37:27 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eXjym-0006u3-Gs; Sat, 06 Jan 2018 03:37:24 -0500 Original-Received: from [176.228.60.248] (port=1996 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eXjyl-0001ru-G7; Sat, 06 Jan 2018 03:37:24 -0500 In-reply-to: <87608fwzx1.fsf@gmail.com> (message from Sujith on Sat, 06 Jan 2018 06:45:22 +0530) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:141825 Archived-At: > From: Sujith > Cc: bug-gnu-emacs@gnu.org, 29889@debbugs.gnu.org > Date: Sat, 06 Jan 2018 06:45:22 +0530 > > I have set 'select-active-regions' to 'only' in my .emacs > to address this issue. Is this the recommended solution for > this problem ? That would be my recommendation, yes. Especially if you happen to deal frequently with large regions, and you did not disable transient-mark-mode. In fact, I cannot understand why the default was changed to t in 7c23dd4. The discussions leading to those changes all mention the value 'lazy' (later renamed to 'only') as the default, and there's nothing I could find explaining why t was eventually deemed a better default. Regardless, I still wonder whether region-extract-function should call buffer-substring-no-properties, at least when it's used to set the primary selection. Stefan, any thoughts?