From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Gilbert Subject: how to include items (filtered) from other org files? Date: Wed, 3 Aug 2011 17:40:05 -0700 Message-ID: <3C5C49D0-44E9-4F0D-A37C-9C7D74A05514@gilbert.org> Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qolyr-0000UJ-Fr for emacs-orgmode@gnu.org; Wed, 03 Aug 2011 20:40:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qolyq-0006lD-H8 for emacs-orgmode@gnu.org; Wed, 03 Aug 2011 20:40:09 -0400 Received: from peach.gilbert.org ([74.94.69.218]:57114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qolyp-0006jg-VI for emacs-orgmode@gnu.org; Wed, 03 Aug 2011 20:40:08 -0400 Received: from localhost (localhost [127.0.0.1]) by peach.gilbert.org (Postfix) with ESMTP id CA22671AD6C for ; Wed, 3 Aug 2011 17:40:05 -0700 (PDT) Received: from peach.gilbert.org ([127.0.0.1]) by localhost (peach.gilbert.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s8J0MrKLkNJ7 for ; Wed, 3 Aug 2011 17:40:05 -0700 (PDT) Received: from [10.1.10.12] (unknown [10.1.10.12]) by peach.gilbert.org (Postfix) with ESMTPSA id 75CAA71AD5F for ; Wed, 3 Aug 2011 17:40:05 -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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Mailinglist Hi =97 Here's my challenge: I manage a lot of complex, overlapping projects. One of these projects = is a regular newsletter. Half of the content that goes out in this = newsletter is created by the newsletter program itself. The other half = is the result of several other projects, which produce reports and = articles that get published in the newsletter. The publishing task in = all those other projects are tagged with an 'nnpublish' tag.=20 I want to be able to work on the newsletter project in one place. I = don't want to maintain duplicate tasks in wildly different places. (You = can imagine how out of hand this would get.) What I want to do is = INCLUDE all of the other publishing tasks programmatically in the org = file that I use to manage the newsletter. I am completely stymied as to = how to do this. The only information that I've had a change to look at that touches on = the matter of including other files is in section 11.4 of the manual. If = I'm not mistaken, it applies only to export. And the only processing = that can be applied to the file being included is a limitation on which = lines to include. Unless I'm missing something, this isn't going to meet = my needs. I'm wondering if perhaps I need to be looking at code blocks. = Maybe something that uses agenda code to grab items and then renders = them in place. Oh hell, I don't know. I'm pretty lost as to how to pursue this. Any thoughts? TIA! =97 Michael