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: Re: src/nsterm.m: fix window tabbing on macOS Date: Sun, 6 Jun 2021 09:43:04 +0200 Message-ID: References: <39fa782b82e274d3e9c40e934df89d68@purelymail.com> <4cf0b73bcefc7d159881d368b3a4b7f5@purelymail.com> <14A97A03-E9F8-4B6D-8E58-D29CEFA7931C@bydasein.com> <5a9c34f8-fcc2-fb5d-f726-e1ce47621ed7@gmx.at> <114E217D-4B4F-45B4-964F-6C3F953971B7@bydasein.com> 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="10495"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Andrii Kolomoiets , emacs-devel@gnu.org To: "Paul W. Rankin" , Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 06 09:44:22 2021 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 1lpnSH-0002bA-L0 for ged-emacs-devel@m.gmane-mx.org; Sun, 06 Jun 2021 09:44:21 +0200 Original-Received: from localhost ([::1]:56630 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpnSG-0007oD-6Z for ged-emacs-devel@m.gmane-mx.org; Sun, 06 Jun 2021 03:44:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpnRH-00065b-PP for emacs-devel@gnu.org; Sun, 06 Jun 2021 03:43:22 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:41247) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpnRF-0002hX-EZ for emacs-devel@gnu.org; Sun, 06 Jun 2021 03:43:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1622965386; bh=uzn5w8LED5oZ2DKdv3oXhfYtgFDFJCI7BVNfJOrXln4=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=bB1LebXqvEddQ+YUWnK6HkYjp3mlJYjztPlcr5X5P1TQVmD50lYDZvhoVJGFVto07 D2IjKS51xfSN2FOQ+GV4lixHv82jGW+g+Oxb/QkYLOMKuyZc1DzJ9I5pp6EYoHYQiE 89vXCgIEVNDwKFKoNIP83V9hu/u74pCGAHKeA/v4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.100] ([46.125.249.84]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mof57-1l1YKB1oCH-00p3IA; Sun, 06 Jun 2021 09:43:06 +0200 In-Reply-To: <114E217D-4B4F-45B4-964F-6C3F953971B7@bydasein.com> Content-Language: en-US X-Provags-ID: V03:K1:0gVVrCtirNrxJJZNT3gtTnQi15Ks5u2+wPKSca8jtUrgR05daPE AjOwMMcUlQyE7bOqf3BsK65IAIPJfuho5Mi4imDn0MwH7m1pHQxqiA82JOkV1Gok1n+FhYN IbTP3L0o1pQ99bx2HzZ3hKzGiZpo8udRp74nMqxQaeFDALX6IWYRcNaGDzfMFz/CeLjdCeH sbAyFnihKfyPUrGyNMicQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:x110Al3g3tM=:gWzfPNx+KF7+PwYYPQSUjD RfEa/Kud2MjaJZekjnU8HsOemtPYYrHwonbPfK00GWKZFZUMp4r9igutTOUIoq15FwVhnAW/8 BLShZi9GPLMZqusr5sNT03CAjrYmT8VfBOfV65HQEVJjGfhB4IHpNDpWcugwsf23hRnE8czqd L5duagK+FE4kh8FKnbPYxNOu8VGq9ecZSdhuXxpXpPEuLP5HxSWrcTebtyD9Z9Su6swcHXPRL UTvTdaODrLSc33NSpEsniQR79bb+wSRpsA4fDPmftU0WH3tNOqFFsfebgnGWkM+U7rP19MWbA jBHDcL317pV3zSbYrrf+78zUVDkcoGB0qlZsZy4WJClr0gRoQ//JY9Is5AANubQaS/aI892JR 4uF188tzKpMrgSmu0rprucMtyp9695CJmVIRwb9PBI3AJBufGKkCDNuTlGCzqaAZR3ykW0Ch2 E92nZpQIyiXE8/vM2s1sV0JN/ya3kbbkLtriPzRtLsJ9KCJXm2iAQlUtufNVrNxY7+gmEMQuQ h/By+3nTftqTIG5dI/55Mf9XAMTu6Sq/ZwvSh0XwmbFrcnY+nBIPd4iKtpfEaOUoDB2Ra3Gee zyKGFipYNoAmVCeT88twtTRTwrPtzhux7BF0jWvXSxMe9x/zSvBCoqSeT4N7gh8SCiX7AubiC eSZCvGiYPkpiAW8yjtsUNR2Em0Ob8+wFf6BMPoTQrYlVoVFPXrQBwbHY0LsQ7cGvWFYHSm7BN vAbtHeSEW+YJEIPlksC6C6XdsrSrCJFPpz/S6JNlBlTbpIBge/acEz6PGH/tV8ZDYo0T6nLJ Received-SPF: pass client-ip=212.227.17.21; envelope-from=rudalics@gmx.at; helo=mout.gmx.net X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_SORBS_WEB=1.5, 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.23 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:270468 Archived-At: > Fwiw, most native macOS app windows can show/hide their toolbar, and > when they do this, the window itself maintains overall size. However > in Emacs when toggling tool-bar-mode the window grows/shrinks in > overall size (i.e. maintains window lines). > > So I guess one of the questions here is whether to do these height > calculation to maintain overall window size (and thus consistency with > the OS) or to maintain visible window lines. The value of `frame-inhibit-implied-resize' should answer that question. martin