From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: bug#15888: 24.3.50; Eval-after-load eval'ed twice Date: Fri, 15 Nov 2013 09:33:34 +0100 Message-ID: <86wqkavzc1.fsf__6591.61988082833$1384504590$gmane$org@somewhere.org> References: <868uws6lgt.fsf@somewhere.org> <864n7f7u8d.fsf@somewhere.org> <8638myzu9t.fsf@somewhere.org> <3238myfxsn.fsf@fencepost.gnu.org> <87y54qdwvh.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87y54qdwvh.fsf-E3UqQZAQFPqWIDz0JBNUog@public.gmane.org> (Bastien's message of "Fri, 15 Nov 2013 07:04:02 +0100") 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: Bastien Cc: michael_heerdegen-S0/GAf8tV78@public.gmane.org, Glenn Morris , 15888-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org Bastien wrote: > Glenn Morris writes: >> "Sebastien Vauban" wrote: >> >>> Where is the black magic? >> >> Somewhere in the labyrinthine depths of Org, so I suggest you ask the >> Org maintainers to figure out why: >> >> emacs -Q -L /path/to/git/org-mode/lisp >> (with-eval-after-load "org" >> (message "Eval this when Org is loaded") >> (sit-for 3) >> (message "")) >> (require 'org) >> >> ends up loading org twice. > > I fixed this by removing any use of `org-autoload', which looked like > code smell to me. > > This is in Org 8.2.3c, which I just released. > > S=C3=A9bastien, can you confirmed this? I updated, made the autoloads, and rerun my test. Conclusion: it does not solve it. See http://screencast.com/t/JlbEBkonN. Best regards, Seb --=20 Sebastien Vauban