From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#64547: `show-paren-mode` thinks that a paren is offscreen in `M-:` when it isn't Date: Mon, 10 Jul 2023 15:26:34 +0200 Message-ID: <871qhfhp85.fsf@gmx.net> References: <7bf644a7-3cd7-1def-706e-9ed74b64bd58@protonmail.com> <83wmz87yiz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2333"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Okamsn , 64547@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 10 15:27:17 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 1qIqv6-0000Or-8M for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 10 Jul 2023 15:27:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qIquu-0004it-7R; Mon, 10 Jul 2023 09:27:04 -0400 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 1qIqus-0004gi-I9 for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2023 09:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qIqus-0006cI-AI for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2023 09:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qIqus-0002sg-5p for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2023 09:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Jul 2023 13:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64547 X-GNU-PR-Package: emacs Original-Received: via spool by 64547-submit@debbugs.gnu.org id=B64547.168899560511048 (code B ref 64547); Mon, 10 Jul 2023 13:27:02 +0000 Original-Received: (at 64547) by debbugs.gnu.org; 10 Jul 2023 13:26:45 +0000 Original-Received: from localhost ([127.0.0.1]:48022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIqua-0002s6-QK for submit@debbugs.gnu.org; Mon, 10 Jul 2023 09:26:45 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:53319) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIquZ-0002ru-1R for 64547@debbugs.gnu.org; Mon, 10 Jul 2023 09:26:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1688995595; x=1689600395; i=stephen.berman@gmx.net; bh=3FneycClPPCW6aBJHheRW8Q5prNm/Jq+i3gPXRgFp5g=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=LRtgvpjfVYsXYJs22Q/awPzKpeDDaOpMjkM95N7PmQ2vtieF/kuNHiTst+0vUtSAfHUFvHX 3RBj+9oAePx0zuW9MO0FjuCO7QnvqmV+xRTEr1t5xvgR2dyXDXsMVEV0kba5yEZrrpN9E2Q3v aSUXvJBgBgvvVHmxuKyj88lfilXzHZDxnfQhJvod8X+qSGne/YRZNTFQdVvifL2KXltSWeF6C /s7V4BfkhN/XPeBGBDW5od91t4tEzw5WYpQ1pVhtTdVmodd2ac5UUfkh1Q1Wt58oTWeGa/8AT LZsby5fHTdnXqIQViEYw3/iUL31G86rn0xsEN9vKq7dcGVSLYlFA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from strobelfssd ([89.246.36.73]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MacSe-1pi9JJ1mzC-00cBzi; Mon, 10 Jul 2023 15:26:35 +0200 In-Reply-To: <83wmz87yiz.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 10 Jul 2023 15:15:48 +0300") X-Provags-ID: V03:K1:wt7L9fQIup5zIJpkRb7XP5MfeoJH19DV9XE8uSnyVNghG4Y/nZI IpVy6nyAFt1+H5HtIAbIWBLBJ169EtaiXlvg4jNNrAC8HaZWKap1qOCk50WEmnR0t6cESg6 i2T9Olpr7CFOWX87PncEy+vZ1HDLNtC3OW2xvJCsaRBarVpCv2Phlf4vP4OZ95CDNfC3tHC jCWLIk2GaDJ5fg8U8BMTQ== UI-OutboundReport: notjunk:1;M01:P0:iXa1pZ4PhT4=;5cci44JsQ54P0++fMmJDiFLJjuH KWi8oslKfJvLr6RSLvuORBIldCq8iwWCgPrHh7X2WsEMIlPmsLfqPliDKUjftCKdlbxOElqSE DLYPhmwUUPrCKSyrRuwfgsAVld+zbNNxQ95ZDxPWF/yTA/H3+W4KHjkeWscm8m38ptak1JqOx zJX9wmyxWo6R4lFPGUePV234G8dN9SXhL8jdHEc/Xf8EBp15nGSbXHiHTo2owxmKCllcWp31f QhP4Gd4lO8tCl04teqxiRaKJo4HIhg3BTyyE7c/7X9y4JpBPQqoLpx9C+Wp319x57blo6csno 6Eu9Q3leqpML5dHwtmOVkU8BLVWVPmm6ukJRB0NEf8W90ec914xyyDip26J5MqCDUUc8gefwE vimVCrsMaDBWIjY3dvDrvKLmn4ntc/2FO8EdGYGjjoAg9cWoZU7ezGv6V+hZNaW1zPLPfXEdO aCzcrHqNVs02qMUohjKqd89a0Jwy6b25kDYXaKkPRIWimrf90BtnrQmRQ9Lyy0+NTmNSXsGPR rc0dLNTbH1Z5Qlj+Z9LW4q0IJLXBiPwV6d303ir5hTJ8hFLyizzBkok2mhcYZVBMZh83Mr5ZJ YTRd7jrL9qyugcGAB9nOryXPIKaIS7BRF/jcDPOi4Olw0eWvpSNOfJfkoBppo6q32Urk+dPGt asboPkKaOksS+RMEfaQZDn6oRaixu/V+67LiIMe/m5XgvPHkwPV1LuqdTRILwFnPcyAKF4LUP Z+fjM1zNMXYqo6rGfK0ASDp5m6OHJeXijeIwMiaVhfRPNgURsYKho2idFaOkloDK7vFwDf1+ 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:264885 Archived-At: On Mon, 10 Jul 2023 15:15:48 +0300 Eli Zaretskii wrote: >> Date: Sun, 09 Jul 2023 19:49:06 +0000 >> From: Okamsn via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >> >> I have `show-paren-style` set to `mixed` and >> `show-paren-context-when-offscreen` set to `overlay`. >> >> When using `eval-expression`, `show-paren` thinks that the starting >> parenthesis is offscreen. >> >> I have attached images showing how, although I am typing on the same >> line as the parenthesis, the context overlay is still shown. >> >> With `show-paren-when-point-inside-paren` enabled, typing before the >> closing parenthesis causes the prompt of `M-:` to be shown before >> quickly being hidden by the context overlay again. This causes text to >> quickly move side to side as I type. I have attached a screen recording >> of this movement. >> >> This is in Emacs 29.0.92. If it is relevant, I have `line-spacing` set >> to 0.15. > > I cannot reproduce this. I see neither of the problems you describe, > and nothing like the screen recording you posted. You don't show the > details of your platform and build, so maybe it is something specific > to that (macOS, per chance?). > > Can you post a detailed reproduction recipe, starting from "emacs -Q" > and showing all the settings and commands you have to do to reproduce > the problem. I can reproduce the problem in GNU Emacs 29.0.92 (x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.6), but only with line-spacing set to at least 0.06. Recipe: 0. emacs -Q 1. M-x customize-option show-paren-style RET. Choose "mixed" from the Value Menu and set for current session. 2. M-x customize-option show-paren-context-when-offscreen RET. Choose "In overlay" from the Value Menu and set for current session. 3. M-x customize-option line-spacing RET. Choose "Number" from the Value Menu, enter 0.06 or greater and set for current session. 4. M-: () =3D> On typing ")" the "Eval: " prompt vanishes, the string "(" is displayed with a hollow box over it, followed directly by the string "()" with a cyan background. Typing DEL to delete the final ")" displays the "Eval: " prompt again, the "(" with a hollow box over it vanishes, and the remaining "(" has no cyan overlay. Typing any characters and then ")" at the end again makes the prompt vanishes, "(" with the hollow box and the cyan overlay return. Lather, rinse, repeat... Steve Berman