From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: From latest maint/master, no need to (require 'org-install) Date: Tue, 02 Oct 2012 15:15:24 +0200 Message-ID: <87boglvwur.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ2Km-0004Py-0L for emacs-orgmode@gnu.org; Tue, 02 Oct 2012 09:16:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJ2KX-0005AE-Oh for emacs-orgmode@gnu.org; Tue, 02 Oct 2012 09:16:23 -0400 Received: from plane.gmane.org ([80.91.229.3]:39361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ2KX-0005AA-Hp for emacs-orgmode@gnu.org; Tue, 02 Oct 2012 09:16:09 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TJ2KO-0002tJ-Rx for emacs-orgmode@gnu.org; Tue, 02 Oct 2012 15:16:00 +0200 Received: from mar75-2-81-56-68-112.fbx.proxad.net ([81.56.68.112]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Oct 2012 15:16:00 +0200 Received: from bzg by mar75-2-81-56-68-112.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Oct 2012 15:16:00 +0200 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 Hi all, there is no need to (require 'org-install) anymore from the maint and master branches. When using the Org distribution that comes with Emacs, Emacs will add Org's autoloaded core functions to [emacs]/lisp/loaddefs.el and the rest of the autoloaded functions to [emacs]/lisp/org/org-loaddefs.el. This is an improvement over the present situation, where *all* autoloaded functions where added to Emacs' loaddefs.el -- too much. This is not yet in Emacs trunk but will be in Emacs 24.3. When getting Org as a .tar.gz/.zip archive file, you'll have a file org-loaddefs.el in the lisp/ directory -- this file is now loaded when org.el is loaded. When getting Org from ELPA (either "org" or "org-plus-contrib"), org-loaddefs.el will also be in the load-path. When getting Org from git, you *HAVE* to created org-loaddefs.el with `make autoloads' (which is also run by a simple `make'), otherwise some needed functions will not be autoloaded. You can check whether org-loaddefs.el has been correctly been loaded with M-x org-version RET. Thanks, -- Bastien