emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Tagging a region of text without creating a branch


From: Bernt Hansen
Subject: [Orgmode] Re: Tagging a region of text without creating a branch
Date: Thu, 08 Oct 2009 16:18:16 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Matt Lundin <address@hidden> writes:

> bar tomas <address@hidden> writes:
>
>> Is it possible to tag a region of text without creating a new branch?
>> I mean, for instance, if I have the following orgmode document structure:
>>
>> * item1
>> this is about item 1
>> bla bla
>> more about item1
>>
>> I'd like to give a tag to the bit 'bla bla', but the scope of the tag
>> should not include 'more about item 1'; 
>
> Just curious: what would be the advantage of tagging a region of text
> rather than creating subheadings?
>
> E.g.,
>
> --8<---------------cut here---------------start------------->8---
> * item1
> ** this is about item 1 
> about item one
> ** bla bla                      :urgent:
> More bla bla
> ** More about item1
> more about item1
> --8<---------------cut here---------------end--------------->8---
>
> Since org mode relies on the hierarchical structure of outlines, all of
> the subheadings are part of the tree beginning with item1.
>
> Also, how would a region of tagged text appear in the agenda? The agenda
> depends on the association of metadata with headlines.

Tags go with headlines.  The only way to do what you want is with inline
tasks like this:

,----[ .emacs ]
| (require 'org-inlinetask)
`----

,----[ test.org ]
| 
| * item1
| this is about item 1
| *************** subitem1                                           :urgent:
| bla bla
| *************** not urgent
| more about item1
`----

HTH

-Bernt




reply via email to

[Prev in Thread] Current Thread [Next in Thread]