emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jay Dresser <jay@jaydresser.us>
To: Piotr Isajew <pisajew@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Is it possible to embed tag search as a link?
Date: Sat, 20 Jun 2015 00:45:11 -0700	[thread overview]
Message-ID: <87616iq0vs.fsf@jaydresser.us> (raw)
In-Reply-To: <slrnmo77o4.88m.pisajew@lnb.localnet>


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.

Piotr Isajew <pisajew@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

--
Jay Dresser

       reply	other threads:[~2015-06-20  7:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <slrnmo77o4.88m.pisajew@lnb.localnet>
2015-06-20  7:45 ` Jay Dresser [this message]
2015-06-21  8:19 ` Is it possible to embed tag search as a link? Jay Dresser
2015-06-23  4:28   ` Jay Dresser
2015-06-23  8:48     ` Sebastien Vauban
2015-06-24  9:34       ` Jay Dresser
2015-06-25 11:14         ` Sebastien Vauban
2015-06-23 19:29     ` Piotr Isajew

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87616iq0vs.fsf@jaydresser.us \
    --to=jay@jaydresser.us \
    --cc=emacs-orgmode@gnu.org \
    --cc=pisajew@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).