From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Is it possible let child-frame not hide the mode-line and minibuffer out Date: Sun, 04 Feb 2018 11:02:03 +0100 Message-ID: <5A76DA1B.3050103@gmx.at> References: <87po5ngz9x.fsf@163.com> <5A757B47.8020502@gmx.at> <874lmx321z.fsf@163.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1517738499 7089 195.159.176.226 (4 Feb 2018 10:01:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 4 Feb 2018 10:01:39 +0000 (UTC) Cc: Emacs-Devel To: Feng Shu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 04 11:01:34 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eiH6n-0000NX-EN for ged-emacs-devel@m.gmane.org; Sun, 04 Feb 2018 11:01:13 +0100 Original-Received: from localhost ([::1]:57154 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eiH8o-0001vj-Kj for ged-emacs-devel@m.gmane.org; Sun, 04 Feb 2018 05:03:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43746) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eiH7n-0001e8-Gw for emacs-devel@gnu.org; Sun, 04 Feb 2018 05:02:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eiH7j-0003Zf-Gt for emacs-devel@gnu.org; Sun, 04 Feb 2018 05:02:15 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:37667) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eiH7j-0003Z6-7F for emacs-devel@gnu.org; Sun, 04 Feb 2018 05:02:11 -0500 Original-Received: from [192.168.1.100] ([212.95.5.118]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M9wrU-1ebhYL2T3A-00B0S3; Sun, 04 Feb 2018 11:02:05 +0100 In-Reply-To: <874lmx321z.fsf@163.com> X-Provags-ID: V03:K0:HbjJdJDRboLIqD/Y6x2i0CaJnzKtBxanVSoO4OkhA24PT/A7WSh HLIz6LNviSxkQUIzCqIjL4epPevcZAQf6DCu/yigSpojMyS+1hfqk+M5IGf/yWydzQKX9E6 JQMyJuONjPnny/hEup7L0Xo4XpOr9TcQDTKKTvJQTXhxQH6B1MGHPs/IDcCZ4fWSSAnHBY8 zc1aRrvUf6drpdOmulfXA== X-UI-Out-Filterresults: notjunk:1;V01:K0:xYbEqYQDT5k=:lArFQD43m7lkzLft8fNyKe yxJDc27taVLuqNbfvKFxc6UU4U+OtUCDGQ56u0iLG68b0PiNRnzpUrYUnkPeaJ0fyvkiN/Lkq JlwUgNCD7JLfux5xB7r9eJoaq5lfgpj72qOvw8hHMlywXAAy7YyB1wUw5JXklAofNTw5lR4LK OBwyMuRFjcFlp/LNZZdGPSSIiqnWoId4iNcKk9IWPUgH/TD7i73jKsM5cVo1um3qp9U/ruezs lwjJjNV3b1/Dd/YgvWlaK41hEIlH+goTFVTuWGFI0ud4TBGs2Nsa7r3XblDJuafsNtKGxtwKj 6qGlo2wD/ZmbK/KX5pEr+URWqNGt6MrauPJ3/h3VaT6VpWzst2wcJrgnkIHPRbpwTteROkk17 s+Q8G3S5pXlWgyYbJAUi6mTL6iooK8QsRjfRECC3Bb2IDVPp8Sp+b2rzASIx63qGLKy2E1/mQ uoQ+bBpuIvEODPKntduCQKMm28+zhEi9vL+Op4NuUdFAV95ngVeJg6ESSSPgQCT5sMCpr33Cz jFecwrNEk/Le8yiiSwSfCHAXE4mx6vlbnXStpK2rRxv19/FD295hBscWbPrAb8hC3Oqn/PELJ ixp9/iGyDeDshVtmCLI0eMvwuHCIO3d0if6hF0rE36sTDLTfHk56yQ7bVon+pjKLEY6Abds6c MFoRoZkgrSTn00xmTDtOR4y8w7exOpVaXTUpL6212L8wvIqzqSKPsazSPOGEwwzWBKnel0eux kWOZOdXe+covbOd7LlqdCFMptK5kpj0HDA0H6zSiJCENx0VnVZKsT9qMHjksEjP68JN1ndc5 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:222497 Archived-At: > but I think the below result is more useful when I move a child-frame to > (0 . -1) We should not inhibit placement there just as we allow a frame to hide the taskbar of the window manager on the desktop. But we could provide a parameter for child frames that would, if set, accomplish that. Could you try coding such a thing? The value to be added in the y-direction should account for the internal border width of the frame, the height of the minibuffer, a vertical window divider and the height of the mode line if these are set. In the x-direction we then should probably avoid hiding the internal border as well. And we probably should disable the effect of this if it would cause the child frame to no more fit into its parent at the top or the right. martin