[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is this "save practice" (setting default font scale)?
From: |
Arthur Miller |
Subject: |
Re: Is this "save practice" (setting default font scale)? |
Date: |
Sat, 21 Nov 2020 07:43:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
chad <yandros@gmail.com> writes:
> If you're running emacs27 and later, and are still running comparative
> timings, try putting something like this into early-inti.el:
I am on bleeding edge ... always :-)
> (push '(font . "Anonymous Pro-16") default-frame-alist)
Yeah, that is exactly what I am doing.
I just didn't know where is default face stored and how to modify it
before gui is created. Daniel pointed me out to it; but I am a little
bit proud of finding the face-new-frame-defaults on my own :-).
I was too lazy to refactor my old setup, but it was starting to go high
in startup time ~2secs from 1.2 so I finally decided to see if I can speed
it up with early init. This is what I have:
;;; early-init.el --- -*- lexical-binding: t; -*-
(setq gc-cons-threshold most-positive-fixnum)
(setq frame-inhibit-implied-resize t)
(push '(menu-bar-lines . 0) default-frame-alist)
(push '(tool-bar-lines . 0) default-frame-alist)
(push '(vertical-scroll-bars) default-frame-alist)
(push '(font . "Anonymous Pro-16") default-frame-alist)
(custom-set-faces '(default ((t (:height 140)))))
;;; early-init.el ends here
Seems to work nice. (gc threshold is restored in later in setup)
- Is this "save practice" (setting default font scale)?, Arthur Miller, 2020/11/20
- Re: Is this "save practice" (setting default font scale)?, Daniele Nicolodi, 2020/11/20
- Re: Is this "save practice" (setting default font scale)?, Eli Zaretskii, 2020/11/20
- Re: Is this "save practice" (setting default font scale)?, Arthur Miller, 2020/11/20
- Re: Is this "save practice" (setting default font scale)?, chad, 2020/11/20
- Re: Is this "save practice" (setting default font scale)?,
Arthur Miller <=
- Re: Is this "save practice" (setting default font scale)?, Manuel Uberti, 2020/11/21
- Re: Is this "save practice" (setting default font scale)?, Arthur Miller, 2020/11/21
- Re: Is this "save practice" (setting default font scale)?, Eli Zaretskii, 2020/11/21
- RE: Is this "save practice" (setting default font scale)?, arthur miller, 2020/11/21
Re: Is this "save practice" (setting default font scale)?, Stefan Monnier, 2020/11/20