From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#56662: 29.0.50; Funny region highlights when highlight-nonselected-windows is t Date: Wed, 20 Jul 2022 18:13:16 +0530 Message-ID: <877d48550b.fsf@gmail.com> References: <87bktk585s.fsf@gmail.com> <83wnc8klhw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30057"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 56662@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 20 14:44:38 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 1oE94A-0007ce-MO for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Jul 2022 14:44:38 +0200 Original-Received: from localhost ([::1]:47726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oE949-0001Sh-9B for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Jul 2022 08:44:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oE93c-0001Qk-Vb for bug-gnu-emacs@gnu.org; Wed, 20 Jul 2022 08:44:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58525) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oE93a-0000o1-7W for bug-gnu-emacs@gnu.org; Wed, 20 Jul 2022 08:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oE93a-0008BS-3P for bug-gnu-emacs@gnu.org; Wed, 20 Jul 2022 08:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Jul 2022 12:44: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.165832100831409 (code B ref 56662); Wed, 20 Jul 2022 12:44:02 +0000 Original-Received: (at 56662) by debbugs.gnu.org; 20 Jul 2022 12:43:28 +0000 Original-Received: from localhost ([127.0.0.1]:56284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oE931-0008AX-QB for submit@debbugs.gnu.org; Wed, 20 Jul 2022 08:43:28 -0400 Original-Received: from mail-pf1-f196.google.com ([209.85.210.196]:33375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oE930-0008AJ-7G for 56662@debbugs.gnu.org; Wed, 20 Jul 2022 08:43:27 -0400 Original-Received: by mail-pf1-f196.google.com with SMTP id 17so6054462pfy.0 for <56662@debbugs.gnu.org>; Wed, 20 Jul 2022 05:43:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :user-agent:mime-version:content-transfer-encoding; bh=aoyAzNI8+1W9CUgYaHepsWDTGLLr7JIeD1Vp/sCcmUc=; b=gHFECaps9Lj3AKhainzxHNvKJ9VMPyFiyUbxfP3bC6eynNiquEgVR8acR1tYfSlPyV W9bDbTHvWvluCEeURnZn5AMuS+JhL7NyrxYT+bSjm/71qKrVq1qczMH0ans60azLONuu oyx31UGCqQjG+ul9xybJmuvo5EqwjohbiCGzkncc9aY7MuzdmBrxLwtae/wS7IzHnDll tjVSCjwo5oOCg/WhxBAJBxsGp+44CMaPf8hcZOaJ3lB9Ad4cQiZHQCajWBfPCoLNUuee ED110SB3pwe/3jtVGWtpWHqpRYt0bIdYwuj13sVxtwxKZZsrw0+Blqm+nM+J1yoUr//+ wPLg== 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:in-reply-to:references:date :message-id:user-agent:mime-version:content-transfer-encoding; bh=aoyAzNI8+1W9CUgYaHepsWDTGLLr7JIeD1Vp/sCcmUc=; b=gfMdl7i63ntM/HlOvUZ3865V+mGPww/B0m0sVDGZsOfE6QCmaHV1cSSLk27kVR62wp pDmouM/F8DusBEAfd/dmg2lt7WtH4yezUgBQcr+TVouLFbq2i4zK12qyyOU8WxVJj7ja 7Mk2hLQAy8UqXLKyPAlL3WCy+W5aDIjgQVb/GLlp7rOeYWUCVMtnzO8PLQxQ+qbK2mgp zHxeLtiME8b2saa1KnqOjKODvga2mgTaSxqUrvsD+ZZx77RbMUgWwupxGYCEahrS3iOS KCLcw8Cgan3C694Cs2BQNDhCF/AVoO35hGjkBlIynMwsoFfnOKPvq7jCx8R/1usdqs00 k9Hw== X-Gm-Message-State: AJIora8WwrPWqK585U/ItQ2N/b23GuqiBCZGFZIbWdUqEY9LBnazoiNm UuNgTRFBinFaQCwQONoSpiw= X-Google-Smtp-Source: AGRyM1vWnECQNr6KCxKeX7VH41zW8Fu1wjxQyrNDpHg+iSbzgChKff4iTnnWiqS7aQ3lS5rUpP+cng== X-Received: by 2002:a05:6a00:2347:b0:52a:cf39:59a6 with SMTP id j7-20020a056a00234700b0052acf3959a6mr38684837pfj.34.1658320999746; Wed, 20 Jul 2022 05:43:19 -0700 (PDT) Original-Received: from localhost ([49.204.140.229]) by smtp.gmail.com with ESMTPSA id pj5-20020a17090b4f4500b001df264610c4sm5713057pjb.0.2022.07.20.05.43.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jul 2022 05:43:19 -0700 (PDT) In-Reply-To: <83wnc8klhw.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 20 Jul 2022 15:38:03 +0300") 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:237501 Archived-At: [=E0=AE=AA=E0=AF=81=E0=AE=A4=E0=AE=A9=E0=AF=8D =E0=AE=9C=E0=AF=82=E0=AE=B2= =E0=AF=88 20, 2022] Eli Zaretskii wrote: >> From: Visuwesh >> Date: Wed, 20 Jul 2022 17:05:11 +0530 >>=20 >> 1. emacs -Q >> 2. Visit a longish file. >> 3. C-x 3 and scroll up in any of the window. >> 4. M-: (setq highlight-nonselected-windows t) RET. >> 5. Create an active region and compare the highlighting. > > What is wrong with this behavior? In each window the region between > the mark and point is highlighted, as you requested by turning on that > option. > > What am I missing? Since the point is local to the window, it felt natural that the region would be too. But since the region simply highlights the text between the point and the mark, the current behaviour is not strange indeed. I guess there's nothing to do here and this bug can be closed?