From: Manuel Uberti <manuel.uberti@inventati.org>
To: emacs-devel@gnu.org
Subject: Re: Is this "save practice" (setting default font scale)?
Date: Sat, 21 Nov 2020 08:18:47 +0100 [thread overview]
Message-ID: <577ecfa0-701d-1775-108f-ddaeea0b4d11@inventati.org> (raw)
In-Reply-To: <AM0PR06MB657793BD5C072A07DBBB0BBF96FE0@AM0PR06MB6577.eurprd06.prod.outlook.com>
On 21/11/20 07:43, Arthur Miller wrote:
> 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 there any difference to use custom-set-faces for :family too? Something like:
(custom-set-faces
'(default ((t (:family "Cascadia Code"
:height 120
:weight light)))))
--
Manuel Uberti
www.manueluberti.eu
next prev parent reply other threads:[~2020-11-21 7:18 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-20 14:51 Is this "save practice" (setting default font scale)? Arthur Miller
2020-11-20 15:06 ` Daniele Nicolodi
2020-11-20 15:26 ` Arthur Miller
2020-11-20 15:14 ` Eli Zaretskii
2020-11-20 15:37 ` Arthur Miller
2020-11-20 20:05 ` Eli Zaretskii
2020-11-21 6:33 ` Arthur Miller
2020-11-20 22:47 ` chad
2020-11-21 6:43 ` Arthur Miller
2020-11-21 7:18 ` Manuel Uberti [this message]
2020-11-21 13:45 ` Arthur Miller
2020-11-21 16:04 ` Eli Zaretskii
2020-11-21 17:05 ` arthur miller
2020-11-20 15:52 ` Stefan Monnier
2020-11-21 6:12 ` Arthur Miller
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=577ecfa0-701d-1775-108f-ddaeea0b4d11@inventati.org \
--to=manuel.uberti@inventati.org \
--cc=emacs-devel@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.