From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#65990: 29.1; show-paren-mode should not highlight line-prefix area Date: Fri, 22 Dec 2023 06:52:45 -0800 Message-ID: References: <83r0myihlr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26849"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65990-done@debbugs.gnu.org, awrhygty@outlook.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 22 15:53:22 2023 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 1rGgtu-0006mZ-As for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Dec 2023 15:53:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rGgtW-0007EP-L3; Fri, 22 Dec 2023 09:52:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rGgtV-0007Du-Jb for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2023 09:52:57 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rGgtV-00062T-Bf for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2023 09:52:57 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rGgtZ-0003XL-UJ for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2023 09:53:01 -0500 Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Dec 2023 14:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 65990 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed wontfix Mail-Followup-To: 65990@debbugs.gnu.org, stefankangas@gmail.com, awrhygty@outlook.com Original-Received: via spool by 65990-done@debbugs.gnu.org id=D65990.170325677913583 (code D ref 65990); Fri, 22 Dec 2023 14:53:01 +0000 Original-Received: (at 65990-done) by debbugs.gnu.org; 22 Dec 2023 14:52:59 +0000 Original-Received: from localhost ([127.0.0.1]:46317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGgtX-0003X1-C8 for submit@debbugs.gnu.org; Fri, 22 Dec 2023 09:52:59 -0500 Original-Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]:50290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGgtU-0003Wk-Q4 for 65990-done@debbugs.gnu.org; Fri, 22 Dec 2023 09:52:58 -0500 Original-Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-50e2d00f99cso2254389e87.0 for <65990-done@debbugs.gnu.org>; Fri, 22 Dec 2023 06:52:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703256766; x=1703861566; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=QykfMD3bFpvoHMr+46K2V/4OKFFY2eM61MFSEGyypis=; b=kdOV6gQt85vSQOHPwGXUiApTu6HRcBS12uXj6PaKPXiWVxRX+YMYVtJxVxzYNLoLxY XO9I6jGVo7MQXIyZV7upBYepo3hYzuf93hfPFA6UhRWLe2ep2QywYTKcLHIIvbfasCjs wK3seGLApKVbjkE6cTpp6x6idtyI4JVJ1b86CuMGpTpdsRmZfb0V2r/Qm2oPJ42GpgLt rMA9fouSCl2dmai9fu+KV0YcbPKZ7hWu9Q34kEfdQjp9QD7MrEhLKnMulk341anNjN+Q 3tJJE/I6iNIiBf8zHz/BVxz0D889WO2NVGYcyzR7Z6p2sZZHBeaeTHCSRlS2gcTH5NcV rdSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703256766; x=1703861566; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=QykfMD3bFpvoHMr+46K2V/4OKFFY2eM61MFSEGyypis=; b=EOBsD3THC1FSWtt+W040D4n8dry5gALLTf0FHQOWuuiZvKZ9WcFJtVWKrxR2we9JaT /gqecqkBSiEfivp7cjJGov339HFCXSsBSahb2uNUhL/x4/hCKaNL7AZyI3aU+V8PTo/K CtPsMR+YYoHrw+dKbOwJ1+0GDTFxVTX8q8Lte3QSxeO/TdavzT8C97zglR7v3farb1b6 xJA5aTUeFu01fAZXGmS+d5tv71UZo23jR7OoKuL3U1UhMAv+0Dfon38XAAo2KyjguZ1w iHffK/HoLTK095ekbGNC5MIpfFMc5HMlYxl/0VhbH+9rm2Eel0S/MPfKyeNuykmNtX8q o19g== X-Gm-Message-State: AOJu0Yz0qFRGBUR/5U7erQDaOJ7LH5P2sgt9q48XJd0nalY2b0SD/D12 xvONcaQL3oCmrJVZ+oQgqHzoo4yIKaoqEsQo6Ew= X-Google-Smtp-Source: AGHT+IFGEzVBLi2Wp3vaYwHtRyq0N0pujOg/YCP35z1qo/ktgB+F4A+n8nFJXFUd9vqFTPDsM9vaBfWxdiMGDnSfqPE= X-Received: by 2002:a19:2d53:0:b0:50e:5b9a:bb30 with SMTP id t19-20020a192d53000000b0050e5b9abb30mr668314lft.3.1703256765992; Fri, 22 Dec 2023 06:52:45 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 22 Dec 2023 06:52:45 -0800 In-Reply-To: <83r0myihlr.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 16 Sep 2023 12:37:36 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:276670 Archived-At: Eli Zaretskii writes: >> From: awrhygty@outlook.com >> Date: Fri, 15 Sep 2023 18:26:12 +0900 >> >> >> Evaluate the form below, >> the blank area on the left of the open parensis is highlighted, >> while the blank area on the left of the close parensis is not. >> Then type 'C-l C-l' to make the close parensis placed at the window >> start, the area on the left of the close parensis is highlighted. >> >> (let ((buf (generate-new-buffer "*temp*"))) >> (switch-to-buffer buf) >> (insert (propertize "(x\n)" 'line-prefix '(space :width 8)))) > > Normally, none of the line-prefix should be highlighted. And that is > what happens when the show-paren face is anywhere but at the first > visible character in the window. When the face _is_ on the first > visible character in the window, it is not clear whether the face > should be considered as starting before the window or not; the current > display code considers it to start before the window-start. > > I tend to close this bug as wontfix, since it seems to happen in rare > situations, and fixing it will likely be messy. If you can show that > it happens in more than just these rare cases, or if you have any > suggestions for how to fix that or even can just point to the code > which causes this, I might change my mind. > > Thanks. No further comments within 3 months, so I'm closing this bug.