all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: Bob Newell <bobnewell@bobnewell.net>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>,
	Vegard Vesterheim <vegard.vesterheim@uninett.no>
Subject: Re: Searching in Gnus: gnus-group-make-nnir-group does not recurse into subtopics
Date: Thu, 26 Sep 2019 12:34:43 -0700	[thread overview]
Message-ID: <87ftkilulo.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <s6j1rw3q6q8.fsf@bobnewell.net> (Bob Newell's message of "Thu, 26 Sep 2019 07:59:11 -1000")

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?



  reply	other threads:[~2019-09-26 19:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-26 13:33 Searching in Gnus: gnus-group-make-nnir-group does not recurse into subtopics Vegard Vesterheim
2019-09-26 17:59 ` Bob Newell
2019-09-26 19:34   ` Eric Abrahamsen [this message]
2019-09-27  0:22     ` Bob Newell
2019-09-27  6:15       ` Vegard Vesterheim
2019-09-27 18:18         ` Bob Newell
2019-09-28  0:02           ` Eric Abrahamsen

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

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

  git send-email \
    --in-reply-to=87ftkilulo.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=bobnewell@bobnewell.net \
    --cc=help-gnu-emacs@gnu.org \
    --cc=vegard.vesterheim@uninett.no \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.