From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Newsgroups: gmane.emacs.bugs Subject: bug#56662: 29.0.50; Funny region highlights when highlight-nonselected-windows is t Date: Fri, 22 Jul 2022 00:14:30 +0200 Message-ID: <87y1wm9kqh.fsf@gmail.com> 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> <83wnc6mygg.fsf@gnu.org> <875yjqr0s1.fsf@gmail.com> <83lesmmpfo.fsf@gnu.org> <871queqw9j.fsf@gmail.com> <83bktimnlg.fsf@gnu.org> <87sfmupfj6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3085"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Eli Zaretskii , 56662@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 22 00:15:13 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 1oEeRt-0000fO-8M for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Jul 2022 00:15:13 +0200 Original-Received: from localhost ([::1]:47484 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEeRr-00004t-Tt for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Jul 2022 18:15:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37220) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEeRi-0008W7-N8 for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2022 18:15:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49671) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEeRi-00034w-ED for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2022 18:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oEeRi-0005Jp-9V for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2022 18:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Jul 2022 22:15: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.165844168320382 (code B ref 56662); Thu, 21 Jul 2022 22:15:02 +0000 Original-Received: (at 56662) by debbugs.gnu.org; 21 Jul 2022 22:14:43 +0000 Original-Received: from localhost ([127.0.0.1]:39410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEeRO-0005Ig-R7 for submit@debbugs.gnu.org; Thu, 21 Jul 2022 18:14:43 -0400 Original-Received: from mail-wm1-f44.google.com ([209.85.128.44]:43672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEeRM-0005IR-Uz for 56662@debbugs.gnu.org; Thu, 21 Jul 2022 18:14:41 -0400 Original-Received: by mail-wm1-f44.google.com with SMTP id j29-20020a05600c1c1d00b003a2fdafdefbso1530162wms.2 for <56662@debbugs.gnu.org>; Thu, 21 Jul 2022 15:14:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=AmiucxkKoWNJp8gZPaxFYCUtgCXlStJtPHBK1HQAXcc=; b=LTijYlLb+SqiOU/JKaDc0FZ1w0Ge45//e3fXASiToUJQ+RGjYXFDYVorzTCjFo4yDD Iht2vGlKMJj7naXLcsr0n7y/DEUkmuSvXAcGyM0mgNL9pAY89PrFUgl1/AeLefUthToa xxPXh9JiSVFqxsSKddIKCOkSnOFlB3SJkyzjnrf6G+m1RbCDXJRPJZZb0QFDV2T7ftST 7uxUiCjL8YODsOW3vMoRFi6Kho2N+sxjQaXP/XTr3wKYYs0JSXpgXTCcA3QhUHbUnLGC 7E5qVYtNPS2XYwS5I/WwLoIunfJv1u59qyZphs6HpmuLLx0IHebe8hrxNISOz6MuAwr8 qQBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=AmiucxkKoWNJp8gZPaxFYCUtgCXlStJtPHBK1HQAXcc=; b=2fjiFJX7knaKCKZ1QX6cbmWF71kqrgP1FAS39UUgeKGcrvhz9PuH1eKGTm0zuh3jpX p2pCJ2wnEyNtYphLXqQ4RgEZvA0Drv6QkWxbU537g56YArjPmu9tEOiRzfw9OCeKRRaZ fBcAm39eAT4M0v8FaJ6PtqORU8O/3lLLnlk9Slb+ZvE/QpgKnI3xrM9phlhoTV7d/2H0 8Tet/thNJmF/pD2upsISO14FHsqHnes5ivM7bNRplzGGJSfjbU0VN8ITZZO1NUenoKE/ 75TZufRz9uxO3SPKYPEPPL6ldaMPhVdtwH6bYbvrlVD3Epv/yEGkcx2/wlUhxqoIaK02 9yTQ== X-Gm-Message-State: AJIora+/BTbZLMoIedrN81QdxhvwGWZ/1jvSAwlOlVzmCRh8LHXwlDXo ocgPa4D9M3HpBG37l1BIH29M9ku72P8= X-Google-Smtp-Source: AGRyM1tlVmqiWJuxBd5uZ6T3CkriO3bT5mB1pkMCUkKoqw2tMVzRR14zNpg5DdCmlg8N/j+O4otEZg== X-Received: by 2002:a7b:c8d3:0:b0:3a2:fe0d:ba2e with SMTP id f19-20020a7bc8d3000000b003a2fe0dba2emr10240196wml.115.1658441674037; Thu, 21 Jul 2022 15:14:34 -0700 (PDT) Original-Received: from amdahl30 ([2a01:e0a:253:fe0:2ef0:5dff:fed2:7b49]) by smtp.gmail.com with ESMTPSA id n6-20020adfe346000000b0021d7ad6b9fdsm2941350wrj.57.2022.07.21.15.14.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jul 2022 15:14:32 -0700 (PDT) In-Reply-To: <87sfmupfj6.fsf@gmail.com> (Visuwesh's message of "Thu, 21 Jul 2022 22:30:13 +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:237577 Archived-At: Visuwesh writes: >> If you deactivate the mark, there's no region, so I'm not sure why >> you want to see highlighting in that case. > > OK, I see the full picture now, now that I re-read your reply to Kevin. > If you change the mark in window B, then the region highlighting will be > different from that of window A. But currently there's no way to make > window A highlight the region whilst having no region highlight in > window B unless the point and the mark is the same in window B. I hope > I am right. I think this is what Kevin (and I) want IIUC. Right. Paraphrasing my message, I like to keep useful snippets highlighted in one window while working in another; it's frustrating to have this break down just because both windows happen to display the same buffer. >> Are we talking about the Emacs region highlighting, or are we talking >> about some other highlighting? As the manual explains, the Emacs >> selection highlighting is different from other applications in several >> important ways. > > We are talking about Emacs region highlighting, and yes I do understand > the difference between Emacs and other applications. > > In any case, I don't think there's any reasonable action we can take. > "Active region" is already bending Emacs quite a bit, the current > scenario seems to break the camel's hump in unexpected ways (altho > there's always a reason to explain the behaviour). Closing the bug > report. That's fair. My argument for keeping it open would be that people who would be able and willing to scratch that itch in the future might not think to search for closed reports; but then again I suppose there's not a lot of information in our present discussion that they wouldn't be able to rediscover on their own. Thanks for reporting this nonetheless; if anything, seeing someone else bothered by the current behaviour was mildly cathartic.