From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: not exporting TODOs but exporting their subordinates Date: Wed, 8 Sep 2010 09:23:51 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0967204360==" Return-path: Received: from [140.186.70.92] (port=49860 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OtLZ4-0005xp-7Q for emacs-orgmode@gnu.org; Wed, 08 Sep 2010 10:23:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OtLZ2-0007a9-Kp for emacs-orgmode@gnu.org; Wed, 08 Sep 2010 10:23:54 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:60840) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OtLZ2-0007Zt-Br for emacs-orgmode@gnu.org; Wed, 08 Sep 2010 10:23:52 -0400 Received: by bwz6 with SMTP id 6so172296bwz.0 for ; Wed, 08 Sep 2010 07:23:51 -0700 (PDT) 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: Sam Cramer Cc: emacs-orgmode@gnu.org --===============0967204360== Content-Type: multipart/alternative; boundary=0016e6dab73f3d80ad048fc043c2 --0016e6dab73f3d80ad048fc043c2 Content-Type: text/plain; charset=ISO-8859-1 Someone *might* be able to give you a workaround, but the way org-mode works as far as I can see is that export rules always apply to the children of a higher-level headline. As such, the subitems of the non-exported TODO are taken to be notes or things related to the TODO, and since you don't want the TODO exported it would seem that you don't want the items related to the TODO exported either. Maybe if you explain a situation where you'd not want the actual TODO exported but still want items under it exported, someone could help you with a workaround or alternative suggestion? John On Tue, Sep 7, 2010 at 9:28 PM, Sam Cramer wrote: > When working on a document, I tend to sprinkle TODO headlines throughout > the doc. These are really very loosely structured; they just represent > things that I need to do somewhat near the area that I'm looking at. > > I mark these lines with a :noexport: tag in order to prevent them from > being exported. As such, they're not part of the document structure per-se, > and I often mark them as top level headlines. Since EXPORT_EXCLUDE_TAGS > applies to a tree and not to a title, this prevents the export of any > subordinate items. > > Here's an example: > > * An amazing headline > ** stuff > ** more stuff > * TODO clean up the stuff above :noexport: > ** this is stuff that I would like exported > > > In the example above, I'd like to have the everything but the TODO headline > exported, including the "this is stuff I would like exported" line. > > I guess that I could always have my TODO lines be at a very deep level. Is > there any other solution I should consider? > > Thanks, > Sam > > > > > _______________________________________________ > 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 > > --0016e6dab73f3d80ad048fc043c2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Someone might=A0be able to give you a workaround, but the way org-mo= de works as far as I can see is that export rules always apply to the child= ren of a higher-level headline. As such, the subitems of the non-exported T= ODO are taken to be notes or things related to the TODO, and since you don&= #39;t want the TODO exported it would seem that you don't want the item= s related to the TODO exported either.

Maybe if you explain a situation where you'd not want th= e actual TODO exported but still want items under it exported, someone coul= d help you with a workaround or alternative suggestion?


John

On Tue, Sep 7, 2= 010 at 9:28 PM, Sam Cramer <samcramer@gmail.com> wrote:
When working on a document, I tend to sprinkle TODO headlines throughout th= e doc. =A0These are really very loosely structured; they just represent thi= ngs that I need to do somewhat near the area that I'm looking at. =A0
I mark these lines with a :noexport: tag in order to prevent= them from being exported. =A0As such, they're not part of the document= structure per-se, and I often mark them as top level headlines. =A0Since E= XPORT_EXCLUDE_TAGS applies to a tree and not to a title, this prevents the = export of any subordinate items.

Here's an example:

* An amazing headl= ine
** stuff
** more stuff
* TODO clean up the stuff above :noexport:
** this is stuff = that I would like exported

In the exa= mple above, I'd like to have the everything but the TODO headline expor= ted, including the "this is stuff I would like exported" line.

I guess that I could always have my TODO lines be at a = very deep level. =A0Is there any other solution I should consider?

Thanks,
Sam




_______________________________________________
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


--0016e6dab73f3d80ad048fc043c2-- --===============0967204360== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0967204360==--