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: Tue, 08 Feb 2022 11:06:04 +0100 Message-ID: <87tud9y8da.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> <87wni6cev3.fsf@yahoo.com> <8735ktzve1.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="1151"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.7; emacs 29.0.50 Cc: Po Lu , Lars Ingebrigtsen , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 08 11:43:12 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 1nHNxm-000055-CI for ged-emacs-devel@m.gmane-mx.org; Tue, 08 Feb 2022 11:43:10 +0100 Original-Received: from localhost ([::1]:54026 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHNxl-0001w0-GG for ged-emacs-devel@m.gmane-mx.org; Tue, 08 Feb 2022 05:43:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHNUs-0006X9-HE for emacs-devel@gnu.org; Tue, 08 Feb 2022 05:13:20 -0500 Original-Received: from [2001:470:142:3::e] (port=53722 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 1nHNUj-0003Tg-EG; Tue, 08 Feb 2022 05:13:17 -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=sog+zfqpko/NqnsJEK1IGICQmDPIdSlWDkunufmV4SA=; b=Yq04v/kPXY2fmY ZfwjjdbNal1eJ7sGLgvb43R6jTViU5cXuq3WY3mll3ubcu0uxSZxrE0GytV339YpuuZqZLbwVN23K OJQ+Eq8Gz59dMvMERXwzbLZ0InmzMdr2OK8CLgHrUdEZNER0/Ti7tWTx2gWPsNk+yANfp6x70D46u ovt5gWqYJQ/6AUhKlfL5sMdkQAd97pP3zJt25isYW//49CD+BU+a1Tl1P1ywoLTX3fid1a36oVrFI Wzc23k3YIoaBXYH3IoVRbm7qsiXT7ZK1i21n6IYy1zlvfhIJn+tCvbM2+J+apa/TMN85S6FyEyw+k y2nqjjYSvfpKRtLYCOJg==; Original-Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:39249) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHNUS-0006wh-QD; Tue, 08 Feb 2022 05:12:53 -0500 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailauth.nyi.internal (Postfix) with ESMTP id 3BFAC27C005B; Tue, 8 Feb 2022 05:12:52 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 08 Feb 2022 05:12:52 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrheejgddtlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpehffgfhvffuffgjkfggtgesthdtredttdertdenucfhrhhomhepvfgrshhsihhl ohcujfhorhhnuceothhsughhsehgnhhurdhorhhgqeenucggtffrrghtthgvrhhnpeevve eikeetkeeviefgfeffiedvteeguddvffeuueduveegtddthedvhfeuveffhfenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhorhhnodhmvg hsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdekieejfeekjeekgedqieefhedvleek qdhtshguhheppehgnhhurdhorhhgsehfrghsthhmrghilhdrfhhm X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 8 Feb 2022 05:12:51 -0500 (EST) In-reply-to: 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:286073 Archived-At: martin rudalics writes: >> Of course, it depends on use-case. But for show-paren where there's >> `show-paren-delay' anyhow it doesn't really matter from my POV. >> >> FWIW, I don't have posframe installed but tried this benchmark which is >> quite similar: >> >> (benchmark 10 >> '(show-paren--show-context-in-child-frame "foobar")) >> ;Elapsed time: 1.178163s (0.047553s in 3 GCs) > > Does that make the child frame invisible in between? If not, you're > comparing apples and oranges It creates the child-frame invisibly, then eventually calls `make-frame-visible'. But I can also use this recipe and get pretty much the same times. (setq frame (make-frame `((parent-frame . ,(window-frame))))) (benchmark 10 (lambda () (make-frame-invisible frame) (make-frame-visible frame))) Bye, Tassilo