emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* create a sparse tree by TODO and property? possible?
@ 2013-09-17 11:48 Xebar Saram
  2013-09-17 13:50 ` Suvayu Ali
  2013-09-17 19:15 ` Carsten Dominik
  0 siblings, 2 replies; 6+ messages in thread
From: Xebar Saram @ 2013-09-17 11:48 UTC (permalink / raw)
  To: org mode

[-- Attachment #1: Type: text/plain, Size: 323 bytes --]

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

thx in advancce!

z.

[-- Attachment #2: Type: text/html, Size: 507 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: create a sparse tree by TODO and property? possible?
  2013-09-17 11:48 create a sparse tree by TODO and property? possible? Xebar Saram
@ 2013-09-17 13:50 ` Suvayu Ali
  2013-09-17 19:15 ` Carsten Dominik
  1 sibling, 0 replies; 6+ messages in thread
From: Suvayu Ali @ 2013-09-17 13:50 UTC (permalink / raw)
  To: emacs-orgmode

On Tue, Sep 17, 2013 at 01:48:59PM +0200, 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

I don't think this is possible.  But I think you can do an agenda search
restricted to the current buffer, `C-c a < m <query> RET'.

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: create a sparse tree by TODO and property? possible?
  2013-09-17 11:48 create a sparse tree by TODO and property? possible? Xebar Saram
  2013-09-17 13:50 ` Suvayu Ali
@ 2013-09-17 19:15 ` Carsten Dominik
  2013-09-17 21:33   ` Suvayu Ali
  1 sibling, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2013-09-17 19:15 UTC (permalink / raw)
  To: Xebar Saram; +Cc: org mode


[-- Attachment #1.1: Type: text/plain, Size: 649 bytes --]


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' 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

- Carsten

> 
> thx in advancce!
> 
> z. 
>  


[-- Attachment #1.2: Type: text/html, Size: 1441 bytes --]

[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: create a sparse tree by TODO and property? possible?
  2013-09-17 19:15 ` Carsten Dominik
@ 2013-09-17 21:33   ` Suvayu Ali
  2013-09-18  4:20     ` Carsten Dominik
  0 siblings, 1 reply; 6+ messages in thread
From: Suvayu Ali @ 2013-09-17 21:33 UTC (permalink / raw)
  To: emacs-orgmode

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' 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.

Thanks :).

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: create a sparse tree by TODO and property? possible?
  2013-09-17 21:33   ` Suvayu Ali
@ 2013-09-18  4:20     ` Carsten Dominik
  2013-09-18  5:27       ` Xebar Saram
  0 siblings, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2013-09-18  4:20 UTC (permalink / raw)
  To: Suvayu Ali; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1097 bytes --]


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' 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.
> 


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: create a sparse tree by TODO and property? possible?
  2013-09-18  4:20     ` Carsten Dominik
@ 2013-09-18  5:27       ` Xebar Saram
  0 siblings, 0 replies; 6+ messages in thread
From: Xebar Saram @ 2013-09-18  5:27 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org mode

[-- Attachment #1: Type: text/plain, Size: 1430 bytes --]

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
<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' 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.
> >
>
>

[-- Attachment #2: Type: text/html, Size: 2481 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-09-18  5:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-17 11:48 create a sparse tree by TODO and property? possible? Xebar Saram
2013-09-17 13:50 ` Suvayu Ali
2013-09-17 19:15 ` Carsten Dominik
2013-09-17 21:33   ` Suvayu Ali
2013-09-18  4:20     ` Carsten Dominik
2013-09-18  5:27       ` Xebar Saram

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).