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

2012-10-27 Thread Bastien
Achim Gratz writes: >> Starting Emacs now requires ~18 seconds vs 2 seconds before. > > That is one of the consequences of how org.el is currently structured. The move to using org-loaddefs.el was to optimize things within Emacs. Before org-loaddefs.el, all Org's autoloads were added to loaddef

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

2012-10-27 Thread Bastien
Hi Michael, Michael Brand writes: > Would it be possible/reasonable to have org-version available before > (require 'org)? I would like to put the Org version into the Message > Buffer at Emacs startup without the need of loading the entire Org > yet. Yes, you can call (org-version) before any

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

2012-10-09 Thread Sebastien Vauban
Hi Achim, Achim Gratz wrote: > Sebastien Vauban writes: >> Starting Emacs now requires ~18 seconds vs 2 seconds before. > > That is one of the consequences of how org.el is currently structured. > If you know exactly what you're doing when in your init file, you can at > the moment still do a > >

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

2012-10-09 Thread Michael Brand
Hi Achim On Tue, Oct 9, 2012 at 7:47 PM, Achim Gratz wrote: > I'm not sure how Bastien wants this to work going forward, but by the > way it's been announced and implemented the need to do this should go > away. Would it be possible/reasonable to have org-version available before (require 'org)?

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

2012-10-09 Thread Achim Gratz
Sebastien Vauban writes: > Starting Emacs now requires ~18 seconds vs 2 seconds before. That is one of the consequences of how org.el is currently structured. If you know exactly what you're doing when in your init file, you can at the moment still do a (require 'org-loaddefs) where you formerly

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

2012-10-09 Thread Sebastien Vauban
Hi Achim, "Sebastien Vauban" wrote: > Achim Gratz wrote: >> only =(require 'org)= is needed. > > You mean we must require Org in our .emacs file (instead of just loading the > autoload definitions)? > > IIUC, (in my case at least) that could seriously impact the Emacs startup > time? Confirmed wi

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

2012-10-08 Thread Sebastien Vauban
Hi Achim, Achim Gratz wrote: > Eric Fraga writes: >> My question now is whether I should replace the =(require 'org)= by >> =(require 'org-loaddefs)= which seems to be the way that Emacs is moving >> for packages? > > No. The definitions in org-loaddefs are require'd from org internally, you > sho

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

2012-10-07 Thread Eric S Fraga
Achim Gratz writes: > Eric Fraga writes: >> My question now is whether I should replace the =(require 'org)= by >> =(require 'org-loaddefs)= which seems to be the way that Emacs is moving >> for packages? > > No. The definitions in org-loaddefs are require'd from org internally, > you should nev

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

2012-10-07 Thread Achim Gratz
Eric Fraga writes: > My question now is whether I should replace the =(require 'org)= by > =(require 'org-loaddefs)= which seems to be the way that Emacs is moving > for packages? No. The definitions in org-loaddefs are require'd from org internally, you should never reference to it directly. Wh

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

2012-10-06 Thread Nick Dokos
Eric Fraga wrote: > Sebastien Vauban writes: > > > Hi Eric, > > > > Eric Fraga wrote: > >> (add-to-list 'load-path "~/git/org-mode") > > > > Why that one? > > Ahh, that's a bit of historical garbage. There was a point a while back > where org-install seemed to have lisp/org-xxx paths and the

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

2012-10-06 Thread Eric Fraga
Sebastien Vauban writes: > Hi Eric, > > Eric Fraga wrote: >> (add-to-list 'load-path "~/git/org-mode") > > Why that one? Ahh, that's a bit of historical garbage. There was a point a while back where org-install seemed to have lisp/org-xxx paths and the easiest fix was to add the root to the lis

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

2012-10-05 Thread Sebastien Vauban
Hi Eric, Eric Fraga wrote: > Bastien writes: >> Bastien writes: >>> there is no need to (require 'org-install) anymore from the maint and >>> master branches. >> >> ... and you should actually remove (require 'org-install) from your >> configuration, since this file is not automatically created

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

2012-10-05 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/10/12 11:25, Bastien wrote: > Hi all again, > > Bastien writes: > >> there is no need to (require 'org-install) anymore from the maint and master >> branches. > > ... and you should actually remove (require 'org-install) from your > configu

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

2012-10-05 Thread Thomas S. Dye
Eric Fraga writes: > Bastien writes: > >> Hi all again, >> >> Bastien writes: >> >>> there is no need to (require 'org-install) anymore from the maint >>> and master branches. >> >> ... and you should actually remove (require 'org-install) from your >> configuration, since this file is not auto

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

2012-10-04 Thread Achim Gratz
Rainer Stengele writes: > Actually I am confused - I did not quite understand - why do I no more > require 'org-install and also not 'org. Can you point me to some docs > about this? If you need anything at all, you now need to use (require 'org), regardless of whether it's the Org version that co

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

2012-10-04 Thread Rainer Stengele
Am 02.10.2012 17:39, schrieb Bastien: > Rainer Stengele writes: > >> Still complaining about org-version .. > > Dong! Fixed. Please pull again. > Thanks Bastien, works perfectly now. Actually I am confused - I did not quite understand - why do I no more require 'org-install and also not 'org

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

2012-10-03 Thread Eric Fraga
Bastien writes: > Hi all again, > > Bastien writes: > >> there is no need to (require 'org-install) anymore from the maint >> and master branches. > > ... and you should actually remove (require 'org-install) from your > configuration, since this file is not automatically created anymore. > > Th

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

2012-10-03 Thread Achim Gratz
John Hendy writes: > will *all* versions of Emacs now allow for removing > (require 'org-install) with a fresh git pull of orgmode, or does one > need to be using Emacs 24.3? Yes, all of them. Emacs 24.3 is just the first to be released with a change that triggered this. Regards, Achim. -- +<[

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

2012-10-03 Thread John Hendy
On Wed, Oct 3, 2012 at 4:26 AM, Bastien wrote: > Hi Charles, > > Charles writes: > >> I ran make autoloads again and then make update2 - no complaints this time. >> >> Was this to be expected? > > There might be some hicups in the transition from the old org-install > way to the new org-loaddefs

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

2012-10-03 Thread Bastien
Hi Charles, Charles writes: > I ran make autoloads again and then make update2 - no complaints this time. > > Was this to be expected? There might be some hicups in the transition from the old org-install way to the new org-loaddefs way, but if things are fine then it's fine. -- Bastien

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

2012-10-03 Thread Bastien
Hi all again, Bastien writes: > there is no need to (require 'org-install) anymore from the maint > and master branches. ... and you should actually remove (require 'org-install) from your configuration, since this file is not automatically created anymore. Thanks, -- Bastien

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

2012-10-02 Thread Torsten Wagner
On 2 October 2012 22:49, Bastien wrote: > Hi Torsten, > > Torsten Wagner writes: > >> 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 th

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

2012-10-02 Thread Charles
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 u

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

2012-10-02 Thread Achim Gratz
johnl...@johnrakestraw.com writes: > fwiw, I updated via git this morning and entered the same problem with > the same error message. I'm swamped and didn't have time to debug > further (though I did check list-load-path-shadows and didn't see a > problem there). That's what Git is for: git reflo

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

2012-10-02 Thread johnlist
On 02.10.2012 11:28, Rainer Stengele wrote: run make autoloads at least once before make update sorry but no. Still complaining about org-version .. Rainer fwiw, I updated via git this morning and entered the same problem with the same error message. I'm swamped and didn't have time to

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

2012-10-02 Thread Bastien
Rainer Stengele writes: > Still complaining about org-version .. Dong! Fixed. Please pull again. -- Bastien

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

2012-10-02 Thread Rainer Stengele
Am 02.10.2012 17:20, schrieb Bastien: > Rainer Stengele writes: > >> What is wrong in my setup? > > run > > make autoloads > > at least once before > > make update > sorry but no. Still complaining about org-version .. Rainer

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

2012-10-02 Thread Bastien
Rainer M Krug writes: > I guess you mean instead of the make ... commands - right? The git > ... have to stay I assume? Nope... `make update' will do everything for you. Try `make helpall' to get more info. > now I can sleep a little better, :) -- Bastien

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

2012-10-02 Thread Bastien
Rainer Stengele writes: > What is wrong in my setup? run make autoloads at least once before make update -- Bastien

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

2012-10-02 Thread Rainer Stengele
Am 02.10.2012 16:20, schrieb Bastien: > Hi Rainer, > > Rainer M Krug writes: > >> Org-mode version 7.9.2 (release_7.9.2-352-g7f74da.dirty @ >> /home/rkrug/.emacs.d/org-mode/lisp/) > > Looks fine. > >> I use org mode from git, and my update script for org from git is: >> >> #!/bin/sh >> cd ~/.e

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

2012-10-02 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/10/12 16:20, Bastien wrote: > Hi Rainer, > > Rainer M Krug writes: > >> Org-mode version 7.9.2 (release_7.9.2-352-g7f74da.dirty @ >> /home/rkrug/.emacs.d/org-mode/lisp/) > > Looks fine. Good to know. > >> I use org mode from git, and my u

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

2012-10-02 Thread Bastien
Hi Rainer, Rainer M Krug writes: > Org-mode version 7.9.2 (release_7.9.2-352-g7f74da.dirty @ > /home/rkrug/.emacs.d/org-mode/lisp/) Looks fine. > 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 Okay. > git checkout master

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

2012-10-02 Thread Rainer M Krug
-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

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

2012-10-02 Thread Bastien
Hi Torsten, Torsten Wagner writes: > 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 r

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

2012-10-02 Thread Torsten Wagner
Hi Bastien, nice. One line less in u 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" W

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

2012-10-02 Thread Bastien
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-loaddef