From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: create a sparse tree by TODO and property? possible? Date: Wed, 18 Sep 2013 07:27:47 +0200 Message-ID: References: <20130917213338.GD16911@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2e60899caa504e6a1b2e9 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMAIn-00023t-Hz for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 01:27:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMAIm-0005ov-Ai for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 01:27:49 -0400 Received: from mail-ob0-x230.google.com ([2607:f8b0:4003:c01::230]:56158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMAIm-0005op-46 for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 01:27:48 -0400 Received: by mail-ob0-f176.google.com with SMTP id uy5so6646222obc.21 for ; Tue, 17 Sep 2013 22:27:47 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: org mode --001a11c2e60899caa504e6a1b2e9 Content-Type: text/plain; charset=ISO-8859-1 Thank you so much Carsten and Suvayu (and let me take the opportunity to thank you Carsten for orgmode in general which just makes my academic/personal life so much more enjoyable :)) this works like a charm! z. On Wed, Sep 18, 2013 at 7:20 AM, Carsten Dominik wrote: > > On 17.9.2013, at 23:33, Suvayu Ali wrote: > > > On Tue, Sep 17, 2013 at 09:15:14PM +0200, Carsten Dominik wrote: > >> > >> On 17.9.2013, at 13:48, Xebar Saram wrote: > >> > >>> Hi all > >>> > >>> can one create a sparse tree using 2 queries, In particular i want to > create a sparse tree that has all heading marked TODO and that have a > specific property i set IE: > >>> :PROPERTIES: > >>> :food_type: indian > >>> :END: > >>> > >>> so i would like sparse tree for example to show 'indian' property but > also TODO state > >> > >> Yes, this is possible. > >> > >> C-c / m food_type="indian"/TODO RET > >> > >> > >> The match syntax is described here: > >> > >> > http://orgmode.org/manual/Matching-tags-and-properties.html#Matching-tags-and-properties > > > > I didn't know this! Althought now that I think, if the agenda can do > > it, sparse tree should be too :-p. > > Indeed, it is the same internal function that does the matching in both > cases. > > - Carsten > > > > > Thanks :). > > > > -- > > Suvayu > > > > Open source is the future. It sets us free. > > > > --001a11c2e60899caa504e6a1b2e9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thank you so much Carsten and Suvayu =A0(and let me take t= he opportunity to thank you Carsten for orgmode in general which just makes= my academic/personal life so much more enjoyable :))

th= is works like a charm!

z.


On Wed, Sep 18, 2013 at 7:20 AM, Carsten Dominik <carsten.dominik@gmail.com> wrote:

On 17.9.2013, at 23:33, Suvayu Ali <fatkasuvayu+linux@gmail.com> wrote:

> On Tue, Sep 17, 2013 at 09:15:14PM +0200, Carsten Dominik wrote:
>>
>> On 17.9.2013, at 13:48, Xebar Saram <zeltakc@gmail.com> wrote:
>>
>>> Hi all
>>>
>>> can one create a sparse tree using 2 queries, In particular i = want to create a sparse tree that has all heading marked TODO and that have= a specific property i set IE:
>>> :PROPERTIES:
>>> :food_type: indian
>>> :END:
>>>
>>> so i would like sparse tree for example to show 'indian= 9; property but also TODO state
>>
>> Yes, this is possible.
>>
>> C-c / m food_type=3D"indian"/TODO =A0RET
>>
>>
>> The match syntax is described here:
>>
>> http://orgmode.org/man= ual/Matching-tags-and-properties.html#Matching-tags-and-properties
>
> I didn't know this! =A0Althought now that I think, if the agenda c= an do
> it, sparse tree should be too :-p.

Indeed, it is the same internal function that does the matching= in both cases.

- Carsten

>
> Thanks :).
>
> --
> Suvayu
>
> Open source is the future. It sets us free.
>


--001a11c2e60899caa504e6a1b2e9--