From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dov Grobgeld Subject: Re: Most Recent Org Update Date: Tue, 5 Nov 2013 09:24:24 +0200 Message-ID: References: <87ob608a62.fsf@wall.flintfam.org> <87a9hklyyp.fsf@Rainer.invalid> <20131105025153.GE18733@smoon> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c350da09171a04ea68ec82 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vdazz-0003Bb-0K for emacs-orgmode@gnu.org; Tue, 05 Nov 2013 02:24:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vdazx-0004sF-W1 for emacs-orgmode@gnu.org; Tue, 05 Nov 2013 02:24:26 -0500 Received: from mail-we0-x22a.google.com ([2a00:1450:400c:c03::22a]:59363) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vdazx-0004rl-Kw for emacs-orgmode@gnu.org; Tue, 05 Nov 2013 02:24:25 -0500 Received: by mail-we0-f170.google.com with SMTP id u57so3114807wes.1 for ; Mon, 04 Nov 2013 23:24:24 -0800 (PST) In-Reply-To: <20131105025153.GE18733@smoon> 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: Vladimir Lomov Cc: emacs-orgmode --001a11c350da09171a04ea68ec82 Content-Type: text/plain; charset=UTF-8 I had the same problem after pulling from git yesterday and worked around it by doing: ; This is a bug work around (defun org-element-cache-reset (&optional all) (interactive)) before requiring org. Regards, Dov On Tue, Nov 5, 2013 at 4:51 AM, Vladimir Lomov wrote: > Hello, > ** Achim Gratz [2013-11-04 20:59:58 +0100]: > > > Sam Flint writes: > > > I pulled org from git just now, restarted Emacs, and got this error: > > > Symbol's function definition is void: org-element-chache reset > > > Any ideas why? > > > You probably meant to type org-element-cache-reset... my guess is you > > didn't actually re-load Org after the Git pull. > > No, that call was introduced in commit > 0cecf32a0ae559266555b96668dc305710366c96 > by Nicolas Goaziou. > > I faced with the same problem; I started a fresh session of Emacs with > Org-mode from git but Emacs stuck showing me that message (Symbol's > function ...). > > I don't know Emacs Lisp very well but according to the commit now > 'org-footnote-section' must call 'org-element-cache-reset' at > initialization time (:set line in defcustom of 'org-footnote-section') > and exactly that causes a problem. > > The workaround I found is to set 'org-section-footnote' to nil _before_ > (require 'org) in .emacs. > > > Regards, > > Achim. > > --- > WBR, Vladimir Lomov > > -- > The net is like a vast sea of lutefisk with tiny dinosaur brains embedded > in it here and there. Any given spoonful will likely have an IQ of 1, but > occasional spoonfuls may have an IQ more than six times that! > -- James 'Kibo' Parry > > --001a11c350da09171a04ea68ec82 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I had the same problem after pulling from git yesterday= and worked around it by doing:

; This is a bug work around
(defu= n org-element-cache-reset (&optional all) (interactive))

before requiring org.

Regards,
Dov

<= /div>


On Tue,= Nov 5, 2013 at 4:51 AM, Vladimir Lomov <lomov.vl@gmail.com> wrote:
Hello,
** Achim Gratz [2013-11-04 20:59:58 +0100]:

> Sam Flint writes:
> > I pulled org from git just now, restarted Emacs, and got this err= or:
> > Symbol's function definition is void: org-element-chache rese= t
> > Any ideas why?

> You probably meant to type org-element-cache-reset... my guess is you<= br> > didn't actually re-load Org after the Git pull.

No, that call was introduced in commit
0cecf32a0ae559266555b96668dc305710366c96
by Nicolas Goaziou.

I faced with the same problem; I started a fresh session of Emacs with
Org-mode from git but Emacs stuck showing me that message (Symbol's
function ...).

I don't know Emacs Lisp very well but according to the commit now
'org-footnote-section' must call 'org-element-cache-reset' = at
initialization time (:set line in defcustom of 'org-footnote-section= 9;)
and exactly that causes a problem.

The workaround I found is to set 'org-section-footnote' to nil _bef= ore_
(require 'org) in .emacs.

> Regards,
> Achim.

---
WBR, Vladimir Lomov

--
The net is like a vast sea of lutefisk with tiny dinosaur brains embedded in it here and there. Any given spoonful will likely have an IQ of 1, but occasional spoonfuls may have an IQ more than six times that!
=C2=A0 =C2=A0 =C2=A0 =C2=A0 -- James 'Kibo' Parry


--001a11c350da09171a04ea68ec82--