emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ista Zahn <istazahn@gmail.com>
To: Xebar Saram <zeltakc@gmail.com>
Cc: Bastien <bzg@gnu.org>, org mode <emacs-orgmode@gnu.org>
Subject: Re: latest org from Elpa error: Invalid function: org-babel-header-args-safe-fn
Date: Sat, 8 Aug 2015 09:54:27 -0400	[thread overview]
Message-ID: <CA+vqiLEQP0nYKnzoJ94bP1nADRHmCdCvP0r-9kErutH2dj31Og@mail.gmail.com> (raw)
In-Reply-To: <CAOQHXPrdwTKa7j+GBbYAvoCnt+EysYuXpT7RCFQS3nv8RUe1Rw@mail.gmail.com>

Unfortunately I now can't reproduce the problem, so I can't check if
my suggestion to byte compile ob-R.el works or not. When I did observe
the issue you describe that seemed to fix it, and at least one other
person confirmed that it worked for them as well.

Since it doesn't work for you I suggest removing org-plus-contrib (or
org), starting emacs with 'emacs -Q' and running something like

(require 'package)
(add-to-list 'package-archives
             '("org" . "http://orgmode.org/elpa/") t)
(package-initialize)
(package-install 'org-plus-contrib)
;; or (package-install 'org)

Best,
Ista

On Sat, Aug 8, 2015 at 12:07 AM, Xebar Saram <zeltakc@gmail.com> wrote:
> Hi Ista
>
> i did do a byte compiling but that didnt help. i got this message when i did
> byte compile
>
> Compiling no file at Sat Aug  8 07:06:30 2015
> Leaving directory `/home/zeltak/.emacs.d/elpa/ace-isearch-20150807.1803'
> Compiling file /home/zeltak/.emacs.d/elpa/org-20150805/ob-R.el at Sat Aug  8
> 07:06:55 2015
> Entering directory `/home/zeltak/.emacs.d/elpa/org-20150805/'
> ob-R.el:72:11:Warning: reference to free variable
> `org-babel-safe-header-args'
>
> In end of data:
> ob-R.el:470:1:Warning: the following functions are not known to be defined:
>     org-babel-header-args-safe-fn, org-babel-graphical-output-file
>
> best
>
> Z
>
>
> On Fri, Aug 7, 2015 at 10:01 PM, Ista Zahn <istazahn@gmail.com> wrote:
>>
>> We discussed this already in another thread[0]. The upshot was run
>> "M-x byte-compile-file" on ob-R.el.
>>
>> Best,
>> Ista
>> [0] https://www.mail-archive.com/emacs-orgmode@gnu.org/msg98762.html
>>
>> On Fri, Aug 7, 2015 at 12:47 PM, Xebar Saram <zeltakc@gmail.com> wrote:
>> >
>> > Thx for the response Bastien
>> >
>> > i removed (require 'org-install) from my init.el file (correct?) and
>> > restarted emacs but get the same error
>> >
>> > Invalid function: org-babel-header-args-safe-fn
>> >
>> > i also tried now to downgrade to previous version from 3/8/15 and the
>> > error
>> > is gone so its 100% reproducible with the 5/8/15 elpa version
>> >
>> > thx again
>> >
>> > Z
>> >
>> >
>> >
>> > On Fri, Aug 7, 2015 at 6:33 PM, Bastien <bzg@gnu.org> wrote:
>> >>
>> >> Hi Xebar,
>> >>
>> >> try removing (require 'org-install), it is not needed since long.
>> >>
>> >> --
>> >>  Bastien
>> >
>> >
>
>

  reply	other threads:[~2015-08-08 13:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-07 12:52 latest org from Elpa error: Invalid function: org-babel-header-args-safe-fn Xebar Saram
2015-08-07 14:16 ` Bastien Guerry
2015-08-07 14:38   ` Xebar Saram
2015-08-07 15:33     ` Bastien
2015-08-07 16:47       ` Xebar Saram
2015-08-07 19:01         ` Ista Zahn
2015-08-08  4:07           ` Xebar Saram
2015-08-08 13:54             ` Ista Zahn [this message]
2015-09-04 19:28               ` Mikhail Titov
2015-08-08  7:28 ` Kyle Meyer
2015-08-08  7:47   ` Xebar Saram
2015-08-08 17:15     ` Kyle Meyer
2015-08-08 19:08       ` Xebar Saram

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=CA+vqiLEQP0nYKnzoJ94bP1nADRHmCdCvP0r-9kErutH2dj31Og@mail.gmail.com \
    --to=istazahn@gmail.com \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=zeltakc@gmail.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).