Received: (at 46178) by debbugs.gnu.org; 30 Jan 2021 15:27:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 30 10:27:21 2021 Received: from localhost ([127.0.0.1]:55551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1l5s9g-0002o6-TA for submit <at> debbugs.gnu.org; Sat, 30 Jan 2021 10:27:21 -0500 Received: from mout.gmx.net ([212.227.15.15]:52561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1l5s9d-0002nh-Se for 46178 <at> debbugs.gnu.org; Sat, 30 Jan 2021 10:27:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1612020432; bh=lMKOtXFPkeaHBJfQTpYRW1K7f1FOCbTdr4n9aKUFkHs=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=C/4AT/RlB3hWfFsJPeKJqtOQV7pNL9yUoxzxWsnOF8v1WaDlhzVtdUM/S/PgEgsos Xj/tZoCOqoC2c7pWjUzrYWZ/0kjLbNkoGOQEgAPL0+ngKUFzZIQgmvyde6BAWCGj+7 xrYTQwaIJdjaUX2ikteQjkSe/tZPlOyLSBzzGTkU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.100] ([212.95.5.247]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MTRMs-1lXGNY0RSu-00Tmy4; Sat, 30 Jan 2021 16:27:12 +0100 Subject: Re: bug#46178: 28.0.50; auto-resize-tool-bars / auto-resize-tab-bars grow-only To: Eli Zaretskii <eliz@HIDDEN> References: <7369c03a-2d74-11d2-d7f6-4aaf60c20874@HIDDEN> <83lfcby07x.fsf@HIDDEN> <68fa804b-27fc-2be8-c482-41728be3a8e3@HIDDEN> <83o8h68q5t.fsf@HIDDEN> From: martin rudalics <rudalics@HIDDEN> Message-ID: <e00c0cd1-7264-4ca4-46d6-49188f74898d@HIDDEN> Date: Sat, 30 Jan 2021 16:27:11 +0100 MIME-Version: 1.0 In-Reply-To: <83o8h68q5t.fsf@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:fesGdttF3nYLgJK6na72dwLZ2kQWFnOSjyuV0mwhBt2pEwgc6cX QdzoCtJxgEp9lMVoDBrRkUIO62GOXZIbj2AhMozWMDJxchXFuadYE6HcLkrqRSGjBGQpCJj ahP8yO0AoIFQ/ZppF987tikkXKvZehx+8mGcg158TZ2PbsVInhRJOnft3slg0aTgw5UI8E3 BSfINaUxls4ITyB/4z5NA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:5GICBFL+WVM=:Tqx+6o8cKan5kEQtq+3T34 GPi7gc7W/KGdUfldyXKEC2hSVfnGMt9qDP58iKQ6Pj7TDa/Ss1TmiyrNvjt7SY7EGrweTW7jf u6rt82IQv6DpwBC/1p0+53/loFelmcJomTr2mPYiOGx6FGy+5GTOw8a2iBCb4HB3XReO4eNGk 0bWBJPu7yrjhCsZUh9cH/P1s7+SwgfZirB9RqgAuU5d4Hhi79bAkT5Y4aBA4ojWzz3frQ2SIc TlsCQip69hC9ycYhXVKQWmv83YXHbo88WsFeCFgnhmKcA72MKVyKvWqMjpNN4JblBywNxffgl v2AxakLBTYKXtXCAjIabl6IIpCN9JSRVioRiCXjsaJxr/wnRH59EPNeo0fqZoVANVBZ+FOOei R5Fusmub172ZgLtZ8y8FkNS2tnOiDc1dJduN9URIkHQQOiFhaWRP3B6q98yFefIVn5c4foy/9 9y4nmrhnQTVCDPaFBuaANzXJCFpROT7FYg4cfOPQv1cGKag5TiM0MWtiT72RdIwMDzz2GMHSC ckuHZwJ9DJ7bBUAx/UM57Tidjp6fkvOSerZk1pMZm5R+OqPFLVEi2AcUU7P00lBZEBCP0yEJf L2P0C6mb9HscEY2VZK2Yc+lRhiOrPO+L7GJTNYz26mGcMmeukN6iv1iJR85SVXiraJr1cFMWt YOrwHB172AR2DuuUsDE6A3FFuPLAh2RHoepqNX/jVwmExIpeDt1qEZ/auZShXrvuZ7/EfnShD V/GX12WWkWvSFOcO7682418kBQw4aiH1XC70nnLwEKaM9qk62JBHgOYVTRslPjnB+5bF4FHgW GLXVJZn9ntirLe1c8yZaQ+RkIbhjLNRRaCHFSS57eBARGwKtR+TD82s72f2l7xzVHQbHnCCwf ifkdKneRLvJ9yyHqEqGw== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46178 Cc: 46178 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) >> That of 'recenter' does. But since these options do not work out of = the >> box (a user has to customize the option 'recenter-redisplay' too), it= >> would be useful if the docs of 'auto-resize-tool-bars' and >> 'auto-resize-tab-bars' told so. At the moment they just tell me to u= se >> M-x recenter or C-l. > > OK, I fixed that. Thanks. You won't believe it but yesterday this would have saved me half an hour poking around with this. Until then I didn't know that 'recenter' is now our moral equivalent of 'redisplay'. You might also reconsider the Elisp manual entry where it says If this variable is non-=E2=80=98nil=E2=80=99, the tool bar automat= ically resizes to show all defined tool bar items=E2=80=94but not larger than a qu= arter of the frame=E2=80=99s height. I've been digging through Gerd's and Kim's rewrites of 'redisplay_tool_bar' and nowhere found a reference to that "quarter". Did that ever work and when? >> We could stop mentioning 'grow-only' in the doc-strings and manuals a= nd >> leave it in as an undocumented feature. > > You know me: I'm uneasy about downgrading features just because they > are awkward or inconvenient to document. I stumbled across this feature because wrapping and unwrapping the tool bar on Motif by changing the frame width shrinks the frame height for inexplicable reasons until it is down to a few lines. Lucid and non-toolkit builds do not have this issue. Currently, I just try to understand the design considerations and whether they are responsible for the behavior I see. martin
bug-gnu-emacs@HIDDEN
:bug#46178
; Package emacs
.
Full text available.Received: (at 46178) by debbugs.gnu.org; 30 Jan 2021 14:17:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 30 09:17:36 2021 Received: from localhost ([127.0.0.1]:54191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1l5r4C-00071k-IU for submit <at> debbugs.gnu.org; Sat, 30 Jan 2021 09:17:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1l5r4B-00071Z-J5 for 46178 <at> debbugs.gnu.org; Sat, 30 Jan 2021 09:17:35 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44826) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1l5r46-00082M-AU; Sat, 30 Jan 2021 09:17:30 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1675 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1l5r45-0000Vc-Ms; Sat, 30 Jan 2021 09:17:30 -0500 Date: Sat, 30 Jan 2021 16:17:50 +0200 Message-Id: <83o8h68q5t.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: martin rudalics <rudalics@HIDDEN> In-Reply-To: <68fa804b-27fc-2be8-c482-41728be3a8e3@HIDDEN> (message from martin rudalics on Sat, 30 Jan 2021 11:18:09 +0100) Subject: Re: bug#46178: 28.0.50; auto-resize-tool-bars / auto-resize-tab-bars grow-only References: <7369c03a-2d74-11d2-d7f6-4aaf60c20874@HIDDEN> <83lfcby07x.fsf@HIDDEN> <68fa804b-27fc-2be8-c482-41728be3a8e3@HIDDEN> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46178 Cc: 46178 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) > Cc: 46178 <at> debbugs.gnu.org > From: martin rudalics <rudalics@HIDDEN> > Date: Sat, 30 Jan 2021 11:18:09 +0100 > > >> So we'd have to mention in the docs of this option that one can regain > >> these lines only by setting 'recenter-redisplay' to anything but the > >> default. > > > > The doc string already says that. > > That of 'recenter' does. But since these options do not work out of the > box (a user has to customize the option 'recenter-redisplay' too), it > would be useful if the docs of 'auto-resize-tool-bars' and > 'auto-resize-tab-bars' told so. At the moment they just tell me to use > M-x recenter or C-l. OK, I fixed that. > Also, the doc string of 'recenter' does not mention the tab bar and > its Elisp manual entry mentions neither the tab nor the tool bar. Not sure why that is a problem. We don't have to have everything mentioned in every possible place. > >> Better IMHO would be to abolish the never used and completely > >> useless 'grow-only' value for these options. > > > > That's a separate issue. > > We could stop mentioning 'grow-only' in the doc-strings and manuals and > leave it in as an undocumented feature. You know me: I'm uneasy about downgrading features just because they are awkward or inconvenient to document.
bug-gnu-emacs@HIDDEN
:bug#46178
; Package emacs
.
Full text available.Received: (at 46178) by debbugs.gnu.org; 30 Jan 2021 10:18:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 30 05:18:24 2021 Received: from localhost ([127.0.0.1]:53716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1l5nKh-00056Q-8h for submit <at> debbugs.gnu.org; Sat, 30 Jan 2021 05:18:24 -0500 Received: from mout.gmx.net ([212.227.17.22]:60941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1l5nKe-00056B-Ho for 46178 <at> debbugs.gnu.org; Sat, 30 Jan 2021 05:18:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1612001894; bh=03b+tD4Y5EoZIyGCCmKApCnGla3N1OxnnyQeZ5Ymk0U=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=lZTJtAY9abO8QABIs3SfCydm0oHk9S+wWOWDic9NbSZVAD5zRdJsBBJpbCoTPzW5y f3ULQaXAQxJ65JYvcIcj4PQ0OVWMea+eI3hlaPbKED79zibDVdWpsuMQ+Ibn+al12D 8XmDG5baIDT2vSC8qnFFy7Xki6bOc4ldEmWf9Muk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.100] ([212.95.5.247]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M1ps8-1l80Fx3e6C-002EjN; Sat, 30 Jan 2021 11:18:13 +0100 Subject: Re: bug#46178: 28.0.50; auto-resize-tool-bars / auto-resize-tab-bars grow-only To: Eli Zaretskii <eliz@HIDDEN> References: <7369c03a-2d74-11d2-d7f6-4aaf60c20874@HIDDEN> <83lfcby07x.fsf@HIDDEN> From: martin rudalics <rudalics@HIDDEN> Message-ID: <68fa804b-27fc-2be8-c482-41728be3a8e3@HIDDEN> Date: Sat, 30 Jan 2021 11:18:09 +0100 MIME-Version: 1.0 In-Reply-To: <83lfcby07x.fsf@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:J5kUhmTTOIK4RGGTtjM644PpT2wZXOCR5V5jftFuTuHtPpQpj3d 5fJRTBUcE1Jx/XmZz0gkchFgeK6tch3JryOJIhXu91ymJpM8VYlpFqu0qsoGQMK2PCV7xmb +yYFkqX7cWfYBZ4h2gNk/hZFz7/XAjSh99vEgJ6Rj8eCgJUBT9ZfefYVo5lhmoAbM+V1VOi cKvSycUJniETcOAGLokag== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:I3wPIL59Wg0=:vfbhVLX97wP2df6OjfL4X3 YS2aZ9a/4BqDOS+dUVMKhxOy/4ksPP5E4zCuaJgvIEJP/YGOnrhpq9nGWLjGjzRXl9ulEG8YC zXRnFVwgII5BD/yRvmKzKxzGHj3BqSsvng4+gSp5ceQ9wPcBXEov+L4LHejyI3r5w7T/lsqh8 gSvR4TKWmBSK4MTxMYkCesFA0eMXMJvFq+EaEWcF/ynt1C5RdgCS00m8xTWs0Um7MuTRRCm94 mW3B+W16ANKo6z9RmztvkG/PbG5dQl76JMAa7mm4NHQtE8TEhgX6lJeH4HDGSY7tMu0pj4VRi DkMvvl+JjSwufKPWDCB7UVx23Y6ihDC53b/MYZzU7Y1xer5czJBesTYrMLx9tMO7gcVevLqkK WQ8qUif0Tz8FTZggYogHQ9bs5PcrvIgGySpHgQa/xzlNtk/a+ZyM/LJ/JWLo6WjRBM+XDX1eD W+QHyKEKvinyTJDcnYdc23BsphNuPG0vpFd43OPNfKqICUilFVEvby38LzGvtvb/V77TnRxIP +2ZZibaf0o0mi2Sb3hk4clA2XpHKiAH1Js/VcljqtamQ10bkRaNYdcg5EBORaWiULMnMZ5Xsd pdevVna4GrlxzYmigYwCPF5kHE4k5ppcey8uFiXyV68jfJq+dfFTK6Udy1SqmYdbBIKflslZY RcukOnOoIGNCLDgYiPqbtbuQU1rWar66OahevhMe1G6UM8/xTJarVRMWTP53dB8f8ESeR1XqK TpOF7nRcq0KXVT+4kp+CnzvdKzcl09OKF64rjSunoJK2XsmPevlzbQ89K7xzX2TE6d+QAyONE WPkEDHhnLFrdDc8ptzU6loilXBlHMPSnbMU1IfXlddHHUvlnq30Wvw/XNwcI22N+IQmHzCkR+ u5Tn26BpRmmIhRrCr+VA== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46178 Cc: 46178 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) >> So we'd have to mention in the docs of this option that one can regain >> these lines only by setting 'recenter-redisplay' to anything but the >> default. > > The doc string already says that. That of 'recenter' does. But since these options do not work out of the box (a user has to customize the option 'recenter-redisplay' too), it would be useful if the docs of 'auto-resize-tool-bars' and 'auto-resize-tab-bars' told so. At the moment they just tell me to use M-x recenter or C-l. Also, the doc string of 'recenter' does not mention the tab bar and its Elisp manual entry mentions neither the tab nor the tool bar. >> Better IMHO would be to abolish the never used and completely >> useless 'grow-only' value for these options. > > That's a separate issue. We could stop mentioning 'grow-only' in the doc-strings and manuals and leave it in as an undocumented feature. martin
bug-gnu-emacs@HIDDEN
:bug#46178
; Package emacs
.
Full text available.Received: (at 46178) by debbugs.gnu.org; 29 Jan 2021 20:08:59 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 29 15:08:59 2021 Received: from localhost ([127.0.0.1]:53015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1l5a4g-000061-U6 for submit <at> debbugs.gnu.org; Fri, 29 Jan 2021 15:08:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1l5a4d-00005n-Kf for 46178 <at> debbugs.gnu.org; Fri, 29 Jan 2021 15:08:57 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57894) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1l5a4X-00078C-Nt; Fri, 29 Jan 2021 15:08:49 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2307 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1l5a4W-0000dA-PS; Fri, 29 Jan 2021 15:08:49 -0500 Date: Fri, 29 Jan 2021 22:09:06 +0200 Message-Id: <83lfcby07x.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: martin rudalics <rudalics@HIDDEN> In-Reply-To: <7369c03a-2d74-11d2-d7f6-4aaf60c20874@HIDDEN> (message from martin rudalics on Fri, 29 Jan 2021 19:12:02 +0100) Subject: Re: bug#46178: 28.0.50; auto-resize-tool-bars / auto-resize-tab-bars grow-only References: <7369c03a-2d74-11d2-d7f6-4aaf60c20874@HIDDEN> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46178 Cc: 46178 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) > From: martin rudalics <rudalics@HIDDEN> > Date: Fri, 29 Jan 2021 19:12:02 +0100 > > So we'd have to mention in the docs of this option that one can regain > these lines only by setting 'recenter-redisplay' to anything but the > default. The doc string already says that. > Better IMHO would be to abolish the never used and completely > useless 'grow-only' value for these options. That's a separate issue.
bug-gnu-emacs@HIDDEN
:bug#46178
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 29 Jan 2021 18:12:18 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 29 13:12:18 2021 Received: from localhost ([127.0.0.1]:52920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1l5YFk-0005cb-SO for submit <at> debbugs.gnu.org; Fri, 29 Jan 2021 13:12:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:58732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1l5YFi-0005cQ-Kp for submit <at> debbugs.gnu.org; Fri, 29 Jan 2021 13:12:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <rudalics@HIDDEN>) id 1l5YFi-0006YJ-Fp for bug-gnu-emacs@HIDDEN; Fri, 29 Jan 2021 13:12:14 -0500 Received: from mout.gmx.net ([212.227.17.20]:42575) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <rudalics@HIDDEN>) id 1l5YFc-0006kg-E5 for bug-gnu-emacs@HIDDEN; Fri, 29 Jan 2021 13:12:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1611943924; bh=ftcfqNWdVlfO+mIho7tRaChRLY363XkhpuAV21lVAO8=; h=X-UI-Sender-Class:To:From:Subject:Date; b=WrtEZltC7bGffYeOnTUaUkjtiLvBTBtW2rGx8y0lS9Rylcx9+XnILAvlJfdyBsAIN EwCW5MUd6o+8PwfbFwy2SQw3YKGQRoxL1H47TYo8YPsG1d37p5nd3YNvUqHaaGWk4r iUgxqVjUFNgZ2fYfdMd+3wbOKdC/djXtW8dOiUBg= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.100] ([212.95.5.98]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N79yG-1m1xDb3FWO-017Wci for <bug-gnu-emacs@HIDDEN>; Fri, 29 Jan 2021 19:12:03 +0100 To: Bug-Gnu-Emacs <bug-gnu-emacs@HIDDEN> From: martin rudalics <rudalics@HIDDEN> Subject: 28.0.50; auto-resize-tool-bars / auto-resize-tab-bars grow-only Message-ID: <7369c03a-2d74-11d2-d7f6-4aaf60c20874@HIDDEN> Date: Fri, 29 Jan 2021 19:12:02 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:sd2QkRnzPJndeXpoLySGGVUrVYBiw5o7VSoZk9U1mNJaHrv9Z/J XX5BJVyEdceCAy54GGvaeNzZt/0nJhnMocuHDuK7YQpnkS2Fe80xZk8fygqmvaLGpAA49Ps Xgf7AeE8SeEiz7euqwJ5umcUJJV7Op1/3NfLoWrPS0sAHosk9iZc2g0a/bmdz650Y7iDUzL ldZ52JaIwlf864tfuGPZA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:wOSE5z14n94=:SW+WCDRPxdATtRBOdWngQy utjxIsxhZPBXaWMUogMekMje/HIbdlQAfujjsSK+AkaOTHHOScj2aiGZHii+GmBQ/RibGarTY up/eSRKyvMzI5u2GuUNp+7KYqs9YWKkp7TAyOoIzBl/+UCgXx1z/wwZXnyGQjJoX1A5ncB8Vq 2k11/ZPEvXTldw3MIdKJHFf8Qwu4aA1MAo89YZvOiQTX0eN7N/DC/bQhVklXytymLKdxyxcEe KvqLW/VPdnq0oG76U7IwPMQ3SiDJEKmLpj798+OBh5SWuSr1mx38oBIVyQxrD+W4ldnlpYFId OzNvkmWIl6rYs30K2/rujUFnvU1RFTnyJXmPTLdEM19iQuKd1UgglgjAQ7gbOGoeex2VEiXw6 pTBQemI0JxH7zwjCfUl44K4NIALoZFEjSeJxpDfrnbG/3WSgGvVcMhab+4xrfms84x/WTOcDF MuipiG1R2K9bkoZoFWDq2QyMsE8WbHOmRtUqqi/QLNPTuhEtVnhEcQSi6VdD0XOrJsm5pOsBb 18T1PqGKlERD0aeqRM2NftE3IgftMB48/T1goUcB0RQNpaHIu6Dfzzq6bOWG7Cj3JvKZIBFUC ZCOru3WbBrKUxKHoMdLnZYZLmwrTWn9pEjrwGdBdDhmNww/ALaPak/r6zKlJj4XJq+OA+q6wq Cu7Yhd1WwyvDkycXG99CgGdjozeLew5m9r3xoYXOCvWm86wG40PrFYcdxo8wzboW4Gjh7ohry rQ3mztuIFMLRAlxsgh6RfGpAAVjW6KCMu9inL2VhdEzUajG9TA+eTOahMklvOGXbEBuhU1dYt twaVpdqiZ6+BPfH10BcWv8FagaUhntsOu4Y640Vxk88VfqnzVV9ljY54M36pmnHzp7kqk2MQF S/f0bJ4XlUJ6P3xJnajg== Received-SPF: pass client-ip=212.227.17.20; envelope-from=rudalics@HIDDEN; helo=mout.gmx.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) With emacs -Q run a graphical build with a tab bar or an internal tool bar (motif, lucid, no toolkit have the latter). Do (setq auto-resize-tab-bars 'grow-only) and/or (setq auto-resize-tool-bars 'grow-only) Now make the frame very narrow so the tool and/or tab bar wrap(s) around. Expand the frame again, so the items on the bar(s) occupy one line only. You will see empty lines below the lines showing the items. According to the doc-strings of the above options and the Elisp manual you should now be able to use 'recenter' to get rid of these empty lines: If value is =E2=80=98grow-only=E2=80=99, the tab-bar=E2=80=99s height = is only increased automatically; to decrease the tab-bar height, use M-x recenter. However, this doesn't work by default since in the following part of 'recenter' if (!NILP (redisplay) && !NILP (Vrecenter_redisplay) && (!EQ (Vrecenter_redisplay, Qtty) || !NILP (Ftty_type (selected_frame)))) { ptrdiff_t i; /* Invalidate pixel data calculated for all compositions. */ for (i =3D 0; i < n_compositions; i++) composition_table[i]->font =3D NULL; #if defined (HAVE_WINDOW_SYSTEM) WINDOW_XFRAME (w)->minimize_tab_bar_window_p =3D 1; #endif #if defined (HAVE_WINDOW_SYSTEM) && ! defined (HAVE_EXT_TOOL_BAR) WINDOW_XFRAME (w)->minimize_tool_bar_window_p =3D 1; #endif Fredraw_frame (WINDOW_FRAME (w)); SET_FRAME_GARBAGED (WINDOW_XFRAME (w)); Vrecenter_redisplay is by default 'tty' and Ftty_type (selected_frame) is nil, so the conjunct never becomes true and minimize_tab_bar_window_p is never set to 1. So we'd have to mention in the docs of this option that one can regain these lines only by setting 'recenter-redisplay' to anything but the default. Better IMHO would be to abolish the never used and completely useless 'grow-only' value for these options. martin
martin rudalics <rudalics@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#46178
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.