emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Possible cache problems


From: Suvayu Ali
Subject: Re: [O] Possible cache problems
Date: Sun, 7 Jun 2015 05:39:18 +0200
User-agent: Mutt/1.5.23.1 (2014-03-12)

On Sun, Jun 07, 2015 at 01:29:04AM +0200, Nicolas Goaziou wrote:
> Suvayu Ali <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]