From: Vladimir Lomov <lomov.vl@gmail.com>
To: Dov Grobgeld <dov.grobgeld@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Most Recent Org Update
Date: Tue, 5 Nov 2013 17:29:01 +0900 [thread overview]
Message-ID: <20131105082901.GF18733@smoon> (raw)
In-Reply-To: <CA++fsGETnoE4mWg8NagXoS+SmTi3izYwvcnbW5JPdSMMMtg-rw@mail.gmail.com>
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.
next prev parent reply other threads:[~2013-11-05 8:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2013-11-05 19:51 ` Nicolas Goaziou
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=20131105082901.GF18733@smoon \
--to=lomov.vl@gmail.com \
--cc=dov.grobgeld@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).