From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Tagging a region of text without creating a branch Date: Thu, 08 Oct 2009 16:18:16 -0400 Message-ID: <87tyy9r65z.fsf@gollum.intra.norang.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MvzRT-0004YH-2m for emacs-orgmode@gnu.org; Thu, 08 Oct 2009 16:18:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MvzRP-0004TM-4c for emacs-orgmode@gnu.org; Thu, 08 Oct 2009 16:18:26 -0400 Received: from [199.232.76.173] (port=55881 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvzRO-0004T4-RU for emacs-orgmode@gnu.org; Thu, 08 Oct 2009 16:18:22 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:59613) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MvzRO-0006hv-Gd for emacs-orgmode@gnu.org; Thu, 08 Oct 2009 16:18:22 -0400 In-Reply-To: (Matt Lundin's message of "Thu\, 08 Oct 2009 14\:10\:20 -0400") 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: Matt Lundin Cc: emacs-orgmode@gnu.org Matt Lundin writes: > bar tomas 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