From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: bug#15888: 24.3.50; Eval-after-load eval'ed twice Date: Fri, 15 Nov 2013 07:04:02 +0100 Message-ID: <87y54qdwvh.fsf@bzg.ath.cx> References: <868uws6lgt.fsf@somewhere.org> <864n7f7u8d.fsf@somewhere.org> <8638myzu9t.fsf@somewhere.org> <3238myfxsn.fsf@fencepost.gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhCXQ-00043a-5O for emacs-orgmode@gnu.org; Fri, 15 Nov 2013 01:06:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VhCWc-0006V8-JV for emacs-orgmode@gnu.org; Fri, 15 Nov 2013 01:05:52 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <3238myfxsn.fsf@fencepost.gnu.org> (Glenn Morris's message of "Thu, 14 Nov 2013 17:01:12 -0500") 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Glenn Morris Cc: Sebastien Vauban , michael_heerdegen@web.de, 15888@debbugs.gnu.org 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ébastien, can you confirmed this? -- Bastien