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: Fri, 30 Sep 2022 08:45:44 +0300 Message-ID: <835yh5fm9j.fsf@gnu.org> References: <86pmfeaxnv.fsf@miha-pc> <838rm2f1v8.fsf@gnu.org> <87wn9lubu6.fsf@miha-pc> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7917"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58176@debbugs.gnu.org To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 30 07:47:11 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 1oe8rf-0001tA-3t for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Sep 2022 07:47:11 +0200 Original-Received: from localhost ([::1]:40900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oe8re-0008WT-79 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Sep 2022 01:47:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oe8rX-0008WL-74 for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2022 01:47:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41198) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oe8rW-0007ZW-Uw for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2022 01:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oe8rW-0005W6-HA for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2022 01:47:02 -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, 30 Sep 2022 05:47:02 +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.166451677021146 (code B ref 58176); Fri, 30 Sep 2022 05:47:02 +0000 Original-Received: (at 58176) by debbugs.gnu.org; 30 Sep 2022 05:46:10 +0000 Original-Received: from localhost ([127.0.0.1]:40276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oe8qf-0005Uz-W3 for submit@debbugs.gnu.org; Fri, 30 Sep 2022 01:46:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oe8qc-0005UE-KF for 58176@debbugs.gnu.org; Fri, 30 Sep 2022 01:46:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39840) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oe8qW-0007Ux-CU; Fri, 30 Sep 2022 01:46:00 -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=X8KYG+ZVo6xIvLNMi9rP9ZM7qjkQnO9NyLzarGwd6Ms=; b=GsKOGydW0iH0 oYHEOYSyEK17mFU4Eqx7bknW+B3PU7QafYiZJEdwQpmyfyiGi2KN/UhLT7bbd6sUtW0TKFSmCYqvJ h1DjOMgX9l+cXYHzT+MU35UnNehmPcK1ryzBk1mKQO8YqAn6bJ/cH5pCVSAnu4HqxTe5SihnRj3VO TQdaH/CqjGaY0JVvSnEPRf9tI/y/mgXfZEWeqx7+VWZoqFN2xmlxAq0u15K//6G2uscXnHucrTkr8 yUoTt4B9Pk30B8H8/2SWprmS3SxyPg61/q56IXBl2e2SoSatrbrSl2RvXnEQDbUsrpEyq1crNESAX 6hESKPmsEzGLLzbmiDqLRQ==; Original-Received: from [87.69.77.57] (port=4809 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 1oe8qV-0005w0-N1; Fri, 30 Sep 2022 01:46:00 -0400 In-Reply-To: <87wn9lubu6.fsf@miha-pc> 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:243970 Archived-At: > From: > Cc: 58176@debbugs.gnu.org > Date: Thu, 29 Sep 2022 23:09:37 +0200 > > > 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. > > Well, maybe we could try a bit harder to reduce the flicker for ordinary > non-dragging mouse-1 clicks. One idea could be to prevent down-mouse-1 > from activating mark until the region becomes non-zero length, so > something like this patch. Thanks, but this is exactly the opposite of the behavior we want. We currently make a significant effort to show regions of zero length.