From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Akib Azmain Turja Newsgroups: gmane.emacs.devel Subject: Re: Implementing child frames on terminal Date: Thu, 14 Jul 2022 12:53:32 +0600 Message-ID: <87k08guqvn.fsf@disroot.org> References: <87czfxu7be.fsf@disroot.org> <874k19tya1.fsf@disroot.org> <83h759lb6f.fsf@gnu.org> <87tu99s860.fsf@disroot.org> <838rqklurd.fsf@gnu.org> <87tu7n10hr.fsf@disroot.org> <83r12qxyxf.fsf@gnu.org> <87wnciv48c.fsf@yahoo.com> <83czeaxwwm.fsf@gnu.org> <87o7xuv3l1.fsf@yahoo.com> <83a69exvni.fsf@gnu.org> <831quoutim.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34596"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, emacs-devel@gnu.org, ibluefocus@outlook.com To: Eli Zaretskii , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jul 14 08:56:47 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 1oBsmF-0008nZ-IC for ged-emacs-devel@m.gmane-mx.org; Thu, 14 Jul 2022 08:56:47 +0200 Original-Received: from localhost ([::1]:53546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBsmD-00078N-VR for ged-emacs-devel@m.gmane-mx.org; Thu, 14 Jul 2022 02:56:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34402) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBsjR-0005i0-Ni for emacs-devel@gnu.org; Thu, 14 Jul 2022 02:53:53 -0400 Original-Received: from knopi.disroot.org ([178.21.23.139]:48970) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBsjP-0003qd-I5; Thu, 14 Jul 2022 02:53:53 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 6047440DA1; Thu, 14 Jul 2022 08:53:49 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Original-Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fikYQXV770Vo; Thu, 14 Jul 2022 08:53:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1657781628; bh=+QpEaHwAOGeq15aEhbZ7XmjT3zbV855VQm1F41WGOu4=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=IzzSworTid9tJBOhH7/ZteYe+b37+dNV1lhkq1G6W0pSqL2gkebjFsSHvn6f/1VKA P1Te1z4t2+bpL8gfqabmYE1cl1HT8C4viXRm1bgnz7mBtu/jY/IFnmBDRpUhgr44Uw +ZAcaBTkAFntAk/RyWb/LOSqFtjMxmwxTNigUJ8F0N7NlpLqTocKagJuK1dlMmskWi 5NxYHNbdLPNBB7za+2xatPjs7FyeZ0tMk72AXdqLX8bs4rNWujgVlofJsupaDWpgLH bEsWRqXjPDH/W5g4r2i61BVWIQt4j+9WARX7qMUZZOZ6X0LxRtwMdhdtwSxv1P4Ogm tgD32buIv845A== In-Reply-To: <831quoutim.fsf@gnu.org> Received-SPF: pass client-ip=178.21.23.139; envelope-from=akib@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" Xref: news.gmane.io gmane.emacs.devel:292130 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Stefan Monnier >> Cc: Po Lu , akib@disroot.org, emacs-devel@gnu.org, >> ibluefocus@outlook.com >> Date: Wed, 13 Jul 2022 21:55:16 -0400 >>=20 >> >> Someone might want a popup implemented as a child frame to extend past >> >> the bounds of the parent, for example. >> > Why would they want that? >>=20 >> I can imagine a situation where a tty frame is split into two windows >> and some company/corfu-style completion wants to popup a child-frame to >> show completion candidates (basically like a menu), and if the >> completion is near the split between the two windows, it would be >> natural for that child-frame to extend into the other window if that can >> make its contents more readable. It would even feel odd if that >> child-window were restricted to fit within its "parent" window. > > Such popups must be limited in their height anyway, so I see no > problem in limiting them to their parent frame. > > (I also don't think child frames are the right basis for implementing > such popups: they will look ugly. Emacs frames are not suited for > emulating GUI dialog widgets.) What? Completion popup is a misuse of child frame? Then what its supposed to do? > >> BTW We currently see "the same" with your menubar code in ttys, where the >> menus aren't restricted to live within one of the existing windows >> either, instead they're overlayed above the windows without regards for >> the existing window splits. > > But they never cross the frame's border, which is what this discussion > is about. More importantly, I very much doubt that we'd want the > child frames on TTYs to have the same limitations as TTY menus must > abide by. =2D-=20 Akib Azmain Turja This message is signed by me with my GnuPG key. It's fingerprint is: 7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmLPvWwACgkQVTX89U2I YWvIcA/7BeJq5v2l+DI81ayO8fj47UKEF9mRO41tQxV5TQvRJwqX3OV5eK3GD4Zi kx1BFLNoYAqN57xpcjTYejf5yp9ocq3z2sNY2BmRCbJMEFQ6DHtg5ao3MUiwAZUH x48arKc4vvZpVvP6kjxF14yqhqUfvzagm6BhscgNBAoDTpfobkjqi8GLIGcTdwik tqQOnpwraIGdqVGTafwiTWcgSi09NlAdj3rsD4EpgHmN1KNsiu9oTFARv7ph7842 DVumVapAyoG0ElSoKNkJbExvGsRlGL1qfZfB/MZleFWxq+QOMwpyUelV4aar67Bi 2Of2wp3nFxvhNTt4UYPZK2y9qZKm5rcgaaaailIOwXJdSCbMlo7X448QLX8gbiKs XezHdS/weNPvT0MwSx5loygiZEs3APXLbQiHK6Mt2WtJIWTQbse5lhPJGPcq/hFm +iDwrUt1oDZu1wRP/iA31wSZAD4yOab/ySFXCcswFMXjJ2Y0ZyiEx9E4QgC4MAsG M0KyboLzD+rdDgbPqA79R5vzDlNBPNxGeI64R9p05sekzf/QjCW/WJjx32IqHWhV SPjrHYxxUOpl2M1pa3DRTJo8ED/6eLG9MCY1gERgRAqX6mns69mYwU5OK3p3CgHv RxDAOGqUNiAOQYgg5qaJIWLiNFfFT3SyogjoYT4281gan3qFAhc= =vlqx -----END PGP SIGNATURE----- --=-=-=--