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: Thu, 13 May 2021 09:55:16 +0200 Message-ID: References: <69a5e928-2998-f776-fa0d-f35e6ab1e65d@gmx.at> <87pmy3x620.fsf@gnu.org> <52a5361a-451e-7167-edfd-09066dfdcc3e@gmx.at> <875yzt907k.fsf@gnu.org> <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> 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="19871"; 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 Thu May 13 09:56:16 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 1lh6Cd-00053j-LD for ged-emacs-devel@m.gmane-mx.org; Thu, 13 May 2021 09:56:15 +0200 Original-Received: from localhost ([::1]:54996 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lh6Cc-0000A0-MH for ged-emacs-devel@m.gmane-mx.org; Thu, 13 May 2021 03:56:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lh6Bl-00074z-4W for emacs-devel@gnu.org; Thu, 13 May 2021 03:55:21 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:40935) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lh6Bj-00065P-6U; Thu, 13 May 2021 03:55:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620892517; bh=y0nPvPFkC8B0zXWSF7oi/t2PRUwxXR77Nauwl7ki1mc=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=kh1fYcGJak2bTTivgK8ktN+B83eN04uDCmmzi1AxfPH1CKmiulHALLlytlyAWL1jk ylE8v4U0pjQsy7NwLtCcJnbIJKDpedOVY5lUa+panAqFnzPX9Wu8U2LufIi8ChbMJ6 HTbb4BOsF5h/X401BDs035Y+DVm4oEvFD3geKZfk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.100] ([213.142.96.164]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MEm2D-1lk83a0euB-00GJsl; Thu, 13 May 2021 09:55:17 +0200 In-Reply-To: <875yznkacy.fsf@gnu.org> Content-Language: en-US X-Provags-ID: V03:K1:AnNcriZq/Qr8A/jedhPpH7nrbqYqNjg9lgkuAG1/6mZ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udalics@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:269233 Archived-At: > --8<---------------cut here---------------start------------->8--- > (tool-bar-mode -1) > (menu-bar-mode -1) > (when (fboundp 'scroll-bar-mode) > (scroll-bar-mode -1)) > (when (fboundp 'horizontal-scroll-bar-mode) > (horizontal-scroll-bar-mode -1)) > > (setq default-frame-alist '((width . 90) > (height . 50))) > --8<---------------cut here---------------end--------------->8--- > > With "emacs -Q --load repro.el" where repro.el contains just the above > listing, I get an initial frame with the usual annoyance (a menubar > which vanishes on focus/resize), and in addition C-x 5 2 gives me a new > frame which has a scrollbar which won't vanish except by M-x > scroll-bar-mode RET twice. (The first makes the scrollbars appear also > on the initial frame, the second turns it off in both frames). Can you reproduce any of these problems without the `default-frame-alist' setting? In either case, please do the frame_size_history = list1 (make_fixnum (100)); assignment and tell me what calling `frame--size-history' gives after the initial frame has appeared. After that do (setq frame-size-history '(100)) run C-x 5 2 and again post what `frame--size-history' returns. > Also interestingly, with just emacs -Q, C-x 5 2 exhibits the "toolbar is > missing in the new frame" issue. Again, I'd need to know what `frame--size-history' tells about this. Is this behavior new or did it already occur in Emacs 27? martin