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#56662: 29.0.50; Funny region highlights when highlight-nonselected-windows is t Date: Thu, 21 Jul 2022 15:39:43 +0300 Message-ID: <83wnc6mygg.fsf@gnu.org> References: <87bktk585s.fsf@gmail.com> <83wnc8klhw.fsf@gnu.org> <877d48550b.fsf@gmail.com> <83sfmwkl0y.fsf@gnu.org> <871qufpmjp.fsf@gmail.com> <83lesnnfxy.fsf@gnu.org> <87h73a7lsx.fsf@gmail.com> <834jzaodza.fsf@gnu.org> <87a6927ijj.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1189"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56662@debbugs.gnu.org, kevin.legouguec@gmail.com To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 21 14:43:53 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 1oEVWz-000079-Bm for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Jul 2022 14:43:53 +0200 Original-Received: from localhost ([::1]:56156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEVWy-0002fh-A8 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Jul 2022 08:43:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEVTH-0006u8-RJ for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2022 08:40:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47121) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEVTG-0006Ul-JZ for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2022 08:40:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oEVTG-0001Dz-E9 for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2022 08:40: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: Thu, 21 Jul 2022 12:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56662 X-GNU-PR-Package: emacs Original-Received: via spool by 56662-submit@debbugs.gnu.org id=B56662.16584071984692 (code B ref 56662); Thu, 21 Jul 2022 12:40:02 +0000 Original-Received: (at 56662) by debbugs.gnu.org; 21 Jul 2022 12:39:58 +0000 Original-Received: from localhost ([127.0.0.1]:36870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEVTC-0001Dc-AN for submit@debbugs.gnu.org; Thu, 21 Jul 2022 08:39:58 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEVTA-0001DM-QL for 56662@debbugs.gnu.org; Thu, 21 Jul 2022 08:39:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51250) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEVT5-0006Se-G2; Thu, 21 Jul 2022 08:39:51 -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=cBoAsdPYX93AFL3EwJNyatEUg04fT+2lyH0+xcCAh5c=; b=eHSLcR6gdGHx 0cIYdH9ItxXvrjfprMs0r9xQwbPZdvK+EgHlrVLBeYmK6Mc51GU05kg2OGZYIfeA355K6YoOzQi0x Gvjs25S0yV9k+iGXSCbNvfR2CLBAMMBwKsDJoxeMN+AWg0m4HPlAsj2AJC5+AToQWrlSGjgDACr2e nI6j9YAMoBuyXNYV1GTiQlF7gMpRXaMm/pmLSB0HzdVRCi6+/iHe1rO8naBubnH4olnS417Verhm2 T7zCyhj3avAKo0Uf55MDC4M6ALrq4RNe18SeFzq0tTqUInBYXfnJRkoIaPFBIhdn3yPMqFd8fbfPV 4yHJhLpLTGPaAkzFH8Fixg==; Original-Received: from [87.69.77.57] (port=3352 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 1oEVT4-0001n6-CP; Thu, 21 Jul 2022 08:39:51 -0400 In-Reply-To: <87a6927ijj.fsf@gmail.com> (message from Visuwesh on Thu, 21 Jul 2022 18:02:32 +0530) 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:237551 Archived-At: > From: Visuwesh > Cc: 56662@debbugs.gnu.org, kevin.legouguec@gmail.com > Date: Thu, 21 Jul 2022 18:02:32 +0530 > > >> I can think of one way this could potentially work is by checking if the > >> mark was made when window was active so making the mark "window-aware"? > >> I.e., if two windows A and B show the same buffer and the user typed > >> C-SPC when in window A, then the region would not show up in window B. > >> Does this make sense? > > > > So what happens if the user then types "C-x o" to switch to B? > > Ideally, nothing. Only the active window changes but the region > highlighting before and after should be the same. But that's a bug: region highlighting should definitely work in a selected window. > Here's another question: what about delete-selection-mode when the > active window is B? What about it?