emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ethan Glasser-Camp <ethan.glasser.camp@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Recalculate mixed tables/source blocks
Date: Sun, 7 Feb 2021 21:26:58 -0500	[thread overview]
Message-ID: <CAOJ+Ob09-g4mSkT1zE7P5Lwy8KqH5ERPS+ULpruAgVoPPfOsXA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1073 bytes --]

Hi! I've been learning about the spreadsheet features of org-table and how
to use them with org-babel. They're both really cool and I was happy to be
able to convert a Gnumeric spreadsheet into something that I can keep in
version control.

Now I have a document that consists of mutually-referential tables and
source blocks. So, for example, I have table A, then table B which refers
to table A, then source block C which accesses table B using a noweb
reference, and finally table D which uses the output of source block C in
its formulas.

I want to be able to change the "inputs" in table A and see the updates in
table D. So far the easiest way I have found to do this is to use
`org-table-recalculate-buffer-tables`, then `org-babel-execute-buffer`,
then `org-table-recalculate-buffer-tables` again. I already made at least
one mistake by rerunning the source block without remembering to refresh
intermediate tables. I was wondering if there is another way, either
simpler or more robust?



[Please cc me on replies, I'm not subscribed to the list.]

[-- Attachment #2: Type: text/html, Size: 1260 bytes --]

                 reply	other threads:[~2021-02-08  2:29 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:

  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=CAOJ+Ob09-g4mSkT1zE7P5Lwy8KqH5ERPS+ULpruAgVoPPfOsXA@mail.gmail.com \
    --to=ethan.glasser.camp@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* 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


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).