Subject: Re: bug#73244: Emacs29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41

From: "John Hurst" <[email-masked]>
Date: Sat, 26 Oct 2024 13:01:05 +1100

The two frame-size history files are

1) ---------------------------------------------------------------------
Frame size history of #<frame  *Minibuf-1* - GNU Emacs at newport 0x5a939cd6fe78>
x_create_frame_1 (5), TS=80x25~>800x525, NS=80x25~>816x525, IS=80x25~>816x525, MS=20x42 IH IV
gui_figure_window_size (5), TS=800x525~>1000x840, TC=80x25~>100x40, NS=816x525~>1016x840, IS=816x525~>1016x840, MS=20x42 IH IV
scroll-bar-width (3), NS=1016x840~>1032x840, IS=1016x840~>1032x840, MS=100x105
scroll-bar-height (3), MS=100x105
menu-bar-lines (2), MS=100x105
x_create_frame_2 (0), MS=100x105
xg_frame_set_char_size, invisible, PS=1032x840, XS=1032x840, DS=1032x840
xg_frame_set_char_size (5), MS=20x42 IH IV
x_make_frame_visible
MapNotify, not hidden & not iconified, PS=1032x840, DS=1032x840
ConfigureNotify, PS=1032x840, XS=1032x840, DS=1032x840
xg_frame_resized, unchanged, PS=1032x840, XS=1032x840
tool-bar-lines (2), MS=100x105
xg_frame_set_char_size, visible, PS=1032x840, XS=1032x840, DS=1032x840
ConfigureNotify, PS=1032x840, XS=1032x840, DS=1032x840
xg_frame_resized, unchanged, PS=1032x840, XS=1032x840
ConfigureNotify, PS=1032x840, XS=1920x977, DS=1032x840
xg_frame_resized, changed, PS=1032x840, XS=1920x977
change_frame_size_1, delayed, PS=1032x840, XS=1920x977, DS=1032x840
change_frame_size (5), TS=1000x840~>1888x977, TC=100x40~>188x46, NS=1032x840~>1920x977, IS=1032x840~>1920x977, MS=20x42 IH IV
set_window_configuration (4), MS=100x105 IH IV

2) -----------------------------------------------------------------------
Frame size history of #<frame  *Minibuf-1* - GNU Emacs at newport 0x5abd0a28b818>
x_create_frame_1 (5), TS=80x25~>800x525, NS=80x25~>816x525, IS=80x25~>816x525, MS=20x42 IH IV
gui_figure_window_size (5), TS=800x525~>1000x840, TC=80x25~>100x40, NS=816x525~>1016x840, IS=816x525~>1016x840, MS=20x42 IH IV
scroll-bar-width (3), NS=1016x840~>1032x840, IS=1016x840~>1032x840, MS=100x105
scroll-bar-height (3), MS=100x105
menu-bar-lines (2), MS=100x105
x_create_frame_2 (0), MS=100x105
xg_frame_set_char_size, invisible, PS=1032x840, XS=1032x840, DS=1032x840
xg_frame_set_char_size (5), MS=20x42 IH IV
x_make_frame_visible
MapNotify, not hidden & not iconified, PS=1032x840, DS=1032x840
ConfigureNotify, PS=1032x840, XS=200x175, DS=1032x840
xg_frame_resized, changed, PS=1032x840, XS=200x175
change_frame_size_1, delayed, PS=1032x840, XS=200x175, DS=1032x840
change_frame_size (5), TS=1000x840~>168x175, TC=100x40~>16x8, NS=1032x840~>200x175, IS=1032x840~>200x175, MS=20x42 IH IV
ConfigureNotify, PS=200x175, XS=192x168
xg_frame_resized, changed, PS=200x175, XS=192x168
change_frame_size_1, delayed, PS=200x175, XS=192x168
change_frame_size (5), TS=168x175~>160x168, NS=200x175~>192x168, IS=200x175~>192x168, MS=20x42 IH IV
tool-bar-lines (2), MS=100x105
xg_frame_set_char_size, visible, PS=192x168, XS=192x168
ConfigureNotify, PS=192x168, XS=192x168
xg_frame_resized, unchanged, PS=192x168, XS=192x168
ConfigureNotify, PS=192x168, XS=1920x977
xg_frame_resized, changed, PS=192x168, XS=1920x977
change_frame_size_1, delayed, PS=192x168, XS=1920x977
change_frame_size (5), TS=160x168~>1888x977, TC=16x8~>188x46, NS=192x168~>1920x977, IS=192x168~>1920x977, MS=20x42 IH IV
set_window_configuration (4), MS=100x105 IH IV
---------------------------------------------------------------------------

Now emacs still starts up with a small window (15x7), but it does seem to have read more of the .emacs file than before (perhaps all?).  But the GNU Emacs splash screen does not appear.

cheers,
-- John Hurst
--
-- ajh AT ajhurst DOT org                       ~ ~~~&#:
--  (mob 0407 569 292)              _..___  ---____@___H__
-- (local)  ajh.co                  |_____[_|_________[__]_
-- (global) ajhurst.org              oo oo  oo O--O--O o=o
--
-- Hurst's Third Law of telecommunications: 
--    ISPs are not as smart as spammers

On Wed, 23 Oct 2024, at 19:15, martin rudalics wrote:
>> I've added the buffer outputs that you request in the context below.
>  >
>  > They don't seem to be that informative?  Have I misinterpreted your 
> instructions?
>
> No.  I gave you silly instructions - emacs -Q ignores the early-init.el
> file as well.  So please do the following:
>
> (1) Rename your early-init.el file and your .emacs to something else.
>
> (2) Make an early-init.el file that contains
>
> (setq frame-size-history '(100))
> (defun resize-me (frame)
>     (set-frame-size frame 42 90))
>
> (3) Run emacs without the -Q option so it reads your early-init.el file
> and nothing else.
>
> (4) You should now see the splash screen.  Maximize the frame, switch to
> the *scratch* buffer and there do
>
> (progn
>      (frame--size-history)
>      (switch-to-buffer "*frame-size-history*"))
>
> (5) Copy the contents of the buffer *frame-size-history* so you can post
> them here.
>
> (6) In your early-init.el file remove everything but the
>
> (setq frame-size-history '(100))
>
> line.
>
> (7) Start emacs without the -Q option from the terminal window.
>
> (8) Repeat steps (4)-(5).
>
> (9) Re-rename your early-init.el and your .emacs files to what they were
> before step (1).  In particular, make sure that your early-init.el just
> contains the
>
> (setq byte-compile-warnings '(cl-functions))
>
> line you mentioned earlier.
>
> Thanks and sorry for the inconvenience, martin