From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ista Zahn Subject: Re: latest org from Elpa error: Invalid function: org-babel-header-args-safe-fn Date: Sat, 8 Aug 2015 09:54:27 -0400 Message-ID: References: <8737zv6v5f.fsf@gnu.org> <87io8r5d0t.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZO4aG-0006dw-HK for emacs-orgmode@gnu.org; Sat, 08 Aug 2015 09:54:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZO4aF-0003d4-DB for emacs-orgmode@gnu.org; Sat, 08 Aug 2015 09:54:48 -0400 In-Reply-To: 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: Xebar Saram Cc: Bastien , org mode 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 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 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 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 wrote: >> >> >> >> Hi Xebar, >> >> >> >> try removing (require 'org-install), it is not needed since long. >> >> >> >> -- >> >> Bastien >> > >> > > >