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: Proposing changes to adjust_frame_size Date: Sun, 16 May 2021 11:14:06 +0200 Message-ID: <509733f2-363a-e73c-522d-f2559914f022@gmx.at> References: <69a5e928-2998-f776-fa0d-f35e6ab1e65d@gmx.at> <0633b8ac-de8e-b57a-f3f4-804c5efb009a@gmx.at> <874kfdtj5l.fsf@gnu.org> <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> 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="25284"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Garjola Dindi , emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 16 11:15:35 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 1liCs3-0006UD-Oe for ged-emacs-devel@m.gmane-mx.org; Sun, 16 May 2021 11:15:35 +0200 Original-Received: from localhost ([::1]:44146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liCs2-0000YH-QK for ged-emacs-devel@m.gmane-mx.org; Sun, 16 May 2021 05:15:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liCqj-0008I5-FA for emacs-devel@gnu.org; Sun, 16 May 2021 05:14:13 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:34093) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liCqg-0002fI-1M; Sun, 16 May 2021 05:14:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1621156447; bh=w6ymig66iEMF6HTq37R80nZGbM39LhX0IQtGPbKhN2Q=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=lsGJoL7ydbVSQJTUjgsEvpYibifn2avxdB4OVEFJl4vfMj1LQzeHBpsm7tEDMZDA/ 4l7tq6AVq3AGVzjvwmUUJZCEXcWRdz4oKh5OAKqzPjJsbRL6mrsmdZIY55uqJ+HxL/ /RjQV/8hE4sG0Cvd5zj+L3hI9VvUR7naurHLRtAE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.100] ([212.95.5.102]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mof9F-1l6wI20d4b-00p5Yy; Sun, 16 May 2021 11:14:07 +0200 In-Reply-To: <87bl9b5ach.fsf@gnu.org> Content-Language: en-US X-Provags-ID: V03:K1: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cR4HOiMB3W9i0 Received-SPF: pass client-ip=212.227.17.22; envelope-from=rudalics@gmx.at; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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-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:269337 Archived-At: >>>> 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? I really should try to ask questions in a less ambiguous way. >> 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. martin