* not exporting TODOs but exporting their subordinates
@ 2010-09-08 2:28 Sam Cramer
2010-09-08 14:23 ` John Hendy
2010-09-08 16:14 ` Sebastian Rose
0 siblings, 2 replies; 7+ messages in thread
From: Sam Cramer @ 2010-09-08 2:28 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 958 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1396 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: not exporting TODOs but exporting their subordinates
2010-09-08 2:28 not exporting TODOs but exporting their subordinates Sam Cramer
@ 2010-09-08 14:23 ` John Hendy
2010-09-08 19:34 ` Sam Cramer
2010-09-08 16:14 ` Sebastian Rose
1 sibling, 1 reply; 7+ messages in thread
From: John Hendy @ 2010-09-08 14:23 UTC (permalink / raw)
To: Sam Cramer; +Cc: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 1896 bytes --]
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 <samcramer@gmail.com> 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
>
>
[-- Attachment #1.2: Type: text/html, Size: 2643 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: not exporting TODOs but exporting their subordinates
2010-09-08 2:28 not exporting TODOs but exporting their subordinates Sam Cramer
2010-09-08 14:23 ` John Hendy
@ 2010-09-08 16:14 ` Sebastian Rose
2010-09-08 19:36 ` Sam Cramer
1 sibling, 1 reply; 7+ messages in thread
From: Sebastian Rose @ 2010-09-08 16:14 UTC (permalink / raw)
To: Sam Cramer; +Cc: emacs-orgmode
Sam Cramer <samcramer@gmail.com> writes:
> 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
Here's my proposal:
* An amazing headline
** stuff
** more stuff
******* TODO clean up the stuff above :noexport:
** this is stuff that I would like exported
Or just use inline tasks. They are made for this purpose.
Sebastian
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: not exporting TODOs but exporting their subordinates
2010-09-08 14:23 ` John Hendy
@ 2010-09-08 19:34 ` Sam Cramer
2010-09-08 19:40 ` John Hendy
0 siblings, 1 reply; 7+ messages in thread
From: Sam Cramer @ 2010-09-08 19:34 UTC (permalink / raw)
To: John Hendy; +Cc: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 2654 bytes --]
Thanks for your response!
On Wed, Sep 8, 2010 at 7:23 AM, John Hendy <jw.hendy@gmail.com> wrote:
> 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?
>
The situation is one that arguably results from a lack of discipline on my
part (hence my interest in org-mode!): I add TODO items to documents I'm
writing without much regard as to how they fit into the overall structure of
the file. In other words, my TODOs are generally "one-liners" which are
sprinkled with abandon throughout the file.
Perhaps as I get more familiar with org-mode I will use TODOs in a more
structured way, but right now they are not a structured list of tasks but
rather a bunch of reminders distributed through a document.
Does that make things clearer?
Sam
>
>
> John
>
> On Tue, Sep 7, 2010 at 9:28 PM, Sam Cramer <samcramer@gmail.com> 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
>>
>>
>
[-- Attachment #1.2: Type: text/html, Size: 3951 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: not exporting TODOs but exporting their subordinates
2010-09-08 16:14 ` Sebastian Rose
@ 2010-09-08 19:36 ` Sam Cramer
0 siblings, 0 replies; 7+ messages in thread
From: Sam Cramer @ 2010-09-08 19:36 UTC (permalink / raw)
To: Sebastian Rose; +Cc: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 1533 bytes --]
Ah, org-inlinetask.el, correct? Looks great -- thanks for the advice!
Sam
On Wed, Sep 8, 2010 at 9:14 AM, Sebastian Rose <sebastian_rose@gmx.de>wrote:
> Sam Cramer <samcramer@gmail.com> writes:
> > 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
>
> Here's my proposal:
>
>
> * An amazing headline
> ** stuff
> ** more stuff
> ******* TODO clean up the stuff above :noexport:
> ** this is stuff that I would like exported
>
> Or just use inline tasks. They are made for this purpose.
>
>
> Sebastian
>
[-- Attachment #1.2: Type: text/html, Size: 2679 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: not exporting TODOs but exporting their subordinates
2010-09-08 19:34 ` Sam Cramer
@ 2010-09-08 19:40 ` John Hendy
2010-09-08 20:21 ` Sam Cramer
0 siblings, 1 reply; 7+ messages in thread
From: John Hendy @ 2010-09-08 19:40 UTC (permalink / raw)
To: Sam Cramer; +Cc: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 3347 bytes --]
On Wed, Sep 8, 2010 at 2:34 PM, Sam Cramer <samcramer@gmail.com> wrote:
> Thanks for your response!
>
> On Wed, Sep 8, 2010 at 7:23 AM, John Hendy <jw.hendy@gmail.com> wrote:
>
>> 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?
>>
>
> The situation is one that arguably results from a lack of discipline on my
> part (hence my interest in org-mode!): I add TODO items to documents I'm
> writing without much regard as to how they fit into the overall structure of
> the file. In other words, my TODOs are generally "one-liners" which are
> sprinkled with abandon throughout the file.
>
> Perhaps as I get more familiar with org-mode I will use TODOs in a more
> structured way, but right now they are not a structured list of tasks but
> rather a bunch of reminders distributed through a document.
>
> Does that make things clearer?
>
>
It does make things clearer. Perhaps, then, the best solution is to just
make sure your TODOs have no children, then? Or use the other suggestion for
inline TODOs?
In your example, for example, wouldn't this work?
--------
* An amazing headline
** stuff
** more stuff
** TODO clean up the stuff above :noexport:
** this is stuff that I would like exported
--------
The TODO was directed at the stuff above anyway, so it perhaps doesn't need
to be it's own main headline? The above works perfectly on export for me.
John
> Sam
>
>
>
>>
>>
>> John
>>
>> On Tue, Sep 7, 2010 at 9:28 PM, Sam Cramer <samcramer@gmail.com> 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
>>>
>>>
>>
>
[-- Attachment #1.2: Type: text/html, Size: 5182 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: not exporting TODOs but exporting their subordinates
2010-09-08 19:40 ` John Hendy
@ 2010-09-08 20:21 ` Sam Cramer
0 siblings, 0 replies; 7+ messages in thread
From: Sam Cramer @ 2010-09-08 20:21 UTC (permalink / raw)
To: John Hendy; +Cc: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 3088 bytes --]
On Wed, Sep 8, 2010 at 12:40 PM, John Hendy <jw.hendy@gmail.com> wrote:
> On Wed, Sep 8, 2010 at 2:34 PM, Sam Cramer <samcramer@gmail.com> wrote:
>
>>
>> The situation is one that arguably results from a lack of discipline on my
>> part (hence my interest in org-mode!): I add TODO items to documents I'm
>> writing without much regard as to how they fit into the overall structure of
>> the file. In other words, my TODOs are generally "one-liners" which are
>> sprinkled with abandon throughout the file.
>>
>> Perhaps as I get more familiar with org-mode I will use TODOs in a more
>> structured way, but right now they are not a structured list of tasks but
>> rather a bunch of reminders distributed through a document.
>>
>> Does that make things clearer?
>>
>>
> It does make things clearer. Perhaps, then, the best solution is to just
> make sure your TODOs have no children, then? Or use the other suggestion for
> inline TODOs?
>
> In your example, for example, wouldn't this work?
>
> --------
> * An amazing headline
> ** stuff
> ** more stuff
> ** TODO clean up the stuff above :noexport:
> ** this is stuff that I would like exported
> --------
>
> The TODO was directed at the stuff above anyway, so it perhaps doesn't need
> to be it's own main headline? The above works perfectly on export for me.
>
Yes, that works too. The only caveat is that if I later add a subordinate
item to "more stuff" under the TODO, it won't export. Org-inlinetask.el or
simply making the TODOs deeply nested without the help of org-inlinetask
should solve that problem.
Thanks again for the help!
Sam
>
>
> John
>
>
>> Sam
>>
>>
>>
>>>
>>>
>>> John
>>>
>>> On Tue, Sep 7, 2010 at 9:28 PM, Sam Cramer <samcramer@gmail.com> 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
>>>>
>>>>
>>>
>>
>
[-- Attachment #1.2: Type: text/html, Size: 5895 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-09-08 20:21 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-08 2:28 not exporting TODOs but exporting their subordinates Sam Cramer
2010-09-08 14:23 ` John Hendy
2010-09-08 19:34 ` Sam Cramer
2010-09-08 19:40 ` John Hendy
2010-09-08 20:21 ` Sam Cramer
2010-09-08 16:14 ` Sebastian Rose
2010-09-08 19:36 ` Sam Cramer
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).