[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Is it possible to embed tag search as a link?
From: |
Jay Dresser |
Subject: |
Re: [O] Is it possible to embed tag search as a link? |
Date: |
Sun, 21 Jun 2015 08:19:19 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Piotr Isajew <pisajew <at> yahoo.com> writes:
>
>
> Hi,
>
> what I'm looking for is a link format that, when C-c C-o'ed,
> opens agenda "match query" view for custom query which arguments
> are specified in the link. I.e.:
>
> org-search://+work-boss-TODO="DONE"
>
> I am aware of org-protocol which can be used to develop a custom
> handler for something like this. I would just like to check if
> there exists any working solution before I start working on my
> own.
>
> Bests,
>
> Piotr
You could always do it with elisp, perhaps:
[[elisp:(org-tags-view nil "+work-boss-TODO=\"DONE\"")]]
which would be like "C-c a m"
Or:
[[elisp:(org-match-sparse-tree nil "+work-boss-TODO=\"DONE\"")]]
which would be like "C-c \".
Change "nil" to "t" for TODO only.