From mboxrd@z Thu Jan 1 00:00:00 1970 From: Torsten Wagner Subject: Re: From latest maint/master, no need to (require 'org-install) Date: Tue, 2 Oct 2012 22:38:45 +0900 Message-ID: References: <87boglvwur.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ2gX-0002I0-Uc for emacs-orgmode@gnu.org; Tue, 02 Oct 2012 09:38:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJ2gQ-0004ue-Pw for emacs-orgmode@gnu.org; Tue, 02 Oct 2012 09:38:53 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:38591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ2gQ-0004ua-JY for emacs-orgmode@gnu.org; Tue, 02 Oct 2012 09:38:46 -0400 Received: by mail-wi0-f171.google.com with SMTP id hj13so708151wib.12 for ; Tue, 02 Oct 2012 06:38:45 -0700 (PDT) In-Reply-To: <87boglvwur.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode@gnu.org Hi Bastien, nice. One line less in uhhhh .... how long is my emacs config, but it was a constant trap for people and hence this is smoothed out... good job ;) Anyhow I just realized that ELPA contains "org" and "org-plus-contrib" I stupidly overlooked that and always read "org" or "org-contrib" Well, thats the way many Linux distros does that kind of things. Sure enough org-contrib would need org as a requirement. Maybe thats not possible in ELPA yet?! Anyhow any reason for the above way? Greetings Torsten On 2 October 2012 22:15, Bastien wrote: > 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 > >