From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: =?UTF-8?Q?Re=3A_Question_about_=C3=BCarent-frame_changes?= Date: Wed, 18 Sep 2024 16:15:56 +0200 Message-ID: <9bc2af0a-d3c1-4ba6-a350-af6e2b85695d@gmx.at> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33224"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: Emacs Devel To: =?UTF-8?Q?Gerd_M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 18 16:17:19 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 1sqvUc-0008Os-8d for ged-emacs-devel@m.gmane-mx.org; Wed, 18 Sep 2024 16:17:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sqvTY-0001L6-C8; Wed, 18 Sep 2024 10:16:12 -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 1sqvTW-0001Kl-Lq for emacs-devel@gnu.org; Wed, 18 Sep 2024 10:16:10 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sqvTR-0004TU-LB for emacs-devel@gnu.org; Wed, 18 Sep 2024 10:16:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1726668957; x=1727273757; i=rudalics@gmx.at; bh=a8ygNXb/9goX9eoo9O0Q1AfyYeDdWXw46oYRS6LucOo=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=Kc+i7rmUdI8rGPpVpJPyeRAWmL9Bl3sHOAAbCzb3ouJp+yBXIwSaEEPkdpZWKgR9 0M/+fIWZ72Rc65YXZehTjIG3/WDRHrYXzuejbYD9wQGO8LEIv4M3OcPz/OGZKooFe 4btjJfQ5WRne+m72mzKK9s7zgHDRgPBmh/w5yEdnEICSlMOR6+i2VmZlgtya6U84l gysDDZcoNIvxYn8vWyB7A+yutH86EMC5bC60R4HyeLhJVOsj0lUAk30/+UxPycPdO jB8jxuEos30+n/Ump/FbJCROzYinCZJRAUvza7gK8e3S3bx9hL89yIWmQxVy2CT0K YddceEoDsGLsxaQDGg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.31.113] ([212.95.5.11]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N79yQ-1ruQ2D1CFo-00wlkD; Wed, 18 Sep 2024 16:15:57 +0200 Content-Language: en-US In-Reply-To: X-Provags-ID: V03:K1:CBERG791b0Nkrw0WDP9pNrsbmp+WRDCptsssAfjwMyiHt7S8XLF 9GZ63xx8CIRMZTPrf0d3yBdXypn2IDoc6Hfhku61Is/S5zM3pkT/sq2TZOw8cSuSCRzBh0X cYC+I5UvITox75sYrbS4c9NmGnZoU+JnuIuFqCnAc2A0UeXHmyedkT0R6OL6Z6MX11zzhRS 3QbvumI3tB3Y5MLujk4Jw== UI-OutboundReport: notjunk:1;M01:P0:oyNzaPB25Uo=;VEIQPe5vwSwrcmYItFNLNcdujql 9adpiQ4QNX2Y6PxsrtvinITCDAwbizLHYKASHJ4q9eiHD5m87iTACKLR5aIyciT5XCYEurkHI xAoc48/4lsgnbSlog6RZ3P5qb8++e+3pmUGHzNDdAEJWUsRdy4sk1qJJ8hlRr/WQG9XIAu3nq zTeHPjkV+dGZsxDbdIOqgIN3NBaEUHg4EihDxGrkyfMqSrp0SkTcxYKGRTPo4CRQHTt/5OIXo HdHFaAtK+6b3nzBCW3QeLeEiLIKl0BEQp+WSmHLH5GQWkeeYqKNnyiK31S3jQaE82nv69zlHP pFkM1WSPr2s/+Ao/nUXqBRamwy5d6TY4Ac1gRM+8QuQztoCF+dkWkKzpZM+x10fjVcNWfq7TT 6Kp+gQNIMOvFoX8bRHpAqChit0oQk2BHmwUQ0EObiUBvtTrZhsiiACbVNEqXf+jHvhRxPyoSa gMboErkuTQkX8QTGzS1ZRjAajL/DMngcf3sU7mr/eOmydal+3RtlYVKtvqeyuf5u6mMa5pVgt 2Uof/MTGm3J1CfosGN4HbN4yi8Ur7nmCocEkKUvjS4J8OSzs2zVGsYlND3HDOaRSpdapVP0vj CAm1nNdmKw+ZkyiZnVXVlxHu5nMoinj8hCMblPXnAv7kr7ti19oq5ILMHUtcngCTBbPYtkzzt GqQAg16NUGJhJneg3OA91hsggrW2Jbfoor1pAY5ELBYgQmzl3gYUX5YQoPZEc1oNtO2j4uCNC g/HSMKauqmADzA6iNgv16IQp5WGPlpjUI7ZJuAxlKb/a8SkTQWvNJ3zUqdwtpZIYprBx38JJ Received-SPF: pass client-ip=212.227.15.19; envelope-from=rudalics@gmx.at; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:323719 Archived-At: > AFAICT from the Elisp Info docs, one is currently free to change the > parent-frame as one sees fit. That is, one can make a child a root > frame, a root frame a child, or change the parent of a child to another > root. > > I'm currently inclined to disallow parent-frame changes on ttys > entirely, unless it is used for something. Couldn't find something > today, but maybe something is a package outside Emacs' repo, or I'm just > ont looking for the right thing. I'm not aware of people using multiple frames on TTYs and I have no idea whether child frames out there are even intended to be reparented. Reparenting is useful because you can set up one child frame for some special purpose, make it invisible when you don't need it, and move it to another frame and make it visible there whenever you want to. On GUIs, this approach has the advantage that you can avoid the (at least here) costly process of setting up frame faces every time anew. Emacs tooltips do that by default and I recall that showing a tooltip every time incurred two entire GC cycles here. martin