From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Neff Subject: Re: Configure Helm Source from org-tags-view Date: Fri, 9 Aug 2019 12:57:28 -0500 Message-ID: References: <87zhki61h0.fsf@alphapapa.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000005ae5d0058fb2e942" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44121) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hw99B-0003dz-Bs for emacs-orgmode@gnu.org; Fri, 09 Aug 2019 13:57:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hw99A-0001ji-5V for emacs-orgmode@gnu.org; Fri, 09 Aug 2019 13:57:49 -0400 Received: from mail-ot1-x333.google.com ([2607:f8b0:4864:20::333]:40856) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hw99A-0001ij-02 for emacs-orgmode@gnu.org; Fri, 09 Aug 2019 13:57:48 -0400 Received: by mail-ot1-x333.google.com with SMTP id l15so78597995oth.7 for ; Fri, 09 Aug 2019 10:57:46 -0700 (PDT) In-Reply-To: <87zhki61h0.fsf@alphapapa.net> 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: Adam Porter Cc: emacs-orgmode --0000000000005ae5d0058fb2e942 Content-Type: text/plain; charset="UTF-8" I know, but rifle has sooooo many dependencies Rifle is truly awesome, I just have to convince myself to trust f.el and d.el or whatever those one-letter libraries are :-) Thanks, --Nate On Fri, Aug 9, 2019 at 6:10 AM Adam Porter wrote: > 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. > > > --0000000000005ae5d0058fb2e942 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
<whine>I know, but rifle has sooooo many depend= encies</whine>

Rifle is truly awesome, I jus= t have to convince myself to trust
f.el and d.el or whatever thos= e one-letter libraries are :-)

Thanks,
-= -Nate


On Fri, Aug 9, 2019 at 6:10 AM Adam Porter <adam@alphapapa.net> wrote:
Nathan Neff <nathan.neff@gmail.com= > 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 for= ward - however, I think
> that the function itself is tightly coupled between finding the result= s and displaying the
> results.=C2=A0 In other words, there's no "easy" functio= n 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 in= to a different
> function to create a Helm source.=C2=A0 Am I missing something?
>
> Has anyone else done something similar?

That's what helm-org-rifle is for.=C2=A0 For example, later in the thre= ad you
mentioned searching for a "staff" tag.=C2=A0 That would be very e= asy:

1.=C2=A0 M-x helm-org-rifle-agenda-files RET (I have it bound to a key). 2.=C2=A0 Type ":staff:".
3.=C2=A0 See results.


--0000000000005ae5d0058fb2e942--