From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: About early-init right use.
Date: Tue, 02 Apr 2019 14:40:00 -0400 [thread overview]
Message-ID: <jwvsgv0w96i.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: 20190402165522.nsllny2i4bphy7xi@Ergus
> (add-hook 'emacs-startup-hook
> `(lambda ()
> (setq file-name-handler-alist file-name-handler-alist-old
> gc-cons-threshold 800000
> gc-cons-percentage 0.1)
> (garbage-collect)
> (message "Load time %.06f"
> (float-time (time-since my/start-time))))
> t)
I recommend you don't quote your lambdas.
> (setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/")
> ("melpa" . "https://melpa.org/packages/")))
You can set this in your `emacs.el` rather than early-init.el.
> (setq package-quickstart t)
You can set this in your `emacs.el` rather than early-init.el.
[ Controversially, the quickstart file is used at startup regardless of
your package-quickstart setting. ]
-- Stefan
next prev parent reply other threads:[~2019-04-02 18:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20190401235436.2cnhvuxzdj635hpn.ref@Ergus>
2019-04-01 23:54 ` About early-init right use Ergus
2019-04-02 6:39 ` tomas
2019-04-02 14:21 ` Drew Adams
2019-04-02 15:42 ` tomas
2019-04-02 16:55 ` Ergus
2019-04-02 17:26 ` tomas
2019-04-02 18:40 ` Stefan Monnier [this message]
2019-04-03 17:21 ` Lele Gaifax
2019-04-03 17:28 ` Stefan Monnier
2019-04-03 17:43 ` Lele Gaifax
2019-04-04 6:18 ` Lele Gaifax
2019-04-02 17:09 ` Stefan Monnier
2019-04-02 17:57 ` Drew Adams
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=jwvsgv0w96i.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--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.
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).