From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: Problem with new frame not recognizing `default-frame-alist' width and height Date: Tue, 27 Feb 2024 09:14:20 +0100 Message-ID: <86v86ab9yb.fsf@p200300d627023ae90d6736c6a94e74f4.dip0.t-ipconnect.de> References: <87zfvmbnzi.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17300"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.12.0; emacs 29.2 Cc: help-gnu-emacs@gnu.org To: tpeplt Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 27 09:15:21 2024 Return-path: Envelope-to: geh-help-gnu-emacs@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 1rescR-0004GR-25 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 27 Feb 2024 09:15:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1resbk-0004iT-R9; Tue, 27 Feb 2024 03:14:36 -0500 Original-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 ) id 1resbi-0004i6-Uk for help-gnu-emacs@gnu.org; Tue, 27 Feb 2024 03:14:35 -0500 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1resbh-00019y-AF for help-gnu-emacs@gnu.org; Tue, 27 Feb 2024 03:14:34 -0500 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 9F9F65C009F; Tue, 27 Feb 2024 03:14:28 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 27 Feb 2024 03:14:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1709021668; x=1709108068; bh=hYZz5NAc/NTVIEmRw1I2TJX17K0tOgQDPC7XypdpePY=; b= DVXSo0M7pGRsGwena9uJBgkwQAB9/oybRM3BP2v8snSvswnSEvLNbFXM8rukKcxY JTgeHKEVMHKnv4ZOtqxlyv61dup2VJCMPko54Fy9Hh9up/asO/F97yx1iUKGgcWo EUpixPRR5EDInssJyfGpYJYdClYlIAKzTwioCVyrYgapJmwRaFjp8GZCFzhiag5C Tco1kypdsYgvGhJLIWsncq0RWCLTPZloHldpS0KrQCV/gJWadQBcDpVq4Xge8CG6 UCJegf35uRfDFQZvVVtnIp0fIMeDO6HBFIyu7997p5cSBJ/RuIkVUghL4SqpKGcc sRwxjpyyL1UCIJQEKVSASA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1709021668; x= 1709108068; bh=hYZz5NAc/NTVIEmRw1I2TJX17K0tOgQDPC7XypdpePY=; b=G OZEIaQhb6X9847xEZk8zizXQtan6Skx+L55EAVjituTQkBuyC3566eo2ajyq6YeR yWW2E4/d2JoIJX9l/Jq4vLbV0HCGH6tjBJZUQN8gsHGOv+7TKrn6UaQwFT88cV28 f/Mk3GaYOcExcXzwh2uHfrQ9dRCoLhaEAY+GQ3Yk/mYgao2JQYcvpVww6K1wQe0+ 5O/gjM2NnXQIy0INU+PISNH6Oy5Lxbawf0Fb5tPUD6Qxo+KEHxmi5AGz4onV3j+J ddIws3v2nBWnMuA+ZDjpZxDzAmi4DoA8G0Gl5mAY/+f7XFQWNZzkfKGJcZAQtMvw J0aaxjiZpymXstYwFdgXA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrgeefgdduudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufgjfhgffffkgggtgfesth hqredttderjeenucfhrhhomheplfhoohhsthcumfhrvghmvghrshcuoehjohhoshhtkhhr vghmvghrshesfhgrshhtmhgrihhlrdhfmheqnecuggftrfgrthhtvghrnhepleegieehud euleegvedufeegtdffjeduteevuddthfekjeetgeehveekuedtgfdvnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhoohhsthhkrhgvmhgvrh hssehfrghsthhmrghilhdrfhhm X-ME-Proxy: Feedback-ID: ie15541ac:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 27 Feb 2024 03:14:27 -0500 (EST) In-Reply-To: <87zfvmbnzi.fsf@gmail.com> (tpeplt@gmail.com's message of "Mon, 26 Feb 2024 22:11:13 -0500") Received-SPF: pass client-ip=66.111.4.28; envelope-from=joostkremers@fastmail.fm; helo=out4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145993 Archived-At: On Mon, Feb 26 2024, tpeplt wrote: > The following problem seems like it is an error in Emacs that needs to > be reported, but it ought to be so common that it would have been > noticed already. Since it hasn=E2=80=99t, perhaps it is a user error with > something I am overlooking. It's a bug! I've been noticing the same thing since I switched to Emacs 29.= 2, but also figured it's probably user error. Since I don't often create a sec= ond frame, it didn't bother me enough to investigate, but if it's happening to others as well, it's probably a bug. > The problem is happening when running Emacs 29.2 on GNU/Linux running > GNOME window manager. Yes, that's my setup as well. > In brief, the problem is that when a new frame is created, the new > frame=E2=80=99s default width and height are both small, Yup. I actually never had any window size settings in my default-frame-alis= t, but up until Emacs 28, the default width/height was fine. And if I start Em= acs by calling emacsclient, the frame that pops up is still that same size. But creating a new frame with `C-x 5 2` produces a much smaller frame. Unusably small, in fact. > 6. Try the =E2=80=98clone-frame=E2=80=99 command that was introduced in E= macs 28: Type > C-x 5 c. The new frame does not clone the current frame=E2=80=99s wid= th > and height, but instead keeps the small 8x20 size as all other > newly-created frames. Indeed. Note that if you clone a frame with the `fullscreen` frame paramete= r set (to `maximized` in my case), cloning the frame yields another maximised fra= me. > Are other Emacs 28/29 users able to reproduce this problem? Emacs 29.2. I don't recall having this problem with Emacs 28, though I can'= t be entirely sure. > If not, can you point to something erroneous that I am doing? I don't think there is anything you're doing wrong. Stefan Monnier suggested you report it as a bug, which is probably a good i= dea. --=20 Joost Kremers Life has its moments