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: Thu, 19 Sep 2024 10:10:11 +0200 Message-ID: <305d3b43-9963-46c4-8a58-33dd87dd3c99@gmx.at> References: <9bc2af0a-d3c1-4ba6-a350-af6e2b85695d@gmx.at> <86ikut9bup.fsf@gnu.org> <86h6ac9r4r.fsf@gnu.org> 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="4711"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: gerd.moellmann@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 19 10:10:27 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 1srCF9-000131-6S for ged-emacs-devel@m.gmane-mx.org; Thu, 19 Sep 2024 10:10:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srCF0-0000kO-IV; Thu, 19 Sep 2024 04:10:18 -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 1srCEy-0000k3-RD for emacs-devel@gnu.org; Thu, 19 Sep 2024 04:10:16 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srCEw-0005YN-P2; Thu, 19 Sep 2024 04:10:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1726733412; x=1727338212; i=rudalics@gmx.at; bh=xWYWvJ1u5raioqH86EP8fSTUSwysJLdNRXKjh+R+tpw=; 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=niD05rt+AWicHojA6phmVHRPvf74TNkB9nYxvScfsvz56KlsPLKoJR+oJDstlTkx j5AlYzUhfJ5EtKNHPcrfNTJYR+p871E+eGfiqGIuUmzDzfYDwu1BosXtOHxuNPYJQ MlQftQgdLSEC8vZcJHglpYubEtV/sjOt+YGtvMn68jjk/RiOycsqExkO5GfbXIOtd eNF7XOOeGfH9bVKGk+5gaL5TJotp5+/rZ98nhkwFHwI++fnfHNYtg0skFmKwQIaN2 kcz8wvigUQG9D23u+q8mDxTsuoSHJN80QtTdbGXpAtrRp49ibiZ/FzCb+o7WkTYbB BpIEJEkJQHyEg0Ib/w== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.31.113] ([46.125.249.32]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M6llE-1stv0H3sI2-009RoH; Thu, 19 Sep 2024 10:10:12 +0200 Content-Language: en-US In-Reply-To: <86h6ac9r4r.fsf@gnu.org> X-Provags-ID: V03:K1:4DlnpJElTdnEbqjINbyi9SCc4Lo/7KT+WL95cCgCuzpTrjhLCXO 6t1H9i3y9xF34UJVCTgCrRQnyhXtR7j7Pb3FVAxuXt3ow9UCn2BebrxTW7qr4aI5pQuUEuN cwIHgF4xrKsOdIj+hYXORyo+xysmoN89k3/GA9tr13C0JI/UGOPktwKIF1uyiP7O0nSUZDz bZuTavytLWhIKNRPLwmBw== UI-OutboundReport: notjunk:1;M01:P0:bk/wOVk+AB0=;JBrokM+s4Csm7ZJdJFG9M+8S1wC 88bxkU1nUMP+rTc01MGJssDOcqxVoXL0LChwY1kfGQZbNsCwHxBVbwA8SxzWH1113Q5yDg+XP bS8ab4Q0DSMdC/Cc2m9R1tTTsaiOSiQy/vfsq3Mm4ZLsWuZ498PUCtV64k4xh57wu7w7I7RnC hlLnri8ug3tzGxAW6Uz9jq1JYjQNL+JYKaY5TM9fHa0W3/aXJ+u2fuDX0ky8AOAB3wsBsvNCb oofycZsBThCTXzkNQgE3aV45lCmQNSOhSxWjGmzQty+5KGi9osfX7wBDLd0Q40Xh2s6ZB2V5N 21v3C3Sut7Vab0KKXr5eMKTRWWwPXSmcCw6H79uf73JE6PLf6NpRozZSDGeNWWYZFAnTb4elE 6aSftgdfFqNTdmQKNrVJOuf7bK79Lp7TxnlrMH8ANTKzEHWJCKwFFQu4TWM1dCrZu4GdyZem5 OB1TBxfjV/MagsCztR1xhjsElW9kUk19ZjPiVO7aYg9Do9G2iMjcFYO93JLN+cPjxUfcbknEi gFEMCz0sq/dpXb0rqyVRrL83Uszoqcw7Nul/ZBCGra70inVl38/ANsYMX4MBiF5Ra9YsB3ECf tyBqh0kOcUbd8cpCjLzZSf2wgf23xVsa28tkiwavrp4PI6M4zvCu/RNAI96+yA3SYOSvKXJTZ 4wssJ+t44CxAFsV93GFKzdD4xJOL9GobgMbIm2TPGGnLirZ80P/NKeW+ia4G69HSz5TzEb9f+ fW2wsd5nIVgmeMFWn8EP2a6jhbjqr8nvsZVQZGOjXxSoTmmlJQRlp45ydcVbjoRzQ1MvZTJ4 Received-SPF: pass client-ip=212.227.15.15; envelope-from=rudalics@gmx.at; helo=mout.gmx.net X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 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_SBL_CSS=3.335, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:323757 Archived-At: > I'm saying that this scenario which you described: > >> 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. > > 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. > So reparenting seems almost pointless on a TTY. If the application asks for it, we'd have to decide what to do. Clone the child frame in some way, for example, so that while there are two physical child frames - one for F1 and one for F2 - the application sees only one. martin