From: "Perry E. Metzger" <perry@piermont.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Weird problem with inital frame sizing
Date: Thu, 13 Sep 2018 15:23:55 -0400 [thread overview]
Message-ID: <20180913152355.7618b1a2@jabberwock.cb.piermont.com> (raw)
In-Reply-To: <20180913151516.78aa0de4@jabberwock.cb.piermont.com>
On Thu, 13 Sep 2018 15:15:16 -0400 "Perry E. Metzger"
<perry@piermont.com> wrote:
> On Thu, 13 Sep 2018 15:08:51 -0400 "Perry E. Metzger"
> <perry@piermont.com> wrote:
> > On Thu, 13 Sep 2018 07:49:00 -0400 Stefan Monnier
> > <monnier@iro.umontreal.ca> wrote:
> > > > Can anyone guess what might be going wrong, and how we might
> > > > fix this correctly?
> > >
> > > IMO fixing this "correctly" is the following: move your
> > > face&frame settings from ~/.emacs.d/init.el to
> > > ~/.emacs.d/early-init.el
> >
> > I use a single .emacs file (I'm an old fogey). Where in the manual
> > is early-init.el documented, and the semantic difference between
> > what should be in there and what should be elsewhere? I was unable
> > to find it searching through the info manual.
>
> FYI, I did as you suggested, and my initial frame and subsequent
> frames do not get the change to the font at all now, so this doesn't
> seem to work. I'm not sure where early-init.el is loaded, or if it
> is loaded at all.
FYI, this is (some) of what I put in early-init.el:
(if (eq window-system 'x)
(progn
(menu-bar-mode 0)
(set-face-attribute 'default nil
:family "DejaVu Sans Mono" :height 140)
(set-face-attribute 'cursor nil
:background "red")
(set-face-attribute 'trailing-whitespace nil
:background "pink")
(setq default-frame-alist '((scroll-bar-width . 10)))))
(if window-system
(progn
(add-to-list 'default-frame-alist
(cons 'height 50))
(add-to-list 'default-frame-alist
(cons 'width 80))))
Perry
--
Perry E. Metzger perry@piermont.com
next prev parent reply other threads:[~2018-09-13 19:23 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-12 14:37 Weird problem with inital frame sizing Perry E. Metzger
2018-09-12 14:50 ` Noam Postavsky
2018-09-12 15:35 ` Perry E. Metzger
2018-09-12 15:47 ` Robert Pluim
2018-09-12 17:01 ` Perry E. Metzger
2018-09-13 11:49 ` Stefan Monnier
2018-09-13 19:08 ` Perry E. Metzger
2018-09-13 19:15 ` Perry E. Metzger
2018-09-13 19:17 ` Perry E. Metzger
2018-09-13 19:23 ` Perry E. Metzger [this message]
2018-09-13 19:31 ` Perry E. Metzger
2018-09-13 20:20 ` Stefan Monnier
2018-09-13 21:34 ` Perry E. Metzger
2018-09-14 1:14 ` Stefan Monnier
2018-09-15 23:23 ` Perry E. Metzger
2018-09-16 21:58 ` Stefan Monnier
2018-09-17 13:31 ` Perry E. Metzger
2018-09-17 13:49 ` Noam Postavsky
2018-09-13 19:15 ` Eli Zaretskii
2018-09-13 19:25 ` Perry E. Metzger
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=20180913152355.7618b1a2@jabberwock.cb.piermont.com \
--to=perry@piermont.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).