[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] From latest maint/master, no need to (require 'org-install)

From: Charles
Subject: Re: [O] From latest maint/master, no need to (require 'org-install)
Date: Tue, 02 Oct 2012 18:52:08 -0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1


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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]