From mboxrd@z Thu Jan  1 00:00:00 1970
From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
Subject: Re: From latest maint/master, no need to (require 'org-install)
Date: Tue, 09 Oct 2012 21:23:34 +0200
Message-ID: <801uh74fgp.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> <80sj9o85ke.fsf@somewhere.org>
	<87haq3y1tj.fsf@Rainer.invalid>
Mime-Version: 1.0
Content-Type: text/plain
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org>
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request-mXXj517/zsQ@public.gmane.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode-mXXj517/zsQ@public.gmane.org>
List-Help: <mailto:emacs-orgmode-request-mXXj517/zsQ@public.gmane.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request-mXXj517/zsQ@public.gmane.org?subject=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,

Achim Gratz wrote:
> Sebastien Vauban writes:
>> Starting Emacs now requires ~18 seconds vs 2 seconds before.
>
> That is one of the consequences of how org.el is currently structured.
> If you know exactly what you're doing when in your init file, you can at
> the moment still do a
>
> (require 'org-loaddefs)
>
> where you formerly did require org-install.

Good to know...

> Of course this will then not work if you fall back to the built-in Org
> version of an old Emacs, so maybe you'd want
>
> (require 'org-loaddefs nil 'noerror)

I guess the risk of falling to the built-in Org version is no bigger than it
was with org-install?

Anyway, I always protect all require's of stuff which can be absent from some
distribution (as my .emacs is used by colleagues).

> I'm not sure how Bastien wants this to work going forward, but by the
> way it's been announced and implemented the need to do this should go
> away.

OK. We'll see with him as soon as he comes back online.

Best regards,
  Seb

-- 
Sebastien Vauban