From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: From latest maint/master, no need to (require 'org-install) Date: Tue, 02 Oct 2012 15:54:56 +0200 Message-ID: <506AF230.30400@gmail.com> References: <87boglvwur.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ2wL-0007ah-EE for emacs-orgmode@gnu.org; Tue, 02 Oct 2012 09:55:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJ2wG-0002dD-T4 for emacs-orgmode@gnu.org; Tue, 02 Oct 2012 09:55:13 -0400 Received: from mail-ee0-f41.google.com ([74.125.83.41]:46988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ2wG-0002aY-M9 for emacs-orgmode@gnu.org; Tue, 02 Oct 2012 09:55:08 -0400 Received: by eekc4 with SMTP id c4so3717166eek.0 for ; Tue, 02 Oct 2012 06:55:06 -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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/10/12 15: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. But how do I see it? I get: Org-mode version 7.9.2 (release_7.9.2-352-g7f74da.dirty @ /home/rkrug/.emacs.d/org-mode/lisp/) [2 times] I am getting confused. I use org mode from git, and my update script for org from git is: #!/bin/sh cd ~/.emacs.d/org-mode-git/org-mode git checkout master git fetch --tags origin # git clone git://repo.or.cz/org-mode.git git pull git gc git checkout master make clean make make autoloads make doc make info # make install Is this OK, or should I change something in the script? Or switch to ELPA (emacs 24.2.1)? Rainer > > Thanks, > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBq8i8ACgkQoYgNqgF2egqrNwCdGy9+Lz2biQWGWIQcZJzYy+4Q 2IgAoIHL2JxB+MVu3ZvKszB4wZXvBJnr =RDan -----END PGP SIGNATURE-----