From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Millar Subject: Re: Featur request org-table-iterate-table-subtree Date: Fri, 27 Nov 2015 16:27:25 -0500 Message-ID: <5658CABD.7030103@verizon.net> References: <562C2E01.5070105@verizon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2QYU-0004fo-N8 for emacs-orgmode@gnu.org; Fri, 27 Nov 2015 16:27:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2QYQ-00023w-K2 for emacs-orgmode@gnu.org; Fri, 27 Nov 2015 16:27:46 -0500 Received: from vms173021pub.verizon.net ([206.46.173.21]:39078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2QYQ-00023r-ET for emacs-orgmode@gnu.org; Fri, 27 Nov 2015 16:27:42 -0500 Received: from [192.168.1.128] ([70.209.131.59]) by vms173021.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0NYH00HI7SXPITK0@vms173021.mailsrvcs.net> for emacs-orgmode@gnu.org; Fri, 27 Nov 2015 15:27:26 -0600 (CST) In-reply-to: <562C2E01.5070105@verizon.net> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Any thoughts? Any body? If there are two headlines each with the same set of table templates but different data in each, org-table-iterate-buffer-tables will converge; however the convergence may yield incorrect results. I suppose there are two options at the moment, rename all tables in heading 1 to heading1summary, heading1A, heading1B, etc. and heading2summary, heading2A, heading2B, etc. and change all remote references to reflect this, or set up separate org files for each set of tables although the tables pertain to the same over all subject. Neither is really acceptable, but the second is the least trouble. A third choice is worse, narrow to the heading and use org-table-iterate on each table. At least the buffer should not be widened in that case. I have missed some documentation? I thought this would be a useful feature much the same way that export-subtree. Charlie Millar On 10/24/2015 09:18 PM, Charles Millar wrote: > Please see the attached example. If I call > org-table-iterate-buffer-tables, Summary1 and Summary2 both are > calculated using the referenced tables in heading "first set of > tables" and the tables in the second heading are disregarded. > > Without going into the details there are times when I use certain form > tables in separate headlines in the same file. The entries are > different in each and I believe that a function perhaps > "org-table-iterate-subtree-tables" would be a useful addition to > org-table.el. > > Please note that narrowing the buffer to the second headline does not > help since the code in org-table-iterate-buffer-tables widens the buffer. > > Charlie Millar