From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Opening (for the first time) a 10-line Org doc takes 4 seconds Date: Sat, 05 Jan 2013 14:23:25 +0100 Message-ID: <871udzsr02.fsf@Rainer.invalid> References: <80licv564w.fsf@somewhere.org> <87obhrrl44.fsf@bzg.ath.cx> <878v8ujcyn.fsf@Rainer.invalid> <87mwwnc0zg.fsf@bzg.ath.cx> <87ehhzsusx.fsf@Rainer.invalid> <87623bbybd.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50387) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrTj0-00065Q-2l for emacs-orgmode@gnu.org; Sat, 05 Jan 2013 08:23:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TrTiv-0002HK-2m for emacs-orgmode@gnu.org; Sat, 05 Jan 2013 08:23:45 -0500 Received: from plane.gmane.org ([80.91.229.3]:45014) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrTiu-0002HG-Sa for emacs-orgmode@gnu.org; Sat, 05 Jan 2013 08:23:41 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TrTj6-0001yv-Gq for emacs-orgmode@gnu.org; Sat, 05 Jan 2013 14:23:52 +0100 Received: from pd9eb47ea.dip.t-dialin.net ([217.235.71.234]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Jan 2013 14:23:52 +0100 Received: from Stromeko by pd9eb47ea.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Jan 2013 14:23:52 +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: emacs-orgmode@gnu.org Bastien writes: > What earlier version of Emacs does not behave like the current Emacs 24 > trunk with respect to this issue, Emacs 22 doesn't have any autoloads for Org at all, so nothing works. Emacs 23 has some autoload definitions from its built-in Org version(s), but there have been many changes to function/library name pairs in later versions of Org, so I'd generally expect this to be broken, but maybe not overtly if org gets loaded first (but org-version is not present as an autoloaded function for example). Emacs 24.x should be mostly clean, but there have been some additional autoloads in Babel that would be missing. > and more importantly, *why* is it so? Uh… iff any autoload definitions exist, they may or may not be associated with the correct library name. They also may or may not have the correct doc string or number of parameters. You have to load these definitions from the correct files, they don't get picked up automatically. The files that get loaded at startup are defined in //lisp/loadup.el (this is either loaddefs.el or ldefs-boot.el, depending on whether the bootstrap or the normal Emacs is started). Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ DIY Stuff: http://Synth.Stromeko.net/DIY.html