emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Mark A. Hershberger" <mah@nichework.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Time called when org-element--cache-sync-keys is nil [8.3.3 (8.3.3-elpa @ /home/mah/.emacs.d/elpa/org-20160108/)]
Date: Mon, 01 Feb 2016 00:21:10 +0100	[thread overview]
Message-ID: <87bn81z66x.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <8760yyfvky.fsf@flynn.nichework.com> (Mark A. Hershberger's message of "Tue, 12 Jan 2016 14:26:21 -0500")

Hello,

"Mark A. Hershberger" <mah@nichework.com> writes:

> When I open begin to write an email using mu4e, I get an error
> complaining that clrhash wants a hash-table and got nil.
>
> Patch that fixes this:
>
> diff --git a/lisp/org-element.el b/lisp/org-element.el
> index f407578..0941468 100644
> --- a/lisp/org-element.el
> +++ b/lisp/org-element.el
> @@ -5055,7 +5055,8 @@ updated before current modification are actually submitted."
>  	;; Otherwise, reset keys.
>  	(if org-element--cache-sync-requests
>  	    (org-element--cache-set-timer buffer)
> -	  (clrhash org-element--cache-sync-keys))))))
> +	  (when org-element--cache-sync-keys
> +            (clrhash org-element--cache-sync-keys)))))))

Actually, I preferred disabling cache for buffers using orgstruct-mode
(and not in Org mode).

Anyway, this is fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2016-01-31 23:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-12 19:26 Bug: Time called when org-element--cache-sync-keys is nil [8.3.3 (8.3.3-elpa @ /home/mah/.emacs.d/elpa/org-20160108/)] Mark A. Hershberger
2016-01-31 23:21 ` Nicolas Goaziou [this message]

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=87bn81z66x.fsf@nicolasgoaziou.fr \
    --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).