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#58176: 29.0.50; mouse-set-point region flicker with highlight-nonselected-windows=t and same buffer in two windows Date: Thu, 29 Sep 2022 21:54:03 +0300 Message-ID: <838rm2f1v8.fsf@gnu.org> References: <86pmfeaxnv.fsf@miha-pc> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6924"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58176@debbugs.gnu.org To: miha@kamnitnik.top Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 29 20:55:15 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 1odygk-0001eA-PB for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Sep 2022 20:55:14 +0200 Original-Received: from localhost ([::1]:42256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odygj-0004YB-PX for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Sep 2022 14:55:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odygY-0004WB-7q for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2022 14:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40509) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odygX-0002u6-VJ for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2022 14:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1odygX-0005aW-KK for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2022 14:55: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: Thu, 29 Sep 2022 18:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58176 X-GNU-PR-Package: emacs Original-Received: via spool by 58176-submit@debbugs.gnu.org id=B58176.166447768421453 (code B ref 58176); Thu, 29 Sep 2022 18:55:01 +0000 Original-Received: (at 58176) by debbugs.gnu.org; 29 Sep 2022 18:54:44 +0000 Original-Received: from localhost ([127.0.0.1]:39587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odygG-0005Zw-2I for submit@debbugs.gnu.org; Thu, 29 Sep 2022 14:54:44 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odygB-0005Zg-I9 for 58176@debbugs.gnu.org; Thu, 29 Sep 2022 14:54:42 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41468) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odyg4-0002rU-FC; Thu, 29 Sep 2022 14:54:33 -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=1k3k/YMKn05XdFjNrkuDyqka8YKTBfo6qw3FFLMZOHc=; b=kPtvBWfx1FxW DTsBygaZs9w4AcMB7FDZQOXtAPbZhulCCj06OBuwOOd3udfz2vqhZKNEqAiOQHIUU6hZAJazxxzTW E+782xE2vl4Csc7Ir4VOPq9x/3Bc9GL42IuTAWquqjQuOmjQNGOEHRka6vVIi+CYmLY3Ktux8OhTu n1AMKVxg4+zAzi0gXRllcuunPcx7pOn2lbLuHLEAKIVTpoEMb8mnNJ6wmVJCm7KABKvswfnYqX6/6 +LiO9/r/PCy4kzS3eQOa3qFsUshyeUCE1vDIyLMwB1rdCDdj3Rhl7a2ljW2WlzPVGfGJ8bZSCdGHn giygHhMhwqwzZXfnafaZBA==; Original-Received: from [87.69.77.57] (port=4958 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 1odyfl-0005DI-Ca; Thu, 29 Sep 2022 14:54:22 -0400 In-Reply-To: <86pmfeaxnv.fsf@miha-pc> (bug-gnu-emacs@gnu.org) 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:243944 Archived-At: > Date: Thu, 29 Sep 2022 19:38:28 +0200 > From: miha--- via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > 1. (setq highlight-nonselected-windows t) > 2. 'C-x 2' > 3. Click with mouse-1 somewhere to move point > > Notice that for the duration mouse-1 being held down for the click, > region highlighting appears in the non-selected window. Usually the > click is short so the region only appears for a short time, which can be > perceived as a somewhat annoying flicker. It's a direct consequence of the fact that point is different in each window. I don't see any bug here, FWIW. If you don't like this side effect of highlight-nonselected-windows, then don't set it non-nil.