GNU bug report logs - #64809
29.1; Initial frame is wrong size when dimensions specified in init file

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: David Fiander <david@HIDDEN>; merged with #64812; dated Sun, 23 Jul 2023 20:04:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Merged 64809 64812. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 64809 <at> debbugs.gnu.org:


Received: (at 64809) by debbugs.gnu.org; 24 Jul 2023 11:27:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 24 07:27:29 2023
Received: from localhost ([127.0.0.1]:41914 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qNtiq-0005FR-Pb
	for submit <at> debbugs.gnu.org; Mon, 24 Jul 2023 07:27:29 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:33078)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qNtie-0005F4-Il
 for 64809 <at> debbugs.gnu.org; Mon, 24 Jul 2023 07:27:27 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qNtiZ-0001nr-4y; Mon, 24 Jul 2023 07:27:11 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=ebo/ZijozSPQ2yxi/MvTUA5d414dAa3DSxNulpS9cOg=; b=hrCudBG2EErc
 3F4pucHSBAApznO+nmD4h8fdHSb7acYDx8jNxblbedWS+mDKrPaLsJmat7AEm+pF8ZpU1Mr8URq1F
 4A6bGt0afu4azjhtaSpKvvXe5dW/9V7uFTXyVyBRJDTqRmnYcOg68LTHVuBsEHbgXo7EbbBHpkAZd
 CSpYwwip/q11b0aVwsa2MsWxp0SB4JHDeV6FnQ8IC4BkqZrq8kB04q/7hK4/e+ycywhfZu2RhImJi
 APOaO/HHRI17am8koUa9fU24o8UarZGYsz47Ewm5b55/B/jjkYqL3VgfnH05Fp59nv+AMjIBFMr+/
 UVxtqcO3LRc5Ad6fZLwD4w==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qNtiY-0001M9-Jx; Mon, 24 Jul 2023 07:27:10 -0400
Date: Mon, 24 Jul 2023 14:27:53 +0300
Message-Id: <831qgxtupy.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: David Fiander <david@HIDDEN>, Po Lu <luangruo@HIDDEN>
In-Reply-To: <9feef303-394a-137f-5a7e-63e9c15f4b51@HIDDEN> (message from
 David Fiander on Sun, 23 Jul 2023 15:02:45 -0500)
Subject: Re: bug#64809: 29.1;
 Initial frame is wrong size when dimensions specified in init file
References: <9feef303-394a-137f-5a7e-63e9c15f4b51@HIDDEN>
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 64809
Cc: 64809 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Sun, 23 Jul 2023 15:02:45 -0500
> From: David Fiander <david@HIDDEN>
> 
> Using the below init file, and running emacs from the command line, the
> initial frame seems to appear with the correct size but then shrinks
> down.

Shrinks down to what size?

