From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: chad Newsgroups: gmane.emacs.devel Subject: Re: Should https://www.gnu.org/software/emacs/manual/html_node/efaq/Fullscreen-mode-on-MS_002dWindows.html be renamed to Maxmize-mode-on-MS_002dWindows.html ? Date: Sat, 21 Oct 2023 16:05:02 -0400 Message-ID: References: <83o7hjahlw.fsf@gnu.org> <837co7a4po.fsf@gnu.org> <8ca2201b-c0f9-4e8d-b4ca-82d02ad78b99@beloved.name> <8334yva2m8.fsf@gnu.org> <834jiks3nw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000c6887a06083f81b0" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33533"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , public@beloved.name, emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Oct 21 22:06:32 2023 Return-path: Envelope-to: ged-emacs-devel@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 1quIEy-0008U2-H5 for ged-emacs-devel@m.gmane-mx.org; Sat, 21 Oct 2023 22:06:32 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1quIDr-00040E-DJ; Sat, 21 Oct 2023 16:05:23 -0400 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 1quIDp-000405-QP for emacs-devel@gnu.org; Sat, 21 Oct 2023 16:05:21 -0400 Original-Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1quIDk-0006oE-8e; Sat, 21 Oct 2023 16:05:17 -0400 Original-Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-507a98517f3so2745921e87.0; Sat, 21 Oct 2023 13:05:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697918714; x=1698523514; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vWNcf5agxw5aK1FKl06Lmjm0juBf9fPCHQIvXmq46Eo=; b=fe5Qicp8eW3HZYq3Br8g6j8uucBm7RVHxNkY2B8uz6+2VtDQzPcv4bexRYtxJKlD2d FSktjz9DIGU8NH3Dr2lCqGt5Cxjy1oltLJHdn++OTqSdFgKX4l0sMTQ+N7UeBrtmiTy1 hS8jneTm24sIAQEbpgH5JA2/0ITIn+/mYK8xJyhCa5nMJp0Yy1IlfmymDx/RYSIZ8zvy K3ayAZIGuijsiraWYlY6hbsxLzhqKBoSx0K6ZkweU40WlspLE3QlwEuJo9NFJvmpDrY4 X5dS0sXalb9ZPfnHtnOPWX+bdbEsy/a5g3e3a7F4yrWNKPk4oLzKx+dAcODwuWJHHdnD W7qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697918714; x=1698523514; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vWNcf5agxw5aK1FKl06Lmjm0juBf9fPCHQIvXmq46Eo=; b=ol4HWVjBLVO3JRtk7UEKNcb92fRjp0Wv9EHDgkKhXh8iQ0CavTX7nRtxU751NPoGM+ 8AnGYDJdcBglG7EVlph4dX4ZjnIf9OTlcy9iLEuza1E9sWt2WGk4Z/58LPpwqTbfQSGY YdYJq+aPqrGfvTwWpMmyG7YDdWpOg2oJ0E/yWPtM+DU92fSknFUZfUkiNaW/dZDL24dp ml+FuKySb7JwfYac3dwzLSN1CV1GyRGhiAjNxoykwkHKNvWPGCIEuibFJ/9pK9pKb3PH u3f5JA5ZExvTicmb0oguhbXblo01KbumRa4NKX2oNdrAfsCmBOU7TbnSKy5xc3HMq6G5 maYg== X-Gm-Message-State: AOJu0YxScP/Pus4WYXjK+GpZGRjKBX3CkLJ06eHxQljldfmu0zjPBt5R iBwXAYGLFh/A93pRv3VxFvjj65H5Vt/xee22radxDzfLCYQ= X-Google-Smtp-Source: AGHT+IE2E9ATx1xGU83k8SIE6VDYxnY10BCgf5Ai5/4QlR2/BHLu+RIR5ntoXvudbA/1OfAx0gtJih5pYQIcRbnh/EA= X-Received: by 2002:a19:2d5d:0:b0:4f8:77db:1d9e with SMTP id t29-20020a192d5d000000b004f877db1d9emr3675931lft.12.1697918713496; Sat, 21 Oct 2023 13:05:13 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::12a; envelope-from=yandros@gmail.com; helo=mail-lf1-x12a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:311661 Archived-At: --000000000000c6887a06083f81b0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Oct 21, 2023 at 7:07=E2=80=AFAM Stefan Kangas wrote: > Eli Zaretskii writes: > > > Probably not with this specific one, but other customizations of > > default-frame-alist could potentially have undesirable effects. > > If we want to add this to the FAQ, perhaps we could add a disclaimer [...= ] > I don't have strong opinions about how frequently this (sort of) question comes up, but I can add a couple data points: First, I've been doing this sort of frame configuration in early-init.el basically since it was added to master. The general class of things that can cause problems, from my memory, is things where the setting depends on some gui-specific stuff that is not yet initialized during early-init. For example, conditioning on window-system is questionable. Another "common" problem I've seen is setting fonts in initial/default-frame-alist without checking to ensure that Emacs can find the named font. In fact, since the arrival of early-init.el, I have, at various times, conditioned the setting based on finding the font in font-family-alist, and/or moved the setting to server-after-make-frame-hook. These days I just set it unconditionally and live with the (very rare) trouble when setting up on a new system, but I wouldn't suggest that in a FAQ or piece of beginner advice. If we want to try to gather some other settings that might apply to this case, I'll mention that setting menu-bar-lines, tool-bar-lines, vertical-scroll-bars, and scroll-bar-width in early-init.el have all helped avoid redraw/flicker on various systems in the past. Memory suggests that setting frame-inhibit-implied-resize in early-init.el can have an impact here, but those memories are partially based on a variety of older gui systems, and might be less impactful today. As usual, I hope this helps, ~Chad --000000000000c6887a06083f81b0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Sat, Oct 21, 2023 at 7:07=E2=80=AFAM S= tefan Kangas <stefankangas@gma= il.com> wrote:
Eli Zaretskii <e= liz@gnu.org> writes:

> Probably not with this specific one, but other customizations of
> default-frame-alist could potentially have undesirable effects.

If we want to add this to the FAQ, perhaps we could add a disclaimer [...]<= br>

I don't have strong opinions about = how frequently this (sort of) question comes up, but I can add a couple dat= a points:

First, I've been doing this sort= of frame configuration in early-init.el basically since it was added to ma= ster.

The general class of things that can cause p= roblems, from my memory, is things where the setting depends on some gui-sp= ecific stuff that is not yet initialized during early-init. For example, co= nditioning on window-system is questionable. Another "common" pro= blem I've seen is setting fonts in initial/default-frame-alist without = checking to ensure that Emacs can find the named font. In fact, since the a= rrival of early-init.el, I have, at various times, conditioned the setting = based on finding the font in font-family-alist, and/or moved the setting to= server-after-make-frame-hook. These days I just set it unconditionally and= live with the (very rare) trouble when setting up on a new system, but I w= ouldn't suggest that in a FAQ or piece of beginner advice.
If we want to try to gather some other settings that might app= ly to this case, I'll mention that setting menu-bar-lines, tool-bar-lin= es, vertical-scroll-bars, and scroll-bar-width in early-init.el have all he= lped avoid redraw/flicker on various systems in the past. Memory suggests t= hat setting frame-inhibit-implied-resize in early-init.el can have an impac= t here, but those memories are partially based on a variety of older gui sy= stems, and might be less impactful today.=C2=A0
=C2=A0
= As usual, I hope this helps,
~Chad
--000000000000c6887a06083f81b0--