From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: "user-error: No language for src block: (unnamed)" when running `org-icalendar-combine-agenda-files` Date: Fri, 21 Aug 2015 13:19:52 -0700 Message-ID: References: <874mjsq2r7.fsf@nicolasgoaziou.fr> <8737zcoh9r.fsf@nicolasgoaziou.fr> <87y4h4n0nj.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSsnA-0007RA-TR for emacs-orgmode@gnu.org; Fri, 21 Aug 2015 16:20:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSsn5-0007Ks-Rt for emacs-orgmode@gnu.org; Fri, 21 Aug 2015 16:20:00 -0400 Received: from iport-acv6-out.ucsd.edu ([132.239.0.13]:31309) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSsn5-0007Jx-Jv for emacs-orgmode@gnu.org; Fri, 21 Aug 2015 16:19:55 -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: Ista Zahn Cc: Andreas Leha , emacs-orgmode Mailinglist On Fri, 21 Aug 2015, Ista Zahn wrote: > On Fri, Aug 21, 2015 at 11:04 AM, Nicolas Goaziou > wrote: >> Ista Zahn writes: >> >>> I agree that it is safer. In my case its safer like a 10 MPH speed >>> limit. Safe yes, but too slow! >> >> Doesn't Babel :cache property help here? > > It does actually, to my surprise. I have not been using :cache because > the documentation says > > "Note that the :cache header argument will not attempt to cache > results when the :session header argument is used" > > and since I almost always use :session I didn't expect this to work. > To my surprise it does (at least with R source blocks, I haven't > tested yet with others). Can I now rely on this to work even with > :session? AFAICS, (reading `org-babel-exp-do-export') if you do not use `:results silent' it will work. Where this does not work is when `:results silent' is used. This does not execute a second time: #+BEGIN_SRC R :results output :session :cache yes date() #+END_SRC but changing to `:results silent' will run without updating the cached RESULTS (if any) every time. HTH, Chuck