From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou 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 Message-ID: <87bn81z66x.fsf@nicolasgoaziou.fr> References: <8760yyfvky.fsf@flynn.nichework.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56112) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQ1Gx-0000lD-CN for emacs-orgmode@gnu.org; Sun, 31 Jan 2016 18:19:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQ1Gw-0004Mk-IB for emacs-orgmode@gnu.org; Sun, 31 Jan 2016 18:19:11 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:33605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQ1Gw-0004Mc-Bq for emacs-orgmode@gnu.org; Sun, 31 Jan 2016 18:19:10 -0500 In-Reply-To: <8760yyfvky.fsf@flynn.nichework.com> (Mark A. Hershberger's message of "Tue, 12 Jan 2016 14:26:21 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Mark A. Hershberger" Cc: emacs-orgmode@gnu.org Hello, "Mark A. Hershberger" 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