emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Cc: Emacs Org mode <emacs-orgmode@gnu.org>
Subject: Re: Possible cache problems
Date: Sun, 07 Jun 2015 01:29:04 +0200	[thread overview]
Message-ID: <87h9qkv2kf.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <20150606193853.GG3455@chitra.no-ip.org> (Suvayu Ali's message of "Sat, 6 Jun 2015 21:38:53 +0200")

Suvayu Ali <fatkasuvayu+linux@gmail.com> 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,

  reply	other threads:[~2015-06-06 23:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-02 17:09 Possible cache problems Suvayu Ali
2015-06-02 20:26 ` Nicolas Goaziou
2015-06-02 21:21   ` Suvayu Ali
2015-06-02 21:27     ` Nicolas Goaziou
2015-06-02 21:35       ` Suvayu Ali
2015-06-06 19:38       ` Suvayu Ali
2015-06-06 23:29         ` Nicolas Goaziou [this message]
2015-06-07  3:39           ` Suvayu Ali
2015-06-10  8:40           ` Suvayu Ali
2015-06-10 21:41             ` Rasmus
2015-06-11  7:00             ` Nicolas Goaziou
2015-06-11 15:06               ` Suvayu Ali
2015-06-14 12:58             ` Nicolas Goaziou
2015-06-15  1:21               ` Suvayu Ali

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h9qkv2kf.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=fatkasuvayu+linux@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).