From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: Proposing changes to adjust_frame_size Date: Sun, 16 May 2021 11:16:49 +0200 Message-ID: <875yzj594l.fsf@gnu.org> References: <69a5e928-2998-f776-fa0d-f35e6ab1e65d@gmx.at> <37f3ce19-d858-111e-a5aa-06c24803e17b@gmx.at> <87v97tvt7e.fsf@gnu.org> <726883d4-8d13-a3cb-30b7-a74c4b44f8ed@gmx.at> <87a6p3iv9q.fsf@gnu.org> <48753133-11a3-a21f-a1f9-4e58508079ac@gmx.at> <36f3b7b6-b81c-2e89-99c8-0a8837ef7869@gmx.at> <874kfabe7j.fsf@gnu.org> <1de34884-dfa3-92ba-8c6d-d256dcbb5d2b@gmx.at> <871raebctt.fsf@gnu.org> <87sg2tr4u4.fsf@gnu.org> <54259dfb-3ca4-f3b0-8344-f3de5106d286@gmx.at> <875yzof0yi.fsf@gnu.org> <1787102b-e076-825d-4f47-44d3d15fbdba@gmx.at> <875yznkacy.fsf@gnu.org> <87y2cjm4ew.fsf@gnu.org> <65f5a80d-727e-1768-6814-d98a9c0f7f68@gmx.at> <87bl9b5ach.fsf@gnu.org> <509733f2-363a-e73c-522d-f2559914f022@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9852"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.13; emacs 28.0.50 Cc: Garjola Dindi , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 16 11:20:20 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 1liCwe-0002K2-Gr for ged-emacs-devel@m.gmane-mx.org; Sun, 16 May 2021 11:20:20 +0200 Original-Received: from localhost ([::1]:47774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liCwd-0003Jd-Hm for ged-emacs-devel@m.gmane-mx.org; Sun, 16 May 2021 05:20:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liCvX-00029N-Au for emacs-devel@gnu.org; Sun, 16 May 2021 05:19:11 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45486) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liCvW-0005Jd-Kz; Sun, 16 May 2021 05:19:10 -0400 Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:37833) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liCvV-0002bf-Ti; Sun, 16 May 2021 05:19:10 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id A297B27C0054; Sun, 16 May 2021 05:19:09 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 16 May 2021 05:19:09 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdeifedgudefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufffjgfkgggtsehttdertddtredtnecuhfhrohhmpefvrghsshhi lhhoucfjohhrnhcuoehtshguhhesghhnuhdrohhrgheqnecuggftrfgrthhtvghrnhepve evieekteekveeigfefffeivdetgeduvdffueeuudevgedttdehvdfhueevfffhnecukfhp peekjedrudeifedrfedurdduheegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepthhhohhrnhdomhgvshhmthhprghuthhhphgvrhhsohhnrghl ihhthidqkeeijeefkeejkeegqdeifeehvdelkedqthhsughhpeepghhnuhdrohhrghesfh grshhtmhgrihhlrdhfmh X-ME-Proxy: Original-Received: from thinkpad-t440p (p57a31f9a.dip0.t-ipconnect.de [87.163.31.154]) by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 16 May 2021 05:19:08 -0400 (EDT) In-reply-to: <509733f2-363a-e73c-522d-f2559914f022@gmx.at> 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:269339 Archived-At: martin rudalics writes: >>>>> Is this behavior new or did it already occur in Emacs 27? >>>> >>>> Yes, with my repro.el containing the `default-frame-alist' setting, >>>> the initial frame has a menubar (until resize/focus), and the new >>>> frame after C-x 5 2 has a scrollbar. >>> >>> And with Emacs 27 the initial frame did not have a menu bar initially >>> and the new frame after C-x 5 2 did not have a scroll bar initially. >>> Right? >> >> No, what I've written above as answer to your question was with emacs >> 27.2. > > So can I conclude that the bad behavior was already there with Emacs 27? Yes. > I really should try to ask questions in a less ambiguous way. Or just remember, when you ask, I'll answer immediately below to exactly that question. When I switch context, I'll make that clear. :-) >>> Did my latest commit (c18403302df3f07a7f94c3984d65b808fb40e8c1) in this >>> area change anything in this regard? >> >> Nope, "emacs -Q --load repro.el" (including `default-frame-alist' >> setting) still results in >> >> 1. initial frame has a menubar (fsh1.txt) >> 2. C-x 5 2 frame has a scrollbar (fsh2.txt) >> >> When commenting the `default-frame-alist' setting, all works as expected >> (fsh3.txt for the initial frame and fsh4.txt for the new one created by >> C-x 5 2). >> >> When comparing fsh1 vs. fsh3, and fsh2 vs. fsh4, one can see that the >> set_window_configuration calls are only there if `default-frame-alist' >> is set. > > Thanks, I have to study that now. Have fun (if possible). Bye, Tassilo