From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Mark A. Hershberger" <mah@nichework.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: check that org-element--cache-sync-keys is non-nil before clrhash [8.3.4 (8.3.4-42-gae73c7-elpa @ /home/mah/.emacs.d/elpa/org-20160425/)]
Date: Mon, 09 May 2016 22:40:05 +0200 [thread overview]
Message-ID: <878tzjynh6.fsf@saiph.selenimh> (raw)
In-Reply-To: <87h9e8dlqr.fsf@flynn.nichework.com> (Mark A. Hershberger's message of "Sun, 08 May 2016 22:11:20 -0400")
Hello,
"Mark A. Hershberger" <mah@nichework.com> writes:
> It looks like a timer or event is being invoked and that is resulting in
> the error.
>
> If you have any ideas of what I should look for in my configuration, I
> could poke around, but right now I don't know what to even look for.
The following shouldn't happen.
timer-event-handler([t 0 0 600000 nil org-element--cache-sync (#<buffer *WoMan 1 wget*>) idle 0])
It means `org-element--cache-set-timer' is called on a non-Org buffer.
Only 3 functions call it:
- `org-element-cache-refresh' :: This function is a no-op if current
buffer is a non-Org buffer, per `org-element--cache-active-p'.
- `org-element--cache-after-change' :: This is set as an
`after-change-function' with `org-element-cache-reset'. Again, the
latter is a no-op if current buffer is non-Org.
- `org-element--cache-sync' :: This one is more complex. It is called by
`org-element-at-point' but guarded by
`org-element--cache-active-p'. It is also called by
`org-element-cache-refresh'. Ditto. Eventually, it is called by
`org-element--cache-submit-request'. This function is called by
either `org-element-cache-refresh' or
`org-element--cache-after-change'. See above.
Long story short. I don't know where that could happen. You could
instrument `org-element--cache-set-timer' so as to ring a bell when it
is called on a non-Org buffer.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2016-05-09 20:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-02 16:31 Bug: check that org-element--cache-sync-keys is non-nil before clrhash [8.3.4 (8.3.4-42-gae73c7-elpa @ /home/mah/.emacs.d/elpa/org-20160425/)] Mark A. Hershberger
2016-05-06 15:21 ` Nicolas Goaziou
2016-05-09 2:11 ` Mark A. Hershberger
2016-05-09 20:40 ` Nicolas Goaziou [this message]
2016-05-22 18:16 ` Mark A. Hershberger
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=878tzjynh6.fsf@saiph.selenimh \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=mah@nichework.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).