From: chad <yandros@gmail.com>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>, public@beloved.name, emacs-devel@gnu.org
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 [thread overview]
Message-ID: <CAO2hHWbfoH=G=kQPSxB_3KhMxzNLgkSk-YvKq4qpZNDe7H2ZOA@mail.gmail.com> (raw)
In-Reply-To: <CADwFkmnG4TsxBefibwvpWDnTKzKWdCY6_xn7C=QY4v9OfJx9tQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1891 bytes --]
On Sat, Oct 21, 2023 at 7:07 AM Stefan Kangas <stefankangas@gmail.com>
wrote:
> Eli Zaretskii <eliz@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 [...]
>
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
[-- Attachment #2: Type: text/html, Size: 2399 bytes --]
next prev parent reply other threads:[~2023-10-21 20:05 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-29 21:05 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 ? David Hedlund
2023-09-30 13:57 ` Eli Zaretskii
2023-09-30 18:09 ` chad
2023-09-30 18:36 ` Eli Zaretskii
2023-09-30 19:06 ` David Hedlund
2023-09-30 19:21 ` Eli Zaretskii
2023-10-02 22:40 ` David Hedlund
2023-10-02 23:05 ` Emanuel Berg
2023-10-05 3:56 ` David Hedlund
2023-10-21 9:35 ` Stefan Kangas
2023-10-21 9:52 ` Eli Zaretskii
2023-10-21 10:02 ` Stefan Kangas
2023-10-21 11:18 ` Eli Zaretskii
2023-10-21 20:05 ` chad [this message]
2023-10-21 12:55 ` David Hedlund
2023-10-22 22:24 ` Stefan Kangas
2023-10-23 13:02 ` Eli Zaretskii
2023-10-23 15:25 ` David Hedlund
2023-10-23 15:33 ` Stefan Kangas
2023-10-23 15:58 ` David Hedlund
2023-10-28 17:25 ` Stefan Kangas
2023-10-28 17:34 ` Emanuel Berg
2023-10-28 18:51 ` Eli Zaretskii
2023-10-28 19:39 ` Emanuel Berg
2023-10-28 18:02 ` David Hedlund
2023-10-28 20:03 ` Stefan Kangas
2023-11-04 13:58 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAO2hHWbfoH=G=kQPSxB_3KhMxzNLgkSk-YvKq4qpZNDe7H2ZOA@mail.gmail.com' \
--to=yandros@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=public@beloved.name \
--cc=stefankangas@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.