From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#39515: 28.0.50; Date: Thu, 13 Feb 2020 11:14:59 -0800 Message-ID: <87sgjez4cs.fsf@ericabrahamsen.net> References: <87wo8ql70m.fsf@aia00054aia.gr> <87pneil5u5.fsf_-_@aia00054aia.gr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="112210"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: "Jose A. Ortega Ruiz" , 39515@debbugs.gnu.org To: Deus Max Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 13 20:31:28 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j2KCq-000T1p-Ei for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Feb 2020 20:31:24 +0100 Original-Received: from localhost ([::1]:58364 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2KCp-0007YM-Gk for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Feb 2020 14:31:23 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43564) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2JyF-0003IT-EL for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2020 14:16:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2Jy1-0001SW-EU for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2020 14:16:10 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54493) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j2Jxy-0001Oy-CT for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2020 14:16:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j2Jxy-0007ED-6h for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2020 14:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2020 19:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39515 X-GNU-PR-Package: emacs Original-Received: via spool by 39515-submit@debbugs.gnu.org id=B39515.158162130827707 (code B ref 39515); Thu, 13 Feb 2020 19:16:02 +0000 Original-Received: (at 39515) by debbugs.gnu.org; 13 Feb 2020 19:15:08 +0000 Original-Received: from localhost ([127.0.0.1]:60463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2Jx6-0007Cp-Hl for submit@debbugs.gnu.org; Thu, 13 Feb 2020 14:15:08 -0500 Original-Received: from ericabrahamsen.net ([52.70.2.18]:39348 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2Jx4-0007C1-Pj for 39515@debbugs.gnu.org; Thu, 13 Feb 2020 14:15:07 -0500 Original-Received: from localhost (71-212-53-135.tukw.qwest.net [71.212.53.135]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 1C27BFA12C; Thu, 13 Feb 2020 19:15:00 +0000 (UTC) In-Reply-To: <87pneil5u5.fsf_-_@aia00054aia.gr> (Deus Max's message of "Thu, 13 Feb 2020 20:06:42 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:176011 Archived-At: --=-=-= Content-Type: text/plain On 02/13/20 20:06 PM, Deus Max wrote: > On Mon, 10 Feb 2020, "Jose A. Ortega Ruiz" wrote: > >> At any rate, if this is the expected behaviour, one should probably >> update the manual, which doesn't mention this. That contributes to the >> surprise, at least in my case. > > The gnus-group-make-nnir-group (GG) function documentation clearly > states the expected behavior: > > ... if called from the *Group* buffer search any marked groups, or > the group on the current line, or all the groups under the current > ^^^^^^^^^^^^^^^ > topic. Good enough for me! This patch should allow us to search all groups, visible or not, and recursive groups under sub-topics. A quick test shows it works for me -- anyone else want to try it out first? --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=gnus-search-topic-groups.diff diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el index 0f364d66e1..0277524a8c 100644 --- a/lisp/gnus/nnir.el +++ b/lisp/gnus/nnir.el @@ -617,7 +617,8 @@ gnus-group-make-nnir-group (list (gnus-group-group-name)) (mapcar (lambda (entry) (gnus-info-group (cadr entry))) - (gnus-topic-find-groups (gnus-group-topic-name))))) + (gnus-topic-find-groups (gnus-group-topic-name) + nil t nil t)))) gnus-group-server)))) (query-spec (or (cdr (assq 'nnir-query-spec specs)) --=-=-=--