emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proposing changes to adjust_frame_size


From: martin rudalics
Subject: Re: Proposing changes to adjust_frame_size
Date: Sun, 16 May 2021 11:14:06 +0200

>>>> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]