From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: Configure Helm Source from org-tags-view Date: Fri, 09 Aug 2019 06:07:55 -0500 Message-ID: <87zhki61h0.fsf@alphapapa.net> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:37503) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hw2mc-0006ui-A0 for emacs-orgmode@gnu.org; Fri, 09 Aug 2019 07:10:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hw2mb-0006Ud-4p for emacs-orgmode@gnu.org; Fri, 09 Aug 2019 07:10:06 -0400 Received: from 195-159-176-226.customer.powertech.no ([195.159.176.226]:54050 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hw2ma-0006Tn-Uc for emacs-orgmode@gnu.org; Fri, 09 Aug 2019 07:10:05 -0400 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hw2mY-000Y4K-Ft for emacs-orgmode@gnu.org; Fri, 09 Aug 2019 13:10:02 +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" To: emacs-orgmode@gnu.org Nathan Neff writes: > Hello all, > > Has anyone created a Helm source from the results of org-agenda? > > Specifically org-tags-view I think would be a cool Helm source to > configure where the headings that have certain tags could be displayed > by Helm. > > I looked @ the code for org-tags-view and it's fairly straight forward - however, I think > that the function itself is tightly coupled between finding the results and displaying the > results. In other words, there's no "easy" function that I see which would provide headings > that match a tags search that I could use as a Helm source. > > I think I would need to copy quite a bit of code from org-tags-view into a different > function to create a Helm source. Am I missing something? > > Has anyone else done something similar? That's what helm-org-rifle is for. For example, later in the thread you mentioned searching for a "staff" tag. That would be very easy: 1. M-x helm-org-rifle-agenda-files RET (I have it bound to a key). 2. Type ":staff:". 3. See results.