From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Horn Subject: Re: Automatic noexport tag based on rules? Date: Tue, 8 Feb 2011 20:58:50 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=34977 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmzKx-0007VI-GU for emacs-orgmode@gnu.org; Tue, 08 Feb 2011 20:59:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PmzKq-00066Y-P8 for emacs-orgmode@gnu.org; Tue, 08 Feb 2011 20:59:19 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:42648) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PmzKq-00066C-JM for emacs-orgmode@gnu.org; Tue, 08 Feb 2011 20:59:12 -0500 Received: by fxm12 with SMTP id 12so6990767fxm.0 for ; Tue, 08 Feb 2011 17:59:11 -0800 (PST) In-Reply-To: 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: John Hendy Cc: emacs-orgmode I'm not handy with emacs-lisp, but perhaps someone could whip up a handy function that iterates org-refile over each TODO heading to move it into a new, top-level * Tasks headline? Then you can tag the tasks headline with :noexport:. This would destroy the "context", but I find keeping tasks in a separate heading fine for most of *my* medium sized projects. YMMV. On Tue, Feb 8, 2011 at 7:29 PM, John Hendy wrote: > Hi, > > My apologies if this has been discussed. I couldn't find it. I write > everything from work in org-mode for several reasons. Primarily, it's my > documentation system for research in order to properly document Intellectual > Property (IP) information. It's also for todos and contacts. When it comes > to exporting my notes into PDF for use in an IP notebook... I dont' want my > todos in there. > Is there a way to automatically tag TODOs with :noexport:? > Or simply add the TODO category to the noexport category altogether? > I haven't turned up anything quite along these lines. One post suggested > using "TODO keyword COMMENT" [1], but that just seems to perhaps exclude > from export (didn't try) but I know for sure it removes it from agenda view. > I want TODOs in agenda but don't want them showing up with my LaTeX export. > I typically print out my work to-date each month or so and have to comb > through my org file for that month, manually adding :noexport: to my TODOs. > Even if I still do this for a few things here and there... it will save me a > lot of time. > I suppose I could keep a separate "TODO.org" file, but I really like the > process of being able to add them anywhere -- it seems more natural to do > that in the flow, particularly in meetings, than to constantly switch > buffers or even use remember to keep sending things related to the current > topic away to their own island. > I'm 80% confident that the answer is ridiculously simply and I just haven't > searched the right thing. Thanks for enlightening me! > > Thanks, > John > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- Jeffrey Horn http://www.failuretorefrain.com/jeff/