Re: [O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-12-04 Thread Nicolas Goaziou
Hello, "Sebastien Vauban" writes: > You say that opening an Org file requires first `ob-lob' before *providing* > `org', right? [1] Correct. > IIUC, here are all the steps involved: > > 1. an Org file is opened > 2. org.el is required -- but not yet provided at all, so loaded a first time > 3.

Re: [O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-12-04 Thread Sebastien Vauban
Hello, Nicolas Goaziou wrote: > Nick Dokos writes: > >> (require 'org-loaddefs) >> >> (with-eval-after-load "ob-lob" >> ;; load some code blocks into the library of Babel >> (let ((lob-file (concat (file-name-directory (locate-library "org")) >> "../doc/library-of-ba

Re: [O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-23 Thread Nicolas Goaziou
Hello, Nick Dokos writes: > Well, Nicolas warned us that we are not out of the woods yet. I repeated > the previous exercise, this time with the following file: > > (add-to-list 'load-path (expand-file-name "~/src/emacs/org/org-mode/lisp")) > (add-to-list 'load-path (expand-file-name > "~/src/e

Re: [O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-19 Thread Nick Dokos
"Sebastien Vauban" writes: > Glenn Morris wrote: >> Apparently this is fixed: >> >> http://lists.gnu.org/archive/html/emacs-orgmode/2013-11/msg00682.html > > Sadly, it's only partially fixed: if it is WELL fixed for the original code, > the problem comes BACK with the following minimized Emacs fi

Re: [O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-19 Thread Sebastien Vauban
Josh wrote: > On Wed, Nov 13, 2013 at 1:27 PM, Sebastien Vauban wrote: >> >> (with-eval-after-load "org" >> (message "Eval this when Org is loaded") >> (sit-for 3) >> (message "")) >> >> the code block in the `with-eval-after-load' is eval'ed twice whenever an Org >> file is loaded. > > Have

Re: [O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-17 Thread Nick Dokos
Nick Dokos writes: > Nicolas Goaziou writes: >> ... >> >> Thank you. The problem should now be fixed. >> > > Confirm. > Sometimes I blab endlessly but sometimes I'm way too terse: here I meant to say "I confirm that it is fixed." -- Nick

Re: [O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-17 Thread Nick Dokos
Nicolas Goaziou writes: > Hello, > > Nick Dokos writes: > >> I started emacs with >> >> emacs -Q -L ~/src/emacs/org/org-mode/lisp -l double-load.el >> >> where double-load.el looks like this: >> >> >> (defun foobar () >> (message "LOADED") (sit-for 3) (message "")) >> >> (setq org-load-hook

Re: [O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-17 Thread Nicolas Goaziou
Hello, Nick Dokos writes: > I started emacs with > > emacs -Q -L ~/src/emacs/org/org-mode/lisp -l double-load.el > > where double-load.el looks like this: > > > (defun foobar () > (message "LOADED") (sit-for 3) (message "")) > > (setq org-load-hook (function foobar)) > > and edebugged fooba

Re: [O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-16 Thread Nick Dokos
Nicolas Goaziou writes: >> 0cecf32a0ae559266555b96668dc305710366c96 is the first bad commit >> commit 0cecf32a0ae559266555b96668dc305710366c96 >> Author: Nicolas Goaziou >> Date: Sun Oct 27 11:09:17 2013 +0100 > > Well. The only thing related to load/autoload I can think of is calling > `org-

Re: [O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-16 Thread Nick Dokos
Nicolas Goaziou writes: > Hello, > > Nick Dokos writes: > >> Glenn Morris writes: >> >>> "Sebastien Vauban" wrote: >>> But I wonder: how can you now reproduce it (and not before)? >>> >>> Because I downloaded a snapshot of Org. >>> Your problem is not with code that is in Emacs current tru

Re: [O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-15 Thread Nicolas Goaziou
Hello, Nick Dokos writes: > Glenn Morris writes: > >> "Sebastien Vauban" wrote: >> >>> But I wonder: how can you now reproduce it (and not before)? >> >> Because I downloaded a snapshot of Org. >> Your problem is not with code that is in Emacs current trunk. > > Using Glenn's reproducer, I bise

Re: [O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-11-15 Thread Nick Dokos
Glenn Morris writes: > "Sebastien Vauban" wrote: > >> But I wonder: how can you now reproduce it (and not before)? > > Because I downloaded a snapshot of Org. > Your problem is not with code that is in Emacs current trunk. Using Glenn's reproducer, I bisected it - another one for Nicolas's TODO