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: Wed, 10 Jun 2015 10:40:49 +0200
User-agent: Mutt/1.5.23.1 (2014-03-12)

Hi Nicolas,

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 got a message like the following one quite a few times.

  Partially completed
  ======
  WARNING. Corrupted element (table-row) at 34386
  
  Real: (table-row (:type standard :begin 34386 :end 34430 :contents-begin 
34387 :contents-end 34429 :post-blank 0 :post-affiliated 34386 :parent (table 
(:begin 34327 :end 34431 :type org :tblfm nil :contents-begin 34342 
:contents-end 34430 :value nil :post-blank 1 :post-affiliated 34342 :attr_latex 
() :parent nil))))
  
  Cached: (table-row (:type standard :begin 34386 :end 34430 :contents-begin 
34387 :contents-end 34429 :post-blank 0 :post-affiliated 34386 :parent (table 
(:begin 34328 :end 34417 :type org :tblfm nil :contents-begin 34328 
:contents-end 34416 :value nil :post-blank 1 :post-affiliated 34328 :parent 
nil))))
  Last request: [34926 34372 34328 14 (property-drawer (:begin 34276 :end 34328 
:contents-begin 34294 :contents-end 34316 :post-blank 1 :post-affiliated 34276 
:parent nil)) (table (:begin 34327 :end 34431 :type org :tblfm nil 
:contents-begin 34342 :contents-end 34430 :value nil :post-blank 1 
:post-affiliated 34342 :attr_latex () :parent nil)) 2]

I was trying to edit the attr_latex line for the following table:

  #+attr_latex: 
  | year | 2012 | 2018 | 2022 | 2028 | 2035 |
  | γ(°) |    7 |    4 |  1.3 |  0.9 |  0.6 |

Right now I'm not working with Org for a few days, but next week I'll
start again.  So maybe I'll get a few other data points soon.

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.



reply via email to

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