From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jay Dresser Subject: Re: Is it possible to embed tag search as a link? Date: Sun, 21 Jun 2015 08:19:19 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6yg9-0005l6-6Q for emacs-orgmode@gnu.org; Mon, 22 Jun 2015 06:10:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z6yg1-0007w7-Bt for emacs-orgmode@gnu.org; Mon, 22 Jun 2015 06:10:13 -0400 Received: from plane.gmane.org ([80.91.229.3]:51500) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6yg1-0007u1-5K for emacs-orgmode@gnu.org; Mon, 22 Jun 2015 06:10:05 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Z6yfz-0007Jo-Pu for emacs-orgmode@gnu.org; Mon, 22 Jun 2015 12:10:04 +0200 Received: from c-73-202-45-37.hsd1.ca.comcast.net ([73.202.45.37]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Jun 2015 12:10:03 +0200 Received: from org-mode by c-73-202-45-37.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Jun 2015 12:10:03 +0200 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: emacs-orgmode@gnu.org Piotr Isajew 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.