From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: bug#15888: 24.3.50; Eval-after-load eval'ed twice Date: Fri, 15 Nov 2013 12:57:37 -0500 Message-ID: <87txfdy2cu.fsf@alphaville.bos.redhat.com> References: <868uws6lgt.fsf@somewhere.org> <86ob5mxktp.fsf@somewhere.org> <4jppq1ha35.fsf__32040.8881329515$1384535048$gmane$org@fencepost.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhNeZ-0001Mp-UW for emacs-orgmode@gnu.org; Fri, 15 Nov 2013 12:58:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VhNeR-0006VC-OK for emacs-orgmode@gnu.org; Fri, 15 Nov 2013 12:57:59 -0500 Received: from plane.gmane.org ([80.91.229.3]:44345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhNeR-0006Tl-Hv for emacs-orgmode@gnu.org; Fri, 15 Nov 2013 12:57:51 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VhNeP-0001PC-RQ for emacs-orgmode@gnu.org; Fri, 15 Nov 2013 18:57:49 +0100 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Nov 2013 18:57:49 +0100 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Nov 2013 18:57:49 +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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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 org-element: Implement caching for dynamic parser * lisp/org-element.el (org-element-use-cache, org-element--cache, org-element--cache-sync-idle-time, org-element--cache-merge-changes-threshold, org-element--cache-status, org-element--cache-opening-line, org-element--cache-closing-line): New variables. (org-element-cache-reset, org-element--cache-pending-changes-p, org-element--cache-push-change, org-element--cache-cancel-changes, org-element--cache-get-key, org-element-cache-get, org-element-cache-put, org-element--shift-positions, org-element--cache-before-change, org-element--cache-record-change, org-element--cache-sync): New functions. (org-element-at-point, org-element-context): Use cache when possible. * lisp/org.el (org-mode, org-set-modules): Reset cache. * lisp/org-footnote.el (org-footnote-section): Reset cache. * testing/lisp/test-org-element.el: Update tests. This patch gives a boost to `org-element-at-point' and, to a lesser extent, to `org-element-context'. :040000 040000 d1c8eb78998a7fd1266ff2fb2748842dba4ea3b9 d7f65666fe694ec51132833e45061a38d1a1bb3f M lisp :040000 040000 ed2b1f509358abd49f10431abb6b933ae4c505de fa669197f78a08839d14a35f4906826c69233626 M testing