From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: From latest maint/master, no need to (require 'org-install) Date: Tue, 09 Oct 2012 09:31:29 +0200 Message-ID: <80sj9o85ke.fsf@somewhere.org> References: <87boglvwur.fsf@bzg.ath.cx> <87sj9vj4a1.fsf@bzg.ath.cx> <87zk43419r.fsf@ucl.ac.uk> <80ipap2tx9.fsf@somewhere.org> <87y5jjt550.fsf@ucl.ac.uk> <87y5jibteg.fsf@Rainer.invalid> <80ehl8jg9q.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Achim, "Sebastien Vauban" wrote: > Achim Gratz wrote: >> only =(require 'org)= is needed. > > You mean we must require Org in our .emacs file (instead of just loading the > autoload definitions)? > > IIUC, (in my case at least) that could seriously impact the Emacs startup > time? Confirmed with Org-mode version 7.9.2 (release_7.9.2-425-g8ec79b @ d:/home/sva/src/org-mode/lisp/). Starting Emacs now requires ~18 seconds vs 2 seconds before. Some culprits are: - loading some of my 45 Org agenda files (not all, though -- maybe, the one in which I'm currently clocking and the ones I clocked in before, from the clock history?) - loading lots of extra packages which I don't necessarily need when I just fire up Emacs for doing non-Org related work, such as gnus-sum (hence, all of Gnus, along with MIME utils, URL stuff, etc.) - loading all my Org config (Babel, LOB, exporters, etc.), which is in an (eval-after-load "org" ...). Best regards, Seb -- Sebastien Vauban