Re: [O] Opening (for the first time) a 10-line Org doc takes 4 seconds

2013-01-16 Thread Achim Gratz
Bernt Hansen writes: For the record here is the output on my Emacs: GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1) of 2013-01-08 on murphy, modified by Debian Current git head: release_7.9.3d-826-gbe0d87d I can't check Emacs 23.2 right now, but Emacs 23.4 comes with Org version

Re: [O] Opening (for the first time) a 10-line Org doc takes 4 seconds

2013-01-15 Thread Bernt Hansen
Bastien b...@altern.org writes: Achim Gratz strom...@nexgo.de writes: Bastien writes: What earlier version of Emacs does not behave like the current Emacs 24 trunk with respect to this issue, Emacs 22 doesn't have any autoloads for Org at all, so nothing works. Emacs 23 has some autoload

Re: [O] Opening (for the first time) a 10-line Org doc takes 4 seconds

2013-01-05 Thread Bastien
Hi Achim, Achim Gratz strom...@nexgo.de writes: You don't need this, there is (load org-loaddefs.el t t) in org.el. Well, yes he does when he is using Org from Git. I use Org from Git and I don't have (load org-loaddefs.el t t) in my .emacs.el. I simply have: (add-to-list 'load-path

Re: [O] Opening (for the first time) a 10-line Org doc takes 4 seconds

2013-01-05 Thread Achim Gratz
Bastien writes: I use Org from Git and I don't have (load org-loaddefs.el t t) in my .emacs.el. I simply have: (add-to-list 'load-path ~/install/git/org-mode/lisp/) before any Org configuration and *all* autoloads are correct. Only with a recent Emacs 24 and it really only works

Re: [O] Opening (for the first time) a 10-line Org doc takes 4 seconds

2013-01-05 Thread Bastien
Achim Gratz strom...@nexgo.de writes: Bastien writes: I use Org from Git and I don't have (load org-loaddefs.el t t) in my .emacs.el. I simply have: (add-to-list 'load-path ~/install/git/org-mode/lisp/) before any Org configuration and *all* autoloads are correct. Only with a

Re: [O] Opening (for the first time) a 10-line Org doc takes 4 seconds

2013-01-05 Thread Bastien
Achim Gratz strom...@nexgo.de writes: I'm not sure I understand you correctly. All of the following conditions must hold for this to work: - the load-path is set up to point to the Git work-tree first and no functions in the org namespace have been called before doing so - the

Re: [O] Opening (for the first time) a 10-line Org doc takes 4 seconds

2013-01-05 Thread Achim Gratz
Bastien writes: What earlier version of Emacs does not behave like the current Emacs 24 trunk with respect to this issue, Emacs 22 doesn't have any autoloads for Org at all, so nothing works. Emacs 23 has some autoload definitions from its built-in Org version(s), but there have been many

Re: [O] Opening (for the first time) a 10-line Org doc takes 4 seconds

2013-01-05 Thread Bastien
Achim Gratz strom...@nexgo.de writes: Bastien writes: What earlier version of Emacs does not behave like the current Emacs 24 trunk with respect to this issue, Emacs 22 doesn't have any autoloads for Org at all, so nothing works. Emacs 23 has some autoload definitions from its built-in Org

Re: [O] Opening (for the first time) a 10-line Org doc takes 4 seconds

2012-12-23 Thread Bastien
Hi Sébastien, Sebastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: OK. And `org.el' is loaded[1] because of the major-mode association to the `.org' files, then, right? Right. [1] BTW, why not a `require' instead? About (load org-loaddefs.el t t) ? Because it is

Re: [O] Opening (for the first time) a 10-line Org doc takes 4 seconds

2012-12-19 Thread Sebastien Vauban
Hi Bastien, Bastien wrote: Sebastien Vauban writes: (if (locate-library org-loaddefs) (require 'org-loaddefs) ^ You don't need this, there is (load org-loaddefs.el t t) in org.el. OK. And `org.el' is loaded[1] because of the major-mode association to the

Re: [O] Opening (for the first time) a 10-line Org doc takes 4 seconds

2012-12-19 Thread Achim Gratz
Bastien writes: (if (locate-library org-loaddefs) (require 'org-loaddefs) ^ You don't need this, there is (load org-loaddefs.el t t) in org.el. Well, yes he does when he is using Org from Git. It's a wash when he's using builtin Org from Emacs and potentially

[O] Opening (for the first time) a 10-line Org doc takes 4 seconds

2012-12-18 Thread Sebastien Vauban
Hello, Looking at how to improve my Org config, regarding speed, I notice that it takes 4.22 s to open a simple 10-line Org file *for the first time* (when Org wasn't loaded yet). The reason is that it requires a big amount of packages, those requiring themselves many others, and so on. Do you

Re: [O] Opening (for the first time) a 10-line Org doc takes 4 seconds

2012-12-18 Thread Bastien
Hi Sébastien, Sebastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: (if (locate-library org-loaddefs) (require 'org-loaddefs) ^ You don't need this, there is (load org-loaddefs.el t t) in org.el. Are your org elisp files compiled?