From mboxrd@z Thu Jan 1 00:00:00 1970 From: bar tomas Subject: Re: Tagging a region of text without creating a branch Date: Fri, 9 Oct 2009 15:05:59 +0100 Message-ID: References: <87r5tc919n.wl@imapmail.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MwG6d-0001l6-Aa for emacs-orgmode@gnu.org; Fri, 09 Oct 2009 10:06:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MwG6b-0001ib-O3 for emacs-orgmode@gnu.org; Fri, 09 Oct 2009 10:06:02 -0400 Received: from [199.232.76.173] (port=35631 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwG6b-0001iU-JM for emacs-orgmode@gnu.org; Fri, 09 Oct 2009 10:06:01 -0400 Received: from ey-out-1920.google.com ([74.125.78.144]:54943) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MwG6b-0007I8-2L for emacs-orgmode@gnu.org; Fri, 09 Oct 2009 10:06:01 -0400 Received: by ey-out-1920.google.com with SMTP id 3so5932352eyh.34 for ; Fri, 09 Oct 2009 07:06:00 -0700 (PDT) In-Reply-To: <87r5tc919n.wl@imapmail.org> 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: Org Mode List Thanks very much for your reply and your help. I also think in terms of containers, but I was trying to figure out if it is possible to have a container that has both subcontainers and content that is not contained in a subcontainer. For instance, in XML, this is the notion of an element with 'mixed content'(subelements+character content). For example: general stuff about item1 about subItem1 more general stuff about item1 I suppose, this kind of structure is not possible in orgmode? you'd have to create 'artificial' subheadings: * item1 [#A] ** general stuff item1 general stuff about item1 **subItem1 about subItem1 ** general stuff item1 more general stuff about item1 So, a container in orgmode can have either subcontainers or text but not a mixture of both? Is this right? Thanks also for the tip about freex. it looks interesting, pity its not compatible with orgmode. I'll have a look at inline tasks as you suggest. Thanks again On Fri, Oct 9, 2009 at 1:53 PM, Matt Lundin wrote: > bar tomas wrote: >> >> Hi, >> Maybe I use orgmode in a quirky way, but I often find the need of >> tagging internal regions. >> >> I don't have a problem with a creating a heading but what I find >> sometimes inconvenient is that implicitely everything that comes after >> the created headingis in it's scope until the next heading. >> I mean, don't you ever come across a situation like the following? >> >> * idea1 >> Notes about idea1 >> More notes about idea1 >> still more about idea1 > > IMO, this is precisely the strength of outlines. You can create > subheadings to organize/categorize your thoughts. But perhaps I still > misunderstand what you are trying to do? I like to think of org > outline headings as data containers or "database records." You attach > metadata (tags, todos, properties, etc.) to the container. > >> >> and you'd like to tag the second line (and only second line with >> :tellSueAboutIt:). If I understand correctly the only way to do this >> with headings is: >> >> * idea1 >> Notes about idea1 >> ** :tellSueAboutIt: >> More notes about idea1 >> ** :DontTellSueAboutIt: >> still more about idea1 >> >> This is very cumbersome and conceptually confusing.z It would be >> really convenient to sometimes be able to tag an internal region. >> Someone mentioned inline tasks. Is this possible with inline tasks? > > Yes. As Bernt suggested, I think inline tasks would achieve your ends > very well here. Inline tasks act like normal headlines for the > purposes of the agenda --- i.e., they will appear in your searches. > But they will not be exported. Neither will they open with other > headlines during cycling. > > You can create inline tasks by creating really deep outline headlings > (I believe the default is 15). > > Here's an example: > > * idea1 > =A0Notes about idea1 > * =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 *** An inline task :tellSueAboutIt: > =A0More notes about idea1 > > * =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 *** Another inline task :DontTellSu= eAboutIt: > =A0still more about idea1 > > See the variables org-inlinetask-export and org-inlinetask-min-level. > > BTW, There is a mode (freex-mode) that uses pymacs and an external > database to enable tagging of selected "nuggets" of text. But I don't > believe that it works with org-mode. I you don't mind the external > dependencies, you might want to check it out. > > http://www.emacswiki.org/cgi-bin/emacs/FreexMode > > Hope this helps! > Matt >