emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] From latest maint/master, no need to (require 'org-install)


From: Bastien
Subject: Re: [O] From latest maint/master, no need to (require 'org-install)
Date: Sat, 27 Oct 2012 10:49:41 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux)

Achim Gratz <address@hidden> writes:

>> Starting Emacs now requires ~18 seconds vs 2 seconds before.
>
> That is one of the consequences of how org.el is currently structured.

The move to using org-loaddefs.el was to optimize things within Emacs.

Before org-loaddefs.el, all Org's autoloads were added to loaddefs.el.
This had the effect of preloading too many Org's functions in a bare
"emacs -Q".

After org-loaddefs.el, only the core Org functions are added to Emacs'
loaddefs.el.

The time you spare by not preloading all autoloads in loaddefs.el is
lost when you require org for the first time -- either in your config
or by simply finding a new .org file.

But on the overall, I think it's cleaner that way.

The next step to optimize things a bit is to have less autoloads
in org-autoloads.el... any suggestion is welcome in this area!

-- 
 Bastien



reply via email to

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