From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Question about =?iso-8859-1?Q?=FCarent-frame?= changes Date: Thu, 19 Sep 2024 13:30:59 +0300 Message-ID: <86v7ys7x5o.fsf@gnu.org> References: <9bc2af0a-d3c1-4ba6-a350-af6e2b85695d@gmx.at> <86ikut9bup.fsf@gnu.org> <86h6ac9r4r.fsf@gnu.org> <305d3b43-9963-46c4-8a58-33dd87dd3c99@gmx.at> <86zfo4836w.fsf@gnu.org> <874j6c2fyj.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18249"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, gerd.moellmann@gmail.com, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 19 12:32:23 2024 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 1srESU-0004dB-Uj for ged-emacs-devel@m.gmane-mx.org; Thu, 19 Sep 2024 12:32:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srERn-0007AF-D7; Thu, 19 Sep 2024 06:31:39 -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 1srERl-0007A7-VG for emacs-devel@gnu.org; Thu, 19 Sep 2024 06:31:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srERl-0005e0-AO; Thu, 19 Sep 2024 06:31:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=+XQOSEj9oIEUyyRoQvufKWdAjlBDhFoWYaMXGl2N2G0=; b=QDGc1zzE9J+11/zWTsTk Df5qhehcavTeyZJSdbt8e8uzGsYVncHhJ5omK2vhBxpKU7+0h/hBRVWfA/UkxKLLPnlDHDpTONgLh GUejAidW4ZA+4tX/Qr4WhZMyoSlyKXvmZsIEJVmMu73eR63iQAvOAspYhEBoyIAioDnAAuR3HmKGm a+iWPm5FVIu0emQBDaiNPHA3qSBqMuuIWrHzR+7CQvAHXBILIjbJ3SgLGhgz3379T1q9DAE/2Shn9 U0U1ygoIxnYTefjvP6X89fQVa5PkgPSAqHvoIEIGu9+vcDsqeKALWVXxvV+cycwRHTPEwweB0d3Qa ccKyoh/fVSHYuQ==; In-Reply-To: <874j6c2fyj.fsf@yahoo.com> (message from Po Lu on Thu, 19 Sep 2024 16:41:24 +0800) 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:323768 Archived-At: > From: Po Lu > Cc: martin rudalics , gerd.moellmann@gmail.com, > emacs-devel@gnu.org > Date: Thu, 19 Sep 2024 16:41:24 +0800 > > Eli Zaretskii writes: > > >> Date: Thu, 19 Sep 2024 10:10:11 +0200 > >> Cc: gerd.moellmann@gmail.com, emacs-devel@gnu.org > >> From: martin rudalics > >> > >> > sounds not very useful to me on a TTY, because switching frames on a > >> > TTY will make the child frame invisible anyway. And why would I want > >> > to see a child of frame F1 when I display only frame F2? > >> > >> Because the calling code may reparent the child frame from F1 to F2 > >> whenever the user switches from frame F1 to frame F2. At least Po Lu > >> said that applications do such reparenting. > > > > Isn't that the same as simply showing the child frame even though its > > parent frame is obscured? > > > > And I'd need to hear more details about what the application wants to > > achieve by such reparenting, to understand the issue. > > They simply wish to retain created child frames for as long a period as > possible, because frame creation is expensive, and configuring a child > frame to behave as intended is hard work. See posframe.el (on ELPA) for > a typical instance, where three years ago I encountered the same dilemma > with the Haiku port. In what sense is creating and configuring a frame "expensive" and "hard"? Given that we have current-window-configuration and set-window-configuration, I wouldn't expect it to be hard.