emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Charles C. Berry" <ccberry@ucsd.edu>
To: Ista Zahn <istazahn@gmail.com>
Cc: Andreas Leha <andreas.leha@med.uni-goettingen.de>,
	emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
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	[thread overview]
Message-ID: <alpine.OSX.2.11.1508211308230.1058@charles-berrys-macbook.local> (raw)
In-Reply-To: <CA+vqiLFuv6zOVzjhk+i-8kxBQB7fg+YPa-h6W1soEi--H3uibg@mail.gmail.com>

On Fri, 21 Aug 2015, Ista Zahn wrote:

> On Fri, Aug 21, 2015 at 11:04 AM, Nicolas Goaziou
> <mail@nicolasgoaziou.fr> wrote:
>> Ista Zahn <istazahn@gmail.com> 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

      parent reply	other threads:[~2015-08-21 20:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-20  9:38 "user-error: No language for src block: (unnamed)" when running `org-icalendar-combine-agenda-files` JI, Xiang
2015-08-20  9:44 ` JI, Xiang
2015-08-21 11:50   ` Nicolas Goaziou
2015-08-21 13:46     ` Ista Zahn
2015-08-21 14:20       ` Nicolas Goaziou
2015-08-21 14:35         ` Ista Zahn
2015-08-21 14:43           ` Andreas Leha
2015-08-21 14:52             ` Ista Zahn
2015-08-21 15:04               ` Nicolas Goaziou
2015-08-21 15:57                 ` Ista Zahn
2015-08-21 20:13                   ` Aaron Ecay
2015-08-21 20:19                     ` Andreas Leha
2015-08-22  3:19                       ` Charles C. Berry
2015-08-21 20:19                   ` Charles C. Berry [this message]

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=alpine.OSX.2.11.1508211308230.1058@charles-berrys-macbook.local \
    --to=ccberry@ucsd.edu \
    --cc=andreas.leha@med.uni-goettingen.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=istazahn@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).