[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Searching in Gnus: gnus-group-make-nnir-group does not recurse into
From: |
Eric Abrahamsen |
Subject: |
Re: Searching in Gnus: gnus-group-make-nnir-group does not recurse into subtopics |
Date: |
Thu, 26 Sep 2019 12:34:43 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Bob Newell <bobnewell@bobnewell.net> writes:
> Aloha,
>
> "When I initiate a search (gnus-group-make-nnir-group) with the
> cursor on a topic, only the immediate subtopics are searched,
> the topic hierarchy is not traversed recursively"
>
> A brief look at the code tells me that indeed a search from
> the topic level is non-recursive and specifically does not
> recognize or descend into sub-topics.
>
> You could write your own code to accomplish this, although it
> might be quite some little effort to do so.
>
> Sorry for the unhelpful response. Perhaps someone else knows a
> way to accomplish this that I'm missing (short of installing
> mairex or the like). It would indeed be a useful feature.
>
> One hackish solution might be to temporarily switch out of
> topic mode and then search from the very top, but that would
> likely give you a search domain much larger than you might
> wish.
There's the function `gnus-topic-find-groups' which takes a RECURSIVE
option that will return all groups and subgroups. Maybe we should be
using that to return valid groups for nnir search?