From mboxrd@z Thu Jan 1 00:00:00 1970 From: fugou nashi Subject: [babel] access table contents from table name in variable? Date: Thu, 16 May 2019 16:59:52 +1000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:47586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRAN5-0005t6-Hv for emacs-orgmode@gnu.org; Thu, 16 May 2019 03:00:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRAN4-0004dD-N6 for emacs-orgmode@gnu.org; Thu, 16 May 2019 03:00:07 -0400 Received: from mail-qk1-x744.google.com ([2607:f8b0:4864:20::744]:40204) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hRAN4-0004au-JI for emacs-orgmode@gnu.org; Thu, 16 May 2019 03:00:06 -0400 Received: by mail-qk1-x744.google.com with SMTP id q197so1613115qke.7 for ; Thu, 16 May 2019 00:00:04 -0700 (PDT) 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" To: emacs-orgmode@gnu.org Hi, I have a table containing the names of other tables and I'd like to process the contents of each of the named tables. I've searched and read the docs but can't see any way to do this. I assume it must be possible with lisp magic but I don't know where to start with that. If I could call a code block with the table name and contents as arguments for each entry in the table of table names that would be perfect. Some more details if it helps: I'm tangling C source, some of which is produced by data in tables and python code blocks that I'm currently calling using noweb syntax with the table names as arguments. This works but the tables used as arguments are named in another table so I'd like to automate the function calls too. Thanks!