From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: [Orgmode] Re: Automatic noexport tag based on rules? Date: Tue, 29 Mar 2011 23:15:45 +0200 Message-ID: <22D23BD3-D73D-45F7-B7A5-E34BBD6E9788@gmail.com> References: <87oc4t7ou4.fsf@fastmail.fm> <62A8413A-58B4-4566-9717-859DC7CBAE45@gmail.com> Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=42821 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4gGT-0006gX-J0 for emacs-orgmode@gnu.org; Tue, 29 Mar 2011 17:15:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4gGS-00027M-Fl for emacs-orgmode@gnu.org; Tue, 29 Mar 2011 17:15:49 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:60968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4gGS-00027G-A1 for emacs-orgmode@gnu.org; Tue, 29 Mar 2011 17:15:48 -0400 Received: by eyd9 with SMTP id 9so219701eyd.0 for ; Tue, 29 Mar 2011 14:15:47 -0700 (PDT) In-Reply-To: <62A8413A-58B4-4566-9717-859DC7CBAE45@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: Matt Lundin , emacs-orgmode On 29.3.2011, at 23:05, Carsten Dominik wrote: >=20 > On 29.3.2011, at 20:40, Matt Lundin wrote: >=20 >> John Hendy writes: >>=20 >>> On Sun, Mar 27, 2011 at 2:37 PM, Samuel Wales = wrote: >>>> That is indeed an excellent solution if you want to add a tag for a >>>> todo kw. However, I wonder if there is a direct approach, where = the >>>> exporter simply does not export if it is a certain todo kw. Is the >>>> solution to have the exporter delete anything with that todo kw? = Or >>>> is there a way to have it skip? >>>=20 >>> I think that was Carsten's suggestion a bit back, but I'm not sure. = I >>> think I asked if it was just deleting as it channeled through the >>> export function but didn't get a response. Looking back, though, I'm >>> sure that's what it was and my question was probably a bit silly :) >>=20 >> You are correct. The export hook that Carsten provided deletes items = in >> a temporary buffer, not in your org files. In fact, you can use the >> export hooks to do almost anything to this temporary buffers before = they >> are exported; your original org files will not be touched. >>=20 >>> And yes, I have turned this off as I find adding :noexport: to ever >>> todo in addition to whatever tags I already use to ID the = project/task >>> is annoying and ugly. I've toyed with simply having a * Tracking >>> headline at the beginning of each file where I dump todos via = capture >>> and track time and then having that have a top level noexport tag to >>> take care of things. That's pretty much nice, but I still like todos >>> created during meeting minutes or in the context of some other = project >>> notes to stay where they make sense rather than separating them from >>> their location and putting them elsewhere. >>>=20 >>> So.... I've got some solutions but am not quite happy yet. I should >>> re-visit Carsten's solution to strip it on export. That would = probably >>> be the ticket. >>=20 >> Yes, that would be the easiest solution, requiring no additional >> markup. >=20 > I have a good patch for this lined up - will check it in tomorrow. In fact, I just now pushed it. To export without DONE tasks, use #+OPTION: donetasks:nil - Carsten