all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joost Kremers <joostkremers@fastmail.fm>
To: David Masterson <dsmasterson92630@outlook.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Programmatically maximize Emacs during startup?
Date: Fri, 04 Dec 2020 08:38:38 +0100	[thread overview]
Message-ID: <87sg8mqary.fsf@fastmail.fm> (raw)
In-Reply-To: <SJ0PR03MB5455E3F61E09E41A7E14C2999BF10@SJ0PR03MB5455.namprd03.prod.outlook.com>


On Fri, Dec 04 2020, David Masterson wrote:
> I'm an old Emacs from before window systems, so I do most of my work in
> one (maybe two) frames on my laptop.  Old eyes don't see as well as they
> used to, so I invariably use a slightly larger font and hit the maximize
> button.  I've configured my font -- now how do I maximize from within my
> startup file.

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. In `early-init.el`, you only see the maximised frame.

-- 
Joost Kremers
Life has its moments



  parent reply	other threads:[~2020-12-04  7:38 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 [this message]
2020-12-04  7:48   ` Jean Louis
2020-12-04 11:33   ` Eli Zaretskii
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

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

  git send-email \
    --in-reply-to=87sg8mqary.fsf@fastmail.fm \
    --to=joostkremers@fastmail.fm \
    --cc=dsmasterson92630@outlook.com \
    --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.
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.