[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Speeding up Emacs load time

From: Glyn Millington
Subject: Re: Speeding up Emacs load time
Date: Mon, 15 Jul 2013 07:20:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Andrew Pennebaker <> writes:

Post re-ordered - moved your latest to the right place :-)

> On Jul 14, 2013 9:05 PM, "Ken Goldman"
> <> wrote:
>> On 6/26/2013 1:04 PM, J. David Boyd wrote:
>>> Andrew Pennebaker <> writes:
>>>> Could someone help me cut down the load time while maintaining the
>>>> same behavior?
>>> Wow.  My emacs takes almost 2 minutes to load up.  But I only start
>>> it in the morning, and stop it at night before I go home.
>> My emacs runs for months at a time.  Load time is buried in boot
>> time.
>> Use the client server model.  I use gnuserv.

> This does not address my problem. I can run many programs for long
> spans of time, but what I'm after is faster load time.

> In any case, Emacs frequently crashes in Mac and Windows, so that's
> not an option. 

One popular technique is not to load packages until you need 'em.  That
means fewer 'requires' in your .emacs/init.el file and more autoloads. 

See tips 3-5 here!

The key function is eval-after-load

Two people who have written wrappers to eval-after-load

The Milky Postman
Look for the 'after' macro and how he uses it.

Much more complex is John Wiegley's 'use-package', available through elpa

Good luck .......


reply via email to

[Prev in Thread] Current Thread [Next in Thread]