unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Programmatically maximize Emacs during startup?
Date: Fri, 04 Dec 2020 13:33:23 +0200	[thread overview]
Message-ID: <83r1o5ergc.fsf@gnu.org> (raw)
In-Reply-To: <87sg8mqary.fsf@fastmail.fm> (message from Joost Kremers on Fri,  04 Dec 2020 08:38:38 +0100)

> From: Joost Kremers <joostkremers@fastmail.fm>
> Date: Fri, 04 Dec 2020 08:38:38 +0100
> Cc: help-gnu-emacs@gnu.org
> 
> I have the following line in my `~/.emacs.d/early-init.el`:
> 
>     (add-to-list 'default-frame-alist '(fullscreen . maximized))
> 
> It works in `~/.emacs.d/init.el` as well, but then the frame is first drawn and
> subsequently maximised.

Did you try to do this in window-setup-hook or emacs-startup-hook?



  parent reply	other threads:[~2020-12-04 11:33 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-04  3:42 Programmatically maximize Emacs during startup? David Masterson
2020-12-04  4:04 ` Christopher Dimech
2020-12-04  8:34   ` Eli Zaretskii
2020-12-04 15:03     ` Christopher Dimech
2020-12-05  3:05   ` David Masterson
2020-12-05  3:11     ` Christopher Dimech
2020-12-04  6:12 ` Jean Louis
2020-12-04  6:59 ` Thien-Thi Nguyen
2020-12-05  3:09   ` David Masterson
2020-12-05 10:06     ` Thien-Thi Nguyen
2020-12-06  2:05       ` David Masterson
2020-12-06  2:38       ` Michael Heerdegen
2020-12-06  9:17         ` Marcin Borkowski
2020-12-06 22:35           ` Michael Heerdegen
2020-12-04  7:38 ` Joost Kremers
2020-12-04  7:48   ` Jean Louis
2020-12-04 11:33   ` Eli Zaretskii [this message]
2020-12-04 13:26     ` Pankaj Jangid
2020-12-05  3:10   ` David Masterson
2020-12-05  4:21     ` David Masterson
2020-12-05  5:07       ` Pankaj Jangid
2020-12-06  2:03         ` David Masterson
2020-12-12  1:19 ` byte compiler, `modify-face', and "Programmatically" (was: Re: Programmatically maximize Emacs during startup?) Emanuel Berg via Users list for the GNU Emacs text editor

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83r1o5ergc.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).