[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Weird problem with inital frame sizing
From: |
Perry E. Metzger |
Subject: |
Re: Weird problem with inital frame sizing |
Date: |
Thu, 13 Sep 2018 15:23:55 -0400 |
On Thu, 13 Sep 2018 15:15:16 -0400 "Perry E. Metzger"
<address@hidden> wrote:
> On Thu, 13 Sep 2018 15:08:51 -0400 "Perry E. Metzger"
> <address@hidden> wrote:
> > On Thu, 13 Sep 2018 07:49:00 -0400 Stefan Monnier
> > <address@hidden> 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 address@hidden
- Weird problem with inital frame sizing, Perry E. Metzger, 2018/09/12
- Re: Weird problem with inital frame sizing, Stefan Monnier, 2018/09/13
- Re: Weird problem with inital frame sizing, Perry E. Metzger, 2018/09/13
- Re: Weird problem with inital frame sizing, Perry E. Metzger, 2018/09/13
- Re: Weird problem with inital frame sizing, Perry E. Metzger, 2018/09/13
- Re: Weird problem with inital frame sizing,
Perry E. Metzger <=
- Re: Weird problem with inital frame sizing, Perry E. Metzger, 2018/09/13
- Re: Weird problem with inital frame sizing, Stefan Monnier, 2018/09/13
- Re: Weird problem with inital frame sizing, Perry E. Metzger, 2018/09/13
- Re: Weird problem with inital frame sizing, Stefan Monnier, 2018/09/13
- Re: Weird problem with inital frame sizing, Perry E. Metzger, 2018/09/15
- Re: Weird problem with inital frame sizing, Stefan Monnier, 2018/09/16
- Re: Weird problem with inital frame sizing, Perry E. Metzger, 2018/09/17
- Re: Weird problem with inital frame sizing, Noam Postavsky, 2018/09/17
- Re: Weird problem with inital frame sizing, Eli Zaretskii, 2018/09/13
- Re: Weird problem with inital frame sizing, Perry E. Metzger, 2018/09/13