From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: bug#15888: 24.3.50; Eval-after-load eval'ed twice Date: Fri, 15 Nov 2013 19:31:37 +0100 Message-ID: <87mwl5jz3q.fsf@gmail.com> References: <868uws6lgt.fsf@somewhere.org> <86ob5mxktp.fsf@somewhere.org> <4jppq1ha35.fsf__32040.8881329515$1384535048$gmane$org@fencepost.gnu.org> <87txfdy2cu.fsf@alphaville.bos.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhOAy-0004GZ-2l for emacs-orgmode@gnu.org; Fri, 15 Nov 2013 13:31:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VhOAs-0006ns-Ot for emacs-orgmode@gnu.org; Fri, 15 Nov 2013 13:31:28 -0500 Received: from mail-ee0-x22e.google.com ([2a00:1450:4013:c00::22e]:42532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhOAs-0006mg-I5 for emacs-orgmode@gnu.org; Fri, 15 Nov 2013 13:31:22 -0500 Received: by mail-ee0-f46.google.com with SMTP id c4so1249810eek.33 for ; Fri, 15 Nov 2013 10:31:21 -0800 (PST) In-Reply-To: <87txfdy2cu.fsf@alphaville.bos.redhat.com> (Nick Dokos's message of "Fri, 15 Nov 2013 12:57:37 -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: Nick Dokos Cc: emacs-orgmode@gnu.org 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 bisected it - another one for Nicolas's > TODO list, proving once again that no good deed goes unpunished :-) > > 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-element-cache-reset' in `org-mode' and `org-set-modules'. Could you try to replace these calls with (when (fboundp 'org-element-cache-reset) (org-element-cache-reset)) and test again? Regards, -- Nicolas Goaziou