From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Opening (for the first time) a 10-line Org doc takes 4 seconds Date: Sat, 05 Jan 2013 13:39:19 +0100 Message-ID: <871udzby88.fsf@bzg.ath.cx> References: <80licv564w.fsf@somewhere.org> <87obhrrl44.fsf@bzg.ath.cx> <878v8ujcyn.fsf@Rainer.invalid> <87mwwnc0zg.fsf@bzg.ath.cx> <87ehhzsusx.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrT21-00076o-TX for emacs-orgmode@gnu.org; Sat, 05 Jan 2013 07:39:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TrT21-0000Kc-0C for emacs-orgmode@gnu.org; Sat, 05 Jan 2013 07:39:21 -0500 Received: from mail-wg0-f52.google.com ([74.125.82.52]:35288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrT20-0000KV-OV for emacs-orgmode@gnu.org; Sat, 05 Jan 2013 07:39:20 -0500 Received: by mail-wg0-f52.google.com with SMTP id 12so8244831wgh.19 for ; Sat, 05 Jan 2013 04:39:19 -0800 (PST) In-Reply-To: <87ehhzsusx.fsf@Rainer.invalid> (Achim Gratz's message of "Sat, 05 Jan 2013 13:01:18 +0100") 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Achim Gratz Cc: emacs-orgmode@gnu.org Achim Gratz writes: > I'm not sure I understand you correctly. All of the following > conditions must hold for this to work: > > - the load-path is set up to point to the Git work-tree first and no > functions in the org namespace have been called before doing so > > - the org-loaddefs.el in the Git worktree is up-to-date > > - none of the invoked functions have their library-name changed in the > Git worktree Okay. This are normal conditions to me, and we can document this if necessary. > - all code-paths must trigger loading of org (and thus org-loaddefs) > before invoking further autoloads I'm not sure what you mean by "code-paths". You mean that no non-org library should call an org-* function before the load-path for org-mode is set correctly? -- Bastien