From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: Possible cache problems Date: Sun, 7 Jun 2015 05:39:18 +0200 Message-ID: <20150607033918.GA32212@chitra.no-ip.org> 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> <87h9qkv2kf.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1RQi-0005Mk-UA for emacs-orgmode@gnu.org; Sat, 06 Jun 2015 23:39:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1RQe-0004Sf-TD for emacs-orgmode@gnu.org; Sat, 06 Jun 2015 23:39:24 -0400 Received: from mail-wg0-x22d.google.com ([2a00:1450:400c:c00::22d]:35001) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1RQe-0004SZ-MJ for emacs-orgmode@gnu.org; Sat, 06 Jun 2015 23:39:20 -0400 Received: by wgme6 with SMTP id e6so79976333wgm.2 for ; Sat, 06 Jun 2015 20:39:20 -0700 (PDT) Received: from chitra.no-ip.org (ip82-139-115-46.lijbrandt.net. [82.139.115.46]) by mx.google.com with ESMTPSA id cd9sm9283681wjc.34.2015.06.06.20.39.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 Jun 2015 20:39:19 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87h9qkv2kf.fsf@nicolasgoaziou.fr> 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 Org mode On Sun, Jun 07, 2015 at 01:29:04AM +0200, Nicolas Goaziou wrote: > 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))) I should have caught that! I guess I'm too distracted from everything else at the moment :-p. Thanks a lot. Let's see how this goes ... Cheers, -- Suvayu Open source is the future. It sets us free.