From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Subject: Re: From latest maint/master, no need to (require 'org-install) Date: Tue, 02 Oct 2012 18:52:08 -0400 Message-ID: <506B7018.6070702@verizon.net> References: <87boglvwur.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJBKF-0006vQ-07 for emacs-orgmode@gnu.org; Tue, 02 Oct 2012 18:52:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJBKE-0001oB-3s for emacs-orgmode@gnu.org; Tue, 02 Oct 2012 18:52:26 -0400 Received: from vms173007pub.verizon.net ([206.46.173.7]:59526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJBKD-0001nl-VS for emacs-orgmode@gnu.org; Tue, 02 Oct 2012 18:52:26 -0400 Received: from [10.0.0.3] ([unknown] [74.111.60.119]) by vms173007.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MBA00EF4FIWRI60@vms173007.mailsrvcs.net> for emacs-orgmode@gnu.org; Tue, 02 Oct 2012 17:52:09 -0500 (CDT) 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: emacs-orgmode@gnu.org Bastien, Early this morning, i.e. before your message, I pulled from git, ran make update2 and at the end of compiling org-loaddefs.el was mentioned as not loaded. This in cygwin. This evening I followed your instructions (I think!) and ran ~/elisp/org-mode && make autoloads Then make update2; at the end of this it complained about org-version.el I ran make autoloads again and then make update2 - no complaints this time. Was this to be expected? Windows 7 HP 64 Emacs 24.2.1 cygwin 1.7.16 org version 7.9.2 (release_7.9.2-383-g09d6bc) (which I obtained by M-x org-version) Charlie Millar On 10/2/2012 9:15 AM, 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, >