Received: (at 9609) by debbugs.gnu.org; 3 Jun 2021 20:33:26 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 03 16:33:26 2021 Received: from localhost ([127.0.0.1]:44759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lou1u-0002Zd-IA for submit <at> debbugs.gnu.org; Thu, 03 Jun 2021 16:33:26 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:40947) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1lou1s-0002Z3-Vs for 9609 <at> debbugs.gnu.org; Thu, 03 Jun 2021 16:33:25 -0400 Received: (Authenticated sender: juri@HIDDEN) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id BC35CFF807; Thu, 3 Jun 2021 20:33:17 +0000 (UTC) From: Juri Linkov <juri@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#9609: Excessive transient region highlighting with highlight-nonselected-windows Organization: LINKOV.NET References: <b4bou6bw1t.fsf@HIDDEN> <87fsy0g11m.fsf@HIDDEN> <83wnrcxwr6.fsf@HIDDEN> <83pmx4xudf.fsf@HIDDEN> <87lf7sc4cu.fsf@HIDDEN> <83zgw7wgsr.fsf@HIDDEN> Date: Thu, 03 Jun 2021 23:20:48 +0300 In-Reply-To: <83zgw7wgsr.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 03 Jun 2021 10:25:40 +0300") Message-ID: <87o8cm23m7.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 9609 Cc: rgm@HIDDEN, larsi@HIDDEN, 9609 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) >> > emacs -Q --eval '(progn (setq highlight-nonselected-windows t) (transient-mark-mode -1))' >> > C-x 2 >> > Click and hold the mouse button on some character >> >> The problem is that currently the mark is not window-local. > > But the region's overlay _is_ specific to the window where it is set. > Or are you saying it isn't the region that is highlighted in the other > window? The region is activated in both windows of the same buffer. I thought the problem is here. > Btw, we could decide that we don't care about this quirk: it's a > pretty rare and obscure use case.
bug-gnu-emacs@HIDDEN
:bug#9609
; Package emacs
.
Full text available.Received: (at 9609) by debbugs.gnu.org; 3 Jun 2021 07:26:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 03 03:26:00 2021 Received: from localhost ([127.0.0.1]:41978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lohjs-0007U3-Iy for submit <at> debbugs.gnu.org; Thu, 03 Jun 2021 03:26:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1lohjq-0007Tq-Vx for 9609 <at> debbugs.gnu.org; Thu, 03 Jun 2021 03:25:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59980) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1lohjk-0004JZ-KQ; Thu, 03 Jun 2021 03:25:52 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3846 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1lohjk-0007fx-5A; Thu, 03 Jun 2021 03:25:52 -0400 Date: Thu, 03 Jun 2021 10:25:40 +0300 Message-Id: <83zgw7wgsr.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Juri Linkov <juri@HIDDEN> In-Reply-To: <87lf7sc4cu.fsf@HIDDEN> (message from Juri Linkov on Thu, 03 Jun 2021 01:02:25 +0300) Subject: Re: bug#9609: Excessive transient region highlighting with highlight-nonselected-windows References: <b4bou6bw1t.fsf@HIDDEN> <87fsy0g11m.fsf@HIDDEN> <83wnrcxwr6.fsf@HIDDEN> <83pmx4xudf.fsf@HIDDEN> <87lf7sc4cu.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 9609 Cc: rgm@HIDDEN, larsi@HIDDEN, 9609 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Juri Linkov <juri@HIDDEN> > Cc: larsi@HIDDEN, rgm@HIDDEN, 9609 <at> debbugs.gnu.org > Date: Thu, 03 Jun 2021 01:02:25 +0300 > > > emacs -Q --eval '(progn (setq highlight-nonselected-windows t) (transient-mark-mode -1))' > > C-x 2 > > Click and hold the mouse button on some character > > The problem is that currently the mark is not window-local. But the region's overlay _is_ specific to the window where it is set. Or are you saying it isn't the region that is highlighted in the other window? Btw, we could decide that we don't care about this quirk: it's a pretty rare and obscure use case.
bug-gnu-emacs@HIDDEN
:bug#9609
; Package emacs
.
Full text available.Received: (at 9609) by debbugs.gnu.org; 2 Jun 2021 22:56:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 02 18:56:46 2021 Received: from localhost ([127.0.0.1]:41545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1loZn3-0003HP-R3 for submit <at> debbugs.gnu.org; Wed, 02 Jun 2021 18:56:46 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:3097) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1loZn1-0003HC-SW for 9609 <at> debbugs.gnu.org; Wed, 02 Jun 2021 18:56:44 -0400 Received: (Authenticated sender: juri@HIDDEN) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 98F83240006; Wed, 2 Jun 2021 22:56:36 +0000 (UTC) From: Juri Linkov <juri@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#9609: Excessive transient region highlighting with highlight-nonselected-windows Organization: LINKOV.NET References: <b4bou6bw1t.fsf@HIDDEN> <87fsy0g11m.fsf@HIDDEN> <83wnrcxwr6.fsf@HIDDEN> <83pmx4xudf.fsf@HIDDEN> Date: Thu, 03 Jun 2021 01:02:25 +0300 In-Reply-To: <83pmx4xudf.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 02 Jun 2021 16:34:52 +0300") Message-ID: <87lf7sc4cu.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 9609 Cc: rgm@HIDDEN, larsi@HIDDEN, 9609 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) >> > > emacs -Q --eval '(progn (setq highlight-nonselected-windows t) (transient-mark-mode -1))' -f make-frame >> > > >> > > Two frames open showing the *scratch* buffer, once frame has focus. >> > > >> > > With the mouse, click on the "n" of "notes" in the focused frame. Do >> > > not release the mouse. In the other frame, a region starting or ending >> > > at "n" is now selected. >> > >> > I can confirm that this is still present in Emacs 28. >> > >> > Pretty weird behaviour. >> >> Probably we decided that the mouse was dragged because the coordinates >> in the other window are different. Or something like that. > > Btw, you don't need another frame to demonstrate the issue. You could > do this instead: > > emacs -Q --eval '(progn (setq highlight-nonselected-windows t) (transient-mark-mode -1))' > C-x 2 > Click and hold the mouse button on some character The problem is that currently the mark is not window-local. I tried such workaround, that fixes the above problem, but it has other issues. A proper fix needs to be in some low-level function. #+begin_src emacs-lisp ;; Make the mark buffer-and-window-local. (defvar-local mark-active-window nil) (add-hook 'activate-mark-hook (lambda () (setq mark-active-window (selected-window)))) (advice-add 'activate-mark :after (lambda (&rest _args) (setq mark-active-window (selected-window))) '((name . mark-active-window))) ;; Can't use deactivate-mark-hook because when clicking mouse in another window ;; with the same buffer it calls both activate-mark and deactivate-mark, ;; but deactivate-mark checks if the region is active (region-active-p), ;; and doesn't advance further because mark-active was set to nil in the redisplay ;; hook below. OTOH, the advice is used unconditionally. (add-hook 'deactivate-mark-hook (lambda () (setq mark-active-window nil))) (advice-add 'deactivate-mark :after (lambda (&rest _args) (setq mark-active-window nil)) '((name . mark-active-window))) (defun redisplay--update-mark-active-window (window) (when mark-active-window (setq mark-active (eq mark-active-window window)))) ;; Problem: when compiled without optimization CFLAGS='-O0' then ;; quick region selection experiences lags that results in wrong selection. ;; Another problem is that in ‘follow-mode’ ‘set-mark-command’ messes up windows. (add-hook 'pre-redisplay-functions #'redisplay--update-mark-active-window) #+end_src
bug-gnu-emacs@HIDDEN
:bug#9609
; Package emacs
.
Full text available.Received: (at 9609) by debbugs.gnu.org; 2 Jun 2021 13:35:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 02 09:35:20 2021 Received: from localhost ([127.0.0.1]:39268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1loR1h-0003Ju-5J for submit <at> debbugs.gnu.org; Wed, 02 Jun 2021 09:35:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1loR1c-0003Ja-2j for 9609 <at> debbugs.gnu.org; Wed, 02 Jun 2021 09:35:15 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48086) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1loR1W-0007tA-MN; Wed, 02 Jun 2021 09:35:06 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1415 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1loR1V-0003F5-VH; Wed, 02 Jun 2021 09:35:06 -0400 Date: Wed, 02 Jun 2021 16:34:52 +0300 Message-Id: <83pmx4xudf.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: larsi@HIDDEN In-Reply-To: <83wnrcxwr6.fsf@HIDDEN> (message from Eli Zaretskii on Wed, 02 Jun 2021 15:43:25 +0300) Subject: Re: bug#9609: Excessive transient region highlighting with highlight-nonselected-windows References: <b4bou6bw1t.fsf@HIDDEN> <87fsy0g11m.fsf@HIDDEN> <83wnrcxwr6.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 9609 Cc: rgm@HIDDEN, 9609 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Wed, 02 Jun 2021 15:43:25 +0300 > From: Eli Zaretskii <eliz@HIDDEN> > Cc: rgm@HIDDEN, 9609 <at> debbugs.gnu.org > > > > emacs -Q --eval '(progn (setq highlight-nonselected-windows t) (transient-mark-mode -1))' -f make-frame > > > > > > Two frames open showing the *scratch* buffer, once frame has focus. > > > > > > With the mouse, click on the "n" of "notes" in the focused frame. Do > > > not release the mouse. In the other frame, a region starting or ending > > > at "n" is now selected. > > > > I can confirm that this is still present in Emacs 28. > > > > Pretty weird behaviour. > > Probably we decided that the mouse was dragged because the coordinates > in the other window are different. Or something like that. Btw, you don't need another frame to demonstrate the issue. You could do this instead: emacs -Q --eval '(progn (setq highlight-nonselected-windows t) (transient-mark-mode -1))' C-x 2 Click and hold the mouse button on some character
bug-gnu-emacs@HIDDEN
:bug#9609
; Package emacs
.
Full text available.Received: (at 9609) by debbugs.gnu.org; 2 Jun 2021 12:43:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 02 08:43:46 2021 Received: from localhost ([127.0.0.1]:39189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1loQDq-0008FN-FR for submit <at> debbugs.gnu.org; Wed, 02 Jun 2021 08:43:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1loQDp-0008FB-3O for 9609 <at> debbugs.gnu.org; Wed, 02 Jun 2021 08:43:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46586) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1loQDj-0002iz-NF; Wed, 02 Jun 2021 08:43:39 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2213 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1loQDj-00012R-8d; Wed, 02 Jun 2021 08:43:39 -0400 Date: Wed, 02 Jun 2021 15:43:25 +0300 Message-Id: <83wnrcxwr6.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> In-Reply-To: <87fsy0g11m.fsf@HIDDEN> (message from Lars Ingebrigtsen on Wed, 02 Jun 2021 09:48:05 +0200) Subject: Re: bug#9609: Excessive transient region highlighting with highlight-nonselected-windows References: <b4bou6bw1t.fsf@HIDDEN> <87fsy0g11m.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 9609 Cc: rgm@HIDDEN, 9609 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen <larsi@HIDDEN> > Date: Wed, 02 Jun 2021 09:48:05 +0200 > Cc: 9609 <at> debbugs.gnu.org > > Glenn Morris <rgm@HIDDEN> writes: > > > emacs -Q --eval '(progn (setq highlight-nonselected-windows t) (transient-mark-mode -1))' -f make-frame > > > > Two frames open showing the *scratch* buffer, once frame has focus. > > > > With the mouse, click on the "n" of "notes" in the focused frame. Do > > not release the mouse. In the other frame, a region starting or ending > > at "n" is now selected. > > I can confirm that this is still present in Emacs 28. > > Pretty weird behaviour. Probably we decided that the mouse was dragged because the coordinates in the other window are different. Or something like that.
bug-gnu-emacs@HIDDEN
:bug#9609
; Package emacs
.
Full text available.Received: (at 9609) by debbugs.gnu.org; 2 Jun 2021 07:48:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 02 03:48:17 2021 Received: from localhost ([127.0.0.1]:38668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1loLbt-0001u9-9D for submit <at> debbugs.gnu.org; Wed, 02 Jun 2021 03:48:17 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55054) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1loLbs-0001tv-3p for 9609 <at> debbugs.gnu.org; Wed, 02 Jun 2021 03:48:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jzWn/SHvk6wIraiZ6ZMJP7Qa8xzhw4TAahuvKSg9Egc=; b=SVyZVXZxDKLU9x2gZoXKTD8WUW RUHCGWedoENKNnklKvGoPeirgC86Q5ZQ6+lqNFCQ+0AT210pTUGZh2ZLlGYdp8gBzN+wk1ym44J+R lDT7+Dwaz8SpJYL80n+0rz/hISBqb0eoGrerGp2LiQdTxIpAHwvq7zFpratoCjZzbc+w=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1loLbi-0003RP-31; Wed, 02 Jun 2021 09:48:10 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Glenn Morris <rgm@HIDDEN> Subject: Re: bug#9609: Excessive transient region highlighting with highlight-nonselected-windows References: <b4bou6bw1t.fsf@HIDDEN> X-Now-Playing: Nobukazu Takemura's _Child's View_: "Rill" Date: Wed, 02 Jun 2021 09:48:05 +0200 In-Reply-To: <b4bou6bw1t.fsf@HIDDEN> (Glenn Morris's message of "Mon, 26 Sep 2011 21:42:22 -0400") Message-ID: <87fsy0g11m.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Glenn Morris <rgm@HIDDEN> writes: > emacs -Q --eval '(progn (setq highlight-nonselected-windows t) (transient-mark-mode -1))' -f make-frame > > Two frames open showing the *scratch* buffer, once frame has focus. > > With the mouse, cl [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 9609 Cc: 9609 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Glenn Morris <rgm@HIDDEN> writes: > emacs -Q --eval '(progn (setq highlight-nonselected-windows t) (transient-mark-mode -1))' -f make-frame > > Two frames open showing the *scratch* buffer, once frame has focus. > > With the mouse, click on the "n" of "notes" in the focused frame. Do > not release the mouse. In the other frame, a region starting or ending > at "n" is now selected. I can confirm that this is still present in Emacs 28. Pretty weird behaviour. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#9609
; Package emacs
.
Full text available.npostavs@HIDDEN
to control <at> debbugs.gnu.org
.
Full text available.npostavs@HIDDEN
to control <at> debbugs.gnu.org
.
Full text available.Received: (at submit) by debbugs.gnu.org; 27 Sep 2011 01:43:11 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 26 21:43:11 2011 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1R8MhT-0007A4-3w for submit <at> debbugs.gnu.org; Mon, 26 Sep 2011 21:43:11 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <rgm@HIDDEN>) id 1R8MhQ-00079v-Vr for submit <at> debbugs.gnu.org; Mon, 26 Sep 2011 21:43:09 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from <rgm@HIDDEN>) id 1R8Mgg-0004p2-Bx; Mon, 26 Sep 2011 21:42:22 -0400 From: Glenn Morris <rgm@HIDDEN> To: submit <at> debbugs.gnu.org Subject: Excessive transient region highlighting with highlight-nonselected-windows X-Spook: SP4 LLNL USCOI colonel investigation enemy of the state X-Ran: bnZLe$E,_"TzVh{+}p]Zz)E0\K^PN~-+$c:&zVCFv19k{2u58Z7gnS$1kQ%k)+;x8'5`-5 X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 26 Sep 2011 21:42:22 -0400 Message-ID: <b4bou6bw1t.fsf@HIDDEN> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -6.4 (------) Package: emacs Version: 24.0.90 emacs -Q --eval '(progn (setq highlight-nonselected-windows t) (transient-mark-mode -1))' -f make-frame Two frames open showing the *scratch* buffer, once frame has focus. With the mouse, click on the "n" of "notes" in the focused frame. Do not release the mouse. In the other frame, a region starting or ending at "n" is now selected. This does not happen in Emacs 23.3. How do I disable this selection of a region in the non-selected frame? (Obviously I can set highlight-nonselected-windows nil, but I want that behaviour for regions I explicitly select.)
bug-gnu-emacs@HIDDEN
:bug#9609
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.