From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael C Gilbert Subject: Re: how to include items (filtered) from other org files? Date: Wed, 3 Aug 2011 20:14:31 -0700 Message-ID: <28C1BD26-2B4B-4B7E-BC65-2CCB1266963A@gilbert.org> References: <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]:41634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QooOJ-0004dz-IR for emacs-orgmode@gnu.org; Wed, 03 Aug 2011 23:14:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QooOI-00078B-8c for emacs-orgmode@gnu.org; Wed, 03 Aug 2011 23:14:35 -0400 Received: from peach.gilbert.org ([74.94.69.218]:57829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QooOH-00077C-VV for emacs-orgmode@gnu.org; Wed, 03 Aug 2011 23:14:34 -0400 Received: from localhost (localhost [127.0.0.1]) by peach.gilbert.org (Postfix) with ESMTP id 5656471B7F1 for ; Wed, 3 Aug 2011 20:14:32 -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 qpMqJdrT9T0r for ; Wed, 3 Aug 2011 20:14:31 -0700 (PDT) Received: from [192.168.1.147] (unknown [10.1.10.10]) by peach.gilbert.org (Postfix) with ESMTPSA id B5C7971B7E4 for ; Wed, 3 Aug 2011 20:14:31 -0700 (PDT) In-Reply-To: <3C5C49D0-44E9-4F0D-A37C-9C7D74A05514@gilbert.org> 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 I'm going to narrow my question a bit because by now I've figured out = that the most likely course to follow should be the use of a dynamic = block. Is that correct? What I'm not sure of is whether I need to develop a function from = scratch to crawl through certain files for tasks with particular tags or = whether there are functions that I can leverage to do this (such as some = of the functions upon which the agenda depends, etc). I am way out of my = depth on this one, but with a few pointers I feel like it may be a good = way for me to keep learning.... TIA =97 Michael On Aug 3, 2011, at 5:40 PM, Michael Gilbert wrote: > Here's my challenge: >=20 > 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 >=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. >=20 > 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. >=20 > I'm pretty lost as to how to pursue this. Any thoughts?