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 15:16:17 +0100 Message-ID: <87y22k15vw.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> <877da42m7e.fsf@gnu.org> <87h79817ig.fsf@yahoo.com> <8735ks2la5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7322"; 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 16:06:05 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 1nHoXk-0001YB-36 for ged-emacs-devel@m.gmane-mx.org; Wed, 09 Feb 2022 16:06:04 +0100 Original-Received: from localhost ([::1]:58080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHoXj-0006dh-0K for ged-emacs-devel@m.gmane-mx.org; Wed, 09 Feb 2022 10:06:03 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHnmy-0003mc-GT for emacs-devel@gnu.org; Wed, 09 Feb 2022 09:17:44 -0500 Original-Received: from [2001:470:142:3::e] (port=58210 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 1nHnmo-0008La-Rw; Wed, 09 Feb 2022 09:17:34 -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=CKW0RmD72Ibqxn6qggwD3QdaUGLSAyhsNiE6Lwvk/nU=; b=nON7KVhRjY4z9/ q0Pp2WBgJnwKHhNIkitsDK7c3/lnw3ksCIXrJQrRQWMbSq7XT1gH1Ez22vlMYl0yByzakbd+ultYB 3lzgOCt/6YRo3wL1UNvIgzRLvfy+XigGI/Y8dAvllkPPBmLG4guc7u+NchYRNNSB+IinicG+OC4S5 ngxf8oUSbi0ine9Rc1ekc7MvpbX6943xjONiWTK9EIGUV3YMQigtZE0dyfBGrTt4XnWvWZuBGxyz2 hUr6A31rlZuMsgZBsp7Fwo0VQYsA6EorYWepR7SJjmyx2EbvbVw4n0Dqa8JBXnvws0tEyM4y0jOCx x4ibXCfEh8uuCeF+Es1w==; Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:38321) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHnmf-00075l-Tr; Wed, 09 Feb 2022 09:17:27 -0500 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id 4FFF427C0054; Wed, 9 Feb 2022 09:17:25 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 09 Feb 2022 09:17:25 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrheelgdeiudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpehffgfhvffuffgjkfggtgesthdtredttdertdenucfhrhhomhepvfgrshhsihhl ohcujfhorhhnuceothhsughhsehgnhhurdhorhhgqeenucggtffrrghtthgvrhhnpeevve eikeetkeeviefgfeffiedvteeguddvffeuueduveegtddthedvhfeuveffhfenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhorhhnodhmvg hsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdekieejfeekjeekgedqieefhedvleek qdhtshguhheppehgnhhurdhorhhgsehfrghsthhmrghilhdrfhhm X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 9 Feb 2022 09:17:24 -0500 (EST) In-reply-to: <8735ks2la5.fsf@gnu.org> 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:286099 Archived-At: Tassilo Horn writes: >> BTW, if I press C-g while the overlay is displayed, it flickers but >> doesn't disappear. > > Hm, indeed, but it's the same for child-frame and also for "print in > the echo area". C-g-ing will also run `post-command-hook' which > removes the frame/overlay or prints Quit, but after `show-paren-delay' > the `show-paren--idle-timer' will trigger `show-paren-function' again > resulting in another overlay/frame/message. > > I'm not sure if that can be considered a bug but I can see that one > wants to be able to C-g away the overlay/child-frame, though. I guess > `show-paren-function' should track the current position of point and > not show context info if that has already been shown previously? I did that just now and it seems to work fine. Give it a try. Bye, Tassilo