From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#65196: 28.2; gnus-group-make-nnir-group always returns "no messages" Date: Mon, 14 Aug 2023 09:46:54 -0700 Message-ID: <87h6p1d11d.fsf@ericabrahamsen.net> References: <87msyztk0q.fsf@debian-BULLSEYE-live-builder-AMD64> <83zg2weok6.fsf@gnu.org> <874jl2vz0q.fsf@zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5684"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , Andrew G Cohen , 65196@debbugs.gnu.org To: "Loris Bennett" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 14 18:48:29 2023 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 1qVak1-0001Kw-14 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Aug 2023 18:48:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVaje-0006iP-Om; Mon, 14 Aug 2023 12:48:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVaja-0006hr-Si for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 12:48:04 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qVaja-00011G-EJ for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 12:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qVaja-0004rN-76; Mon, 14 Aug 2023 12:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Mon, 14 Aug 2023 16:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65196 X-GNU-PR-Package: emacs,gnus Original-Received: via spool by 65196-submit@debbugs.gnu.org id=B65196.169203162618471 (code B ref 65196); Mon, 14 Aug 2023 16:48:02 +0000 Original-Received: (at 65196) by debbugs.gnu.org; 14 Aug 2023 16:47:06 +0000 Original-Received: from localhost ([127.0.0.1]:34273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVaif-0004nq-D7 for submit@debbugs.gnu.org; Mon, 14 Aug 2023 12:47:05 -0400 Original-Received: from mail.ericabrahamsen.net ([52.70.2.18]:53628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVaic-0004nM-Np for 65196@debbugs.gnu.org; Mon, 14 Aug 2023 12:47:03 -0400 Original-Received: from localhost (c-71-197-232-41.hsd1.wa.comcast.net [71.197.232.41]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id DB9D2FA0C3; Mon, 14 Aug 2023 16:46:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1692031616; bh=sBFahce7TlsXDaghQni4d7MpQeoYQxrfRmxQGwcNmJQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=XIj59ehDxFgqVVzSVv3u+eTVBa2X1PR36x0F6v30b/EkwyF8UwMqGY98appvIcwbD 6gdIiJODLJyQi0yRbH8ac6fr19Fj01zQyTfPCHmBi2rzVxpMdd7sWtIpnawUdanjy2 1DPMrHOTy49OtygO3/nk0txinZjpPmK1Nm55IEIY= In-Reply-To: <874jl2vz0q.fsf@zedat.fu-berlin.de> (Loris Bennett's message of "Mon, 14 Aug 2023 09:55:33 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:267438 Archived-At: "Loris Bennett" writes: > Eli Zaretskii writes: > >>> From: Loris Bennett >>> Date: Thu, 10 Aug 2023 09:48:53 +0200 >>> >>> >>> After upgrading Debian from 11 to 12, gnus-group-make-nnir-group always >>> says that the search group contains no messages, even though there are >>> in fact messages in the original group which contain the string searched >>> for. >>> >>> In *Messages* somethin like the following will appear: >>> >>> Opening server fu_exchange >>> Searching nnimap+fu_exchange:HPC...done >>> Group nnselect:nnselect-87jzu3z7wb.fsf contains no messages >>> >>> The configuration in init.el is as follows: >>> >>> (setq user-mail-address "loris.bennett@fu-berlin.de") >>> >>> (setq message-send-mail-function 'smtpmail-send-it) >>> (setq smtpmail-smtp-server "mail.zedat.fu-berlin.de") >>> (setq smtpmail-smtp-service 587) >>> >>> (setq gnus-select-method '(nntp "news.fu-berlin.de")) >>> (setq gnus-secondary-select-methods >>> (quote >>> ((nnimap "fu_exchange" >>> (nnir-search-engine imap) >>> (remove-prefix "nnimap") >>> (nnimap-address "mail.zedat.fu-berlin.de") >>> (nnimap-record-commands t) >>> (nnimap-inbox INBOX) >>> (gnus-message-archive-group "nnimap+fu_exchange:Gesendete Elemente"))))) >>> >>> The same problem occurs with nntp groups (not configured in this test). >>> >>> Unfortunately that is all the information I can provide, although I can >>> see that it is probably insufficient to identify the problem. >> >> Andrew, any comments? Is this perhaps already fixed in Emacs 29? > > Further investigation reveal that this is not a general issue, but is > related to the specific select methods. > > For my work setup I actually have, in addition to the settings above > > (nntp "fu_news" > (nntp-address "news.fu-berlin.de") > (remove-prefix nntp) > (gnus-message-archive-group "nnimap+fu_exchange:Gesendete Elemente"))) > > Searching in newgroups subscribe to via the above also always returns no > messages. > > However, in my private setup I have various email providers, such as GMX: > > (nnimap "gmx" > (nnimap-stream tls) > (remove-prefix "nnimap.") > (nnimap-record-commands t) > (nnimap-address "imap.gmx.com")) > > If I add this to my work setup, search results within folders in the GMX > account *do* produce results. Searching within the Exchange folder or the > NNTP groups still fails. > > Is there anything I can do to help debug the problem? For the exchange server, you should just remove the `nnir-search-engine` setting from the definition, it should work find by default. I don't believe search works for nntp at all -- did it used to?