all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Most Recent Org Update
@ 2013-11-04 15:21 Sam Flint
  2013-11-04 19:59 ` Achim Gratz
  2013-11-05 19:51 ` Nicolas Goaziou
  0 siblings, 2 replies; 8+ messages in thread
From: Sam Flint @ 2013-11-04 15:21 UTC (permalink / raw)
  To: Org-Mode

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?

Thanks
-- 
Sam Flint
swflint@flintfam.org
freenode: swflint
(402) 517-8468
http://flintfam.org/~swflint
BAFBF3FF

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Most Recent Org Update
  2013-11-04 15:21 Most Recent Org Update Sam Flint
@ 2013-11-04 19:59 ` Achim Gratz
  2013-11-05  1:13   ` Samuel W. Flint
  2013-11-05  2:51   ` Vladimir Lomov
  2013-11-05 19:51 ` Nicolas Goaziou
  1 sibling, 2 replies; 8+ messages in thread
From: Achim Gratz @ 2013-11-04 19:59 UTC (permalink / raw)
  To: emacs-orgmode

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.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Most Recent Org Update
  2013-11-04 19:59 ` Achim Gratz
@ 2013-11-05  1:13   ` Samuel W. Flint
  2013-11-05  1:39     ` Samuel W. Flint
  2013-11-05  2:51   ` Vladimir Lomov
  1 sibling, 1 reply; 8+ messages in thread
From: Samuel W. Flint @ 2013-11-05  1:13 UTC (permalink / raw)
  To: Achim Gratz, emacs-orgmode

On Mon, November 4, 2013 1:59 pm, Achim Gratz wrote:
> 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, org-element-cache-reset isn't even in my .emacs.  And yes, I did
reload org, I did say I restarted emacs, now, didn't I?


Sam
-- 
Sam Flint
swflint@flintfam.org
freenode: swflint
(402) 517-8468
http://flintfam.org/~swflint
BAFBF3FF

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Most Recent Org Update
  2013-11-05  1:13   ` Samuel W. Flint
@ 2013-11-05  1:39     ` Samuel W. Flint
  0 siblings, 0 replies; 8+ messages in thread
From: Samuel W. Flint @ 2013-11-05  1:39 UTC (permalink / raw)
  To: emacs-orgmode

On Mon, November 4, 2013 7:13 pm, Samuel W. Flint wrote:
> On Mon, November 4, 2013 1:59 pm, Achim Gratz wrote:
>> 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, org-element-cache-reset isn't even in my .emacs.  And yes, I did
> reload org, I did say I restarted emacs, now, didn't I?
I neglected to mention the fact that switching to the maint branch fixed
the problem.

Sam

-- 
Sam Flint
swflint@flintfam.org
freenode: swflint
(402) 517-8468
http://flintfam.org/~swflint
BAFBF3FF

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Most Recent Org Update
  2013-11-04 19:59 ` Achim Gratz
  2013-11-05  1:13   ` Samuel W. Flint
@ 2013-11-05  2:51   ` Vladimir Lomov
  2013-11-05  7:24     ` Dov Grobgeld
  1 sibling, 1 reply; 8+ messages in thread
From: Vladimir Lomov @ 2013-11-05  2:51 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Most Recent Org Update
  2013-11-05  2:51   ` Vladimir Lomov
@ 2013-11-05  7:24     ` Dov Grobgeld
  2013-11-05  8:29       ` Vladimir Lomov
  0 siblings, 1 reply; 8+ messages in thread
From: Dov Grobgeld @ 2013-11-05  7:24 UTC (permalink / raw)
  To: Vladimir Lomov; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1599 bytes --]

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 <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 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
>
>

[-- Attachment #2: Type: text/html, Size: 2477 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Most Recent Org Update
  2013-11-05  7:24     ` Dov Grobgeld
@ 2013-11-05  8:29       ` Vladimir Lomov
  0 siblings, 0 replies; 8+ messages in thread
From: Vladimir Lomov @ 2013-11-05  8:29 UTC (permalink / raw)
  To: Dov Grobgeld; +Cc: emacs-orgmode

Hello,
** Dov Grobgeld [2013-11-05 09:24:24 +0200]:

> 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.

I noticed that 'org-element-cache-reset' function is "defined" in
'org.el' (actually it is "declare-function" as many others) and used in
2 placed in that file.

At 1/5 of 'org.el' file there is (require 'org-footnote) and in that
file there only one "call" to org-element-cache-reset function *without*
defining it (no 'declare-function'). That "call" is in function
'org-footnote-section' and has form

  :initialize 'custom-initialize-set
  :set (lambda (var val) (set var val) (org-element-cache-reset 'all))
    
As I understand, the chain: (require 'org) [in .emacs] which it turns
(require 'org-footnote) which has 'initialize' and call to
'org-element-cache-reset' leads to this issue.

(As I said earlier I don't know Emacs Lisp well enough so use quoted
terms).

I tried to put 'declare-function' into 'org-footnote.el' but without
luck (other error message), so I came up to my workaround (I noticed
that there is a line in 'org.el' which do something with
'org-footnote-section' and set it to nil).

---
WBR, Vladimir Lomov


-- 
Fourth Law of Applied Terror:
	The night before the English History mid-term, your Biology
	instructor will assign 200 pages on planaria.

Corollary:
	Every instructor assumes that you have nothing else to do except
	study for that instructor's course.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Most Recent Org Update
  2013-11-04 15:21 Most Recent Org Update Sam Flint
  2013-11-04 19:59 ` Achim Gratz
@ 2013-11-05 19:51 ` Nicolas Goaziou
  1 sibling, 0 replies; 8+ messages in thread
From: Nicolas Goaziou @ 2013-11-05 19:51 UTC (permalink / raw)
  To: Sam Flint; +Cc: Org-Mode

Hello,

Sam Flint <swflint@flintfam.org> 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?

Thank you for reporting it.

This should now be fixed. Could you confirm it?


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-11-05 19:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-04 15:21 Most Recent Org Update Sam Flint
2013-11-04 19:59 ` Achim Gratz
2013-11-05  1:13   ` Samuel W. Flint
2013-11-05  1:39     ` Samuel W. Flint
2013-11-05  2:51   ` Vladimir Lomov
2013-11-05  7:24     ` Dov Grobgeld
2013-11-05  8:29       ` Vladimir Lomov
2013-11-05 19:51 ` Nicolas Goaziou

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.