From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: master 6e5d79c048: Display show-paren-context-when-offscreen in child frame Date: Wed, 09 Feb 2022 14:28:33 +0100 Message-ID: <877da42m7e.fsf@gnu.org> References: <164414267475.11015.16458968298391656164@vcs2.savannah.gnu.org> <20220206101755.0EC03C002F9@vcs2.savannah.gnu.org> <871r0f7k6u.fsf@gnus.org> <87czjzlb1h.fsf@yahoo.com> <877da79p7y.fsf@gnu.org> <86leym6bxa.fsf@gnu.org> <8735kuah78.fsf@gnu.org> <867da6h7ez.fsf@gnu.org> <87tuda8nm9.fsf@gnu.org> <86tud9vk6x.fsf@gnu.org> <87bkzg2o3i.fsf@gnu.org> <87pmnw188l.fsf@yahoo.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="24247"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.7; emacs 29.0.50 Cc: Arash Esbati , Lars Ingebrigtsen , emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Feb 09 15:07:49 2022 Return-path: Envelope-to: ged-emacs-devel@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 1nHndM-00069i-BA for ged-emacs-devel@m.gmane-mx.org; Wed, 09 Feb 2022 15:07:48 +0100 Original-Received: from localhost ([::1]:41136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHndL-0003Qg-2P for ged-emacs-devel@m.gmane-mx.org; Wed, 09 Feb 2022 09:07:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHnCG-0005ss-OO for emacs-devel@gnu.org; Wed, 09 Feb 2022 08:39:48 -0500 Original-Received: from [2001:470:142:3::e] (port=56990 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHnCD-0007RM-Tv; Wed, 09 Feb 2022 08:39:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-reply-to:Date:Subject:To:From: References; bh=DpE5lYX32iwg6FJx+n5ymTvuMrDxfI/Fe846NfySiq4=; b=cmtk9YZQK1uU4f eDGYyUzw+WJ/CEVy0SCoYkn2IxpiWQ25w344gjDtzX5nIONHckihsynWGtlTwZfYAUMPUsX7Q5ajl +S4wup0a1ieJ4hbW5Wss274MWX9Y/clzWiCGKnop+1hp/7TYLh1+0FyOX5fSt4AappGfZCfQMbFET UMBE9q10QoXg6YH4B6NcoM3nfiSAuelWzKXObH/U9ExQjufL38hDFIW5BhA05lVULoDbYZmMnfYuC MOSfPSq2oS2qVgz6AJKU/RVBBqd3UwqA17LspmhYUagAIdRm2YIiZWhlzDMnKpuqJd15063vXoWPW W4FV1QMnjG2Mv6ke8YbA==; Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:36343) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHnC3-0006qN-UE; Wed, 09 Feb 2022 08:39:43 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id 720B727C005A; Wed, 9 Feb 2022 08:39:35 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 09 Feb 2022 08:39:35 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrheelgdehfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpehffgfhvffuffgjkfggtgesthdtredttdertdenucfhrhhomhepvfgrshhsihhl ohcujfhorhhnuceothhsughhsehgnhhurdhorhhgqeenucggtffrrghtthgvrhhnpeevve eikeetkeeviefgfeffiedvteeguddvffeuueduveegtddthedvhfeuveffhfenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhorhhnodhmvg hsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdekieejfeekjeekgedqieefhedvleek qdhtshguhheppehgnhhurdhorhhgsehfrghsthhmrghilhdrfhhm X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 9 Feb 2022 08:39:34 -0500 (EST) In-reply-to: <87pmnw188l.fsf@yahoo.com> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:286093 Archived-At: Po Lu writes: >>> I think I have found a bug, I will send a report to bug-gnu-emacs. >> >> BTW, in the meantime I've pushed the overlay version which is pretty >> much the same UI-wise but doesn't hit bug bug#53871. > > Another advantage of using an overlay is that it wraps correctly and > doesn't overwrite the scrollbar or a wrapped tool bar on the > no-toolkit build. Yes, each version has its pros and cons. The child-frame version has the benefit of not occupying a complete line if the context string is shorter. Another hypothetical benefit is that, in a future grammar-aware emacs buffer (tree-sitter), the context string could be tweaked to be "semantically sensible", e.g., with if (foobar && quux % 2 == 0) { ... }<== point here! it could show the complete multi-line if+condition rather than only "&& quux % 2 == 0)...{". Bye, Tassilo