> The frame created by pressing C-x 5 2 is the correct size.
> 
> ;;; -*- lexical-binding: t; coding: utf-8; -*-
> 
> (set-face-attribute 'default nil :family "Noto Sans Mono" :weight 
> 'regular :height 160)
> 
> ;; (set-frame-height nil 26)
> ;; (set-frame-width nil 90)
> ;; (push '(height . 26) default-frame-alist)
> ;; (push '(width . 90) default-frame-alist)

Po Lu, any ideas?

Did we change anything in this regard since Emacs 28?

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#64809; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 23 Jul 2023 20:03:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 23 16:03:14 2023
Received: from localhost ([127.0.0.1]:41276 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qNfIQ-0005r0-27
	for submit <at> debbugs.gnu.org; Sun, 23 Jul 2023 16:03:14 -0400
Received: from lists.gnu.org ([2001:470:142::17]:52350)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <david@HIDDEN>) id 1qNfIN-0005qk-Ip
 for submit <at> debbugs.gnu.org; Sun, 23 Jul 2023 16:03:12 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <david@HIDDEN>)
 id 1qNfI5-0008Ql-0Q
 for bug-gnu-emacs@HIDDEN; Sun, 23 Jul 2023 16:03:00 -0400
Received: from out3-smtp.messagingengine.com ([66.111.4.27])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <david@HIDDEN>)
 id 1qNfI1-00056c-TB
 for bug-gnu-emacs@HIDDEN; Sun, 23 Jul 2023 16:02:52 -0400
Received: from compute6.internal (compute6.nyi.internal [10.202.2.47])
 by mailout.nyi.internal (Postfix) with ESMTP id 37CB95C0063
 for <bug-gnu-emacs@HIDDEN>; Sun, 23 Jul 2023 16:02:46 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute6.internal (MEProxy); Sun, 23 Jul 2023 16:02:46 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fiander.info; h=
 cc:content-transfer-encoding:content-type:content-type:date:date
 :from:from:in-reply-to:message-id:mime-version:reply-to:sender
 :subject:subject:to:to; s=fm3; t=1690142566; x=1690228966; bh=3S
 r/EP2972ltQwZXPRFFFF6OyHAT04+5Ez3n6QfWDQY=; b=mAYMgFHiBrJ9a0Dtz/
 YsaBA8tbJTILXY0aIb2M+/p5cFAE3LRgKsP3x3oz8WlWlJgIrMP7HbutOAHUQ3Hh
 M5qm1c9l3xdOGUzlrdq3/ghybOL7IL0MajBrl+RiJB4vrc5uGYiqnI4T2XTPf4D0
 g5BDw5hzuOmrKh3B9cCUOl0EfpM9L1xI9UHhqVX/aWniuJunhHKdP1tCJG5idtAd
 kNId1aeOZ0moZ0lTTlWVHr/Bv9/8s6/MbGA+Tld2XRq+wQ3pl8S9a6ie/oUfBRaM
 UyUDpvWrGwYm9WCS6Jn3QKfxJTFxSJPlawuWENbQMfpIBRVT01okqNXzXvUYARf8
 a3eA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :content-type:date:date:feedback-id:feedback-id:from:from
 :in-reply-to:message-id:mime-version:reply-to:sender:subject
 :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm3; t=1690142566; x=1690228966; bh=3Sr/EP2972ltQ
 wZXPRFFFF6OyHAT04+5Ez3n6QfWDQY=; b=0oWNIoZaZaCb9wsxvX8eXqwuENu6V
 Fz8iIyO4P6QKfXNX/1rICCV7lhGml1B4Gz5iYzFXFx56L20S5RVCLtlwJJS1yVkq
 Dl1jUNjDX7p1Eo2/ZubxjgZFX336Y3XC8HmB6lkhjj6BYS/fQz2OBG4NFNg9dY4W
 04a1pydT6yfCBcEJ2Qd6D8Kj4YWvG+gntHNaKTsfCOxviyIoznTVI8eBGojh81A+
 33gkCw7wD2rUhaRbGsvLfMULvxgBOAp2Ex8pvyHUTQhRuu+NSMYnHfwwJDf3dHT5
 pr4WcXIOebEud1pxS5LPmAuCCHoz5IX4CyH55EYX+h9YDZr0fxb6b3aaA==
X-ME-Sender: <xms:Zoe9ZDLy3-9cdexFZnszJH8clGHIaJ-KIElg9Frqed70kr6ZPex0Sw>
 <xme:Zoe9ZHInAUDkq9DsrgnVUmQOfitEgetSAmzQlJ4gUp2jqUDLOel1XVAnGLUI7Fle2
 Mzm8gw2Jis6>
X-ME-Received: <xmr:Zoe9ZLuPZnqGeVNE0Rez79JnyLxBP8FxaSZpeOLKJFD5wZJAGcHnBgUeZr1zAAGdwZvU>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrheeigddugeefucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfvuffhtgfgsehtjeertd
 dtfeejnecuhfhrohhmpeffrghvihguucfhihgrnhguvghruceouggrvhhiugesfhhirghn
 uggvrhdrihhnfhhoqeenucggtffrrghtthgvrhhnpeeltdetveeigfeludefuedvheffud
 eigedtkedvuefhveehtdeufeefhfejfeetteenucffohhmrghinhepfhhirghnuggvrhdr
 ihhnfhhonecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh
 epuggrvhhiugesfhhirghnuggvrhdrihhnfhho
X-ME-Proxy: <xmx:Zoe9ZMagFDINpYIZEF_BVX4OfQut19e7MwYxJ4AJXf6RjO1DfyzxSA>
 <xmx:Zoe9ZKYcBgI5i7Phg7s2AJB0wAL3vs_3hYFMOIXZrPLeWMF_zol3Hg>
 <xmx:Zoe9ZADzRTiKuuzTgfBZ6kaTQQNpKBXgJQH-wXRfZDz0-Zfn_wu4LA>
 <xmx:Zoe9ZI0W5OiS-ZwRNyOtrc7tLAYcorERZ7HgZT6wAVVWF-m6zSXS-w>
Feedback-ID: i8ba141ac:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
 <bug-gnu-emacs@HIDDEN>; Sun, 23 Jul 2023 16:02:45 -0400 (EDT)
Message-ID: <9feef303-394a-137f-5a7e-63e9c15f4b51@HIDDEN>
Date: Sun, 23 Jul 2023 15:02:45 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101
 Thunderbird/102.13.0
To: bug-gnu-emacs@HIDDEN
Subject: 29.1; Initial frame is wrong size when dimensions specified in init
 file
Content-Language: en-US
From: David Fiander <david@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=66.111.4.27; envelope-from=david@HIDDEN;
 helo=out3-smtp.messagingengine.com
X-Spam_score_int: -37
X-Spam_score: -3.8
X-Spam_bar: ---
X-Spam_report: (-3.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.6 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.4 (/)

Using the below init file, and running emacs from the command line, the
initial frame seems to appear with the correct size but then shrinks
down. The frame created by pressing C-x 5 2 is the correct size.

;;; -*- lexical-binding: t; coding: utf-8; -*-

(set-face-attribute 'default nil :family "Noto Sans Mono" :weight 
'regular :height 160)

;; (set-frame-height nil 26)
;; (set-frame-width nil 90)
;; (push '(height . 26) default-frame-alist)
;; (push '(width . 90) default-frame-alist)



In GNU Emacs 29.1 (build 1, x86_64-unknown-freebsd13.2, GTK+ Version
  3.24.34, cairo version 1.17.4) of 2023-07-23 built on
  shawinigan.l.fiander.info
Windowing system distributor 'The X.Org Foundation', version 11.0.12101008
System Description: 13.2-RELEASE-p1

Configured using:
  'configure --with-xwidgets'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LCMS2 LIBXML2 MODULES NOTIFY KQUEUE PDUMPER PNG RSVG SOUND SQLITE3
THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM XWIDGETS
GTK3 ZLIB

Important settings:
   value of $LANG: en_CA.UTF-8
   locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
   tooltip-mode: t
   global-eldoc-mode: t
   eldoc-mode: t
   show-paren-mode: t
   electric-indent-mode: t
   mouse-wheel-mode: t
   tool-bar-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   line-number-mode: t
   indent-tabs-mode: t
   transient-mark-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t

Load-path shadows:
/home/david/.config/emacs/elpa/transient-20230602.2121/transient hides 
/usr/local/share/emacs/29.1/lisp/transient

Features:
(shadow sort mail-extr emacsbug message yank-media puny dired
dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config
gnus-util text-property-search mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils time-date tex-site pcase
slime-autoloads info package browse-url url url-proxy url-privacy
url-expand url-methods url-history url-cookie generate-lisp-file
url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq
eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv
bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip
cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads xwidget-internal dbusbind
kqueue lcms2 dynamic-setting system-font-setting font-render-setting
cairo move-toolbar gtk x-toolkit xinput2 x multi-tty
make-network-process emacs)

Memory information:
((conses 16 69368 9195)
  (symbols 48 8126 0)
  (strings 32 24572 1933)
  (string-bytes 1 797086)
  (vectors 16 16446)
  (vector-slots 8 246591 10008)
  (floats 8 44 15)
  (intervals 56 227 0)
  (buffers 976 10))




Acknowledgement sent to David Fiander <david@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#64809; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 24 Jul 2023 11:30:02 UTC

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