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: Sat, 08 May 2021 16:03:23 +0200 Message-ID: <874kfdtj5l.fsf@gnu.org> References: <69a5e928-2998-f776-fa0d-f35e6ab1e65d@gmx.at> <20210505.194756.2198057137743556501.masm@luna.pink.masm11.me> <20210505.230733.1330791046879877132.masm@luna.pink.masm11.me> <87a6p9knr9.fsf@gnu.org> <9712b3f0-c442-61fc-93a6-773ffcde1c2e@gmx.at> <87y2cswam6.fsf@gnu.org> <1b11ac72-6687-f2d4-1d9f-0619d6d2462c@gmx.at> <87v97ww8h4.fsf@gnu.org> <87eaa667-b3cd-0274-669c-3cb4e0076ce0@gmx.at> <87sg30vy7w.fsf@gnu.org> <87pmy3x620.fsf@gnu.org> <52a5361a-451e-7167-edfd-09066dfdcc3e@gmx.at> <875yzt907k.fsf@gnu.org> <0633b8ac-de8e-b57a-f3f4-804c5efb009a@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="30981"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.13; emacs 28.0.50 Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 08 16:06:56 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 1lfNbb-0007vw-6O for ged-emacs-devel@m.gmane-mx.org; Sat, 08 May 2021 16:06:55 +0200 Original-Received: from localhost ([::1]:49786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfNba-0001dL-1v for ged-emacs-devel@m.gmane-mx.org; Sat, 08 May 2021 10:06:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfNam-0000x8-3I for emacs-devel@gnu.org; Sat, 08 May 2021 10:06:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34498) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfNal-0003Oh-IX; Sat, 08 May 2021 10:06:03 -0400 Original-Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:46963) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfNal-0003eH-B5; Sat, 08 May 2021 10:06:03 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailauth.nyi.internal (Postfix) with ESMTP id 045B227C0054; Sat, 8 May 2021 10:06:02 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sat, 08 May 2021 10:06:02 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdeggedgjeeiucetufdoteggodetrfdotf 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; Sat, 8 May 2021 10:06:01 -0400 (EDT) In-reply-to: <0633b8ac-de8e-b57a-f3f4-804c5efb009a@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:269050 Archived-At: martin rudalics writes: > Can you please do the following: In frame.c change the initial value > of frame_size_history from Qnil to > > frame_size_history = list1 (make_fixnum (100)); > > recompile and then start emacs -Q. In the, hopefully useful, frame > you now have evaluate > > (frame--size-history) > > and post the contents of the buffer "*frame-size-history*" that > function should have produced. Here it is. What I did: 1. emacs -Q ;; frame with menubar but no toolbar 2. switch to the emacs frame, the toolbar appeared 3. evaluate (frame--size-history) in *scratch* --8<---------------cut here---------------start------------->8--- Frame size history of # x_create_frame_1 (5), TS=80x25~>640x525, NS=80x25~>656x525, IS=80x25~>656x525, MS=16x42 IH IV gui_figure_window_size (5), TS=640x525~>640x756, TC=80x25~>80x36, NS=656x525~>656x756, IS=656x525~>656x756, MS=16x42 IH IV scroll-bar-width (3), NS=656x756~>672x756, IS=656x756~>672x756, MS=80x105 scroll-bar-height (3), MS=80x105 menu-bar-lines (2), MS=80x105 x_create_frame_2 (0), MS=80x105 xg_frame_set_char_size, invisible, PS=672x756, XS=672x756, DS=672x756 xg_frame_set_char_size (5), MS=16x42 IH IV MapNotify, not hidden & not iconified, PS=672x756, DS=672x756 xg_frame_set_char_size, visible, PS=672x756, XS=672x756, DS=672x756 ConfigureNotify, PS=672x756, XS=672x756, DS=672x756 xg_frame_resized, unchanged, PS=672x756, XS=672x756 ConfigureNotify, PS=672x756, XS=789x845, DS=672x756 xg_frame_resized, changed, PS=672x756, XS=789x845 change_frame_size_1, delayed, PS=672x756, XS=789x845, DS=672x756 change_frame_size (5), TS=640x756~>757x845, TC=80x36~>94x40, NS=672x756~>789x845, IS=672x756~>789x845, MS=16x42 IH IV tool-bar-lines (2), MS=80x105 IH IV ConfigureNotify, PS=789x845, XS=789x804 xg_frame_resized, changed, PS=789x845, XS=789x804 change_frame_size_1, delayed, PS=789x845, XS=789x804 change_frame_size (5), TS=757x845~>757x804, TC=94x40~>94x38, NS=789x845~>789x804, IS=789x845~>789x804, MS=16x42 IH IV --8<---------------cut here---------------end--------------->8--- Bye, Tassilo