emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Recalculate mixed tables/source blocks
@ 2021-02-08  2:26 Ethan Glasser-Camp
  0 siblings, 0 replies; only message in thread
From: Ethan Glasser-Camp @ 2021-02-08  2:26 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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?

Thanks!

Ethan

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

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-08  2:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-08  2:26 Recalculate mixed tables/source blocks Ethan Glasser-Camp

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