From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Possible cache problems Date: Sun, 07 Jun 2015 01:29:04 +0200 Message-ID: <87h9qkv2kf.fsf@nicolasgoaziou.fr> References: <20150602170921.GF2027@chitra.no-ip.org> <87d21dsvox.fsf@nicolasgoaziou.fr> <20150602212111.GA3455@chitra.no-ip.org> <874mmpssv8.fsf@nicolasgoaziou.fr> <20150606193853.GG3455@chitra.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1NV3-0007DN-Pd for emacs-orgmode@gnu.org; Sat, 06 Jun 2015 19:27:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1NV2-0002BH-R3 for emacs-orgmode@gnu.org; Sat, 06 Jun 2015 19:27:37 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:47519) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1NV2-0002BD-KF for emacs-orgmode@gnu.org; Sat, 06 Jun 2015 19:27:36 -0400 In-Reply-To: <20150606193853.GG3455@chitra.no-ip.org> (Suvayu Ali's message of "Sat, 6 Jun 2015 21:38:53 +0200") 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: Suvayu Ali Cc: Emacs Org mode Suvayu Ali writes: > I do not see anything happening. In the modeline I see OrgCacheD, so > the mode is definitely enabled. However to enable it, I had to do one > of these two: > > (setq ngz-debug-mode nil) > (setq ngz-debug-mode t) My bad, it should be (define-minor-mode element-debug-mode "Minor mode to debug Org Element cache." nil " OrgCacheD" nil (if element-debug-mode (progn (setq org-element-cache-sync-idle-time 3600) (add-hook 'after-change-functions 'element-check-cache t t)) (setq org-element-cache-sync-idle-time 0.6) (remove-hook 'after-change-functions 'element-check-cache t))) Then, you can just ignore `ngz-debug-mode'. > I have to go unfold the property drawer for "asl & phi", go to the end > of the :END: line, and hit tab to reveal the next headline. I don't > think this one is cache related, maybe I should start different thread > for this. It is probably cache related. Anyway, could you check again with definition above? Thank you. Regards,