From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Thum Subject: Re: Non-interactive export Date: Fri, 21 Feb 2014 22:12:01 +0100 Message-ID: <5307C121.2090407@gmx.de> References: <53067DDA.5050700@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGxOG-0002uP-4R for emacs-orgmode@gnu.org; Fri, 21 Feb 2014 16:12:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGxOA-000650-Ao for emacs-orgmode@gnu.org; Fri, 21 Feb 2014 16:12:12 -0500 Received: from mout.gmx.net ([212.227.17.22]:59038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGxOA-00064u-1W for emacs-orgmode@gnu.org; Fri, 21 Feb 2014 16:12:06 -0500 Received: from [192.168.0.12] ([37.24.151.226]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MOwY7-1WJSEO45jz-006LoK for ; Fri, 21 Feb 2014 22:12:04 +0100 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: John Hendy Cc: emacs-orgmode Sorry, I was being imprecise. I do have maxima and shell and other source bocks since the dawn of org, approximately. I did not have any gnuplot blocks until before two weeks. The gnuplot blocks break my setup, currently. So, what is weird is that maxima and shell do well but gnuplot wants its interactive things. I noticed the same behaviour when exporting interactively - babel asks me for the gnuplot stuff. Could it be that the export defaults vary per backend? My org-confirm-babel-evaluate is t. However on export, only gnuplot triggers this question. I now notice that maxima is executed on export without asking first; I guess shell is the same. Things are getting stranger... Cheers, Simon On 02/21/2014 12:38 AM, John Hendy wrote: > On Thu, Feb 20, 2014 at 4:12 PM, Simon Thum wrote: >> Hi all, >> >> I have a server over which I sync my Org files and provide drops for other >> clients, chiefly iCal and vCard. Therefore I need non-interactive export. >> >> Things recently stopped working however, and although I acknowledge it is >> likely not Org's fault maybe here I can find somewone more into lisp to help >> me out a bit. >> >> In my logs I find, since it stopped working: >> >>> Evaluate this gnuplot code block on your system? (yes or no) >> >> >> Which stops the show, waiting for input. Emacs is started with -batch and is >> given an export script. This so far avoided such questions (from org-babel?) >> successfully. I have maxima blocks since ages and do not remember having >> seen this behaviour. >> >> Does naybody have an idea what could be going on? >> >> The machine does not even have gnuplot. > > I don't think the machine matters so much as the source of Org/babel > thinking gnuplot *code* exists in one of your files. > > Can you try something like this from the directory containing the > exported files? > > grep -r "#+begin_src gnuplot" * > > I would have suggested just tweaking the variable > =org-confirm-babel-evaluate=, but I think it's more important to track > the source of this down, as turning the inquiries off implies that we > all know exactly what's going to be evaluated, and this sounds like an > instance of something not only unknown, but a change on what you > believe to be a rather unchanged system, which is definitely > concerning. > > Good luck, > John > >> >> Thanks in advance, >> >> Simon >> > >