emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: [babel] developments
Date: Fri, 20 Nov 2009 10:47:49 -0700	[thread overview]
Message-ID: <m2vdh5qe9m.fsf@gmail.com> (raw)

Hi,

Dan and I are releasing some accumulated developments.  They are
described below.  We hope to now turn towards improving the
documentation and test framework, as we've developed much of it into
obsolescence.

Best -- Eric

- org-babel can now cache the results of source block execution to avoid
  rerunning the same calculation.  The cache uses a sha1 hash key of the
  source code body and the header arguments to determine if
  recalculation is required.  These hash keys are kept mostly hidden in
  the #+resname line of the results of the block.  This behavior is
  turned off by default.  It is controlled through the :cache
  and :nocache header arguments.  To enable caching on a single block
  add the :cache header argument, to enable global caching change the
  value of your `org-babel-default-header-args' variable as follows

  (setq org-babel-default-header-args
        (cons '(:cache)
              (assq-delete-all :nocache org-babel-default-header-args)))

- It is now possible to fold results by tabbing on the beginning of the
  #+resname line.  This can be done automatically to all results on
  opening of a file by adding the following to your org-mode hook

  (add-hook 'org-mode-hook 'org-babel-result-hide-all)

- allow header argument values to be lisp forms, for example the
  following is now valid

  :file (format "%s/images/pca-scatter.png" dir)

- aliases
  - 'call' can now be used as an alias for 'lob'
  - 'results' can now be used as an alias for 'resname'
  - 'source' or 'function' can now be used as aliases for 'srcname'

                 reply	other threads:[~2009-11-20 17:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=m2vdh5qe9m.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).