GNU bug report logs - #76935
31.0.50; New frame ignores default-frame-alist

Previous Next

Package: emacs;

Reported by: Jens Lechtenboerger <lechten <at> wi.uni-muenster.de>

Date: Tue, 11 Mar 2025 09:14:01 UTC

Severity: normal

Found in version 31.0.50

Full log


Message #29 received at 76935 <at> debbugs.gnu.org (full text, mbox):

From: Jens Lechtenboerger <lechten <at> wi.uni-muenster.de>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Po Lu <luangruo <at> yahoo.com>, Eli Zaretskii <eliz <at> gnu.org>,
 76935 <at> debbugs.gnu.org
Subject: Re: bug#76935: 31.0.50; New frame ignores default-frame-alist
Date: Wed, 12 Mar 2025 17:38:10 +0100
On 2025-03-12, martin rudalics wrote:

>> Ah, yes, this seems to be Bug#73244.  In fact, the dimensions from
>> the doc string do not work:
>
> But that was about specifying the frame size in .Xresources and below
> you say that "the initial frame is of reasonable size".  Can you try
> setting the size in .Xresources?

Maybe I’m not doing that correctly but the following line in
~/.Xresources does not have an effect (xrdb -query shows the
setting, though; using “.” instead “*” does not work either): 
Emacs*geometry: 80x40+0+0

>> (defun resize-me (frame)
>>    (set-frame-size frame 80 55))
>>
>> (add-hook 'after-make-frame-functions 'resize-me)
>>
>> I still get small frames/windows.
>>
>> Using (set-frame-size frame 80 54) does work, though.
>
> Remarkable.  Can you try with a few other sizes?

Hmm.  I cannot reproduce the issue with “80 55” any longer.  Will
try again tomorrow.  If I find something interesting I will report
back.

> And what happens when you use the "54" in 'default-frame-alist'?

The new frame is still small.

>> Yes, the initial frame is of reasonable size.
>
> Can you move the 'default-frame-alist' setting to an early-init.el file
> to find out whether it affects the initial size then?

Yes, that changes the initial frame (but it also does so in
~/.emacs).  Subsequent frames are still small, though.

Best wishes,
Jens




This bug report was last modified 102 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.