From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Loris Bennett" Newsgroups: gmane.emacs.bugs Subject: bug#65196: 28.2; gnus-group-make-nnir-group always returns "no messages" Date: Tue, 15 Aug 2023 09:12:36 +0200 Organization: ZEDAT, Freie =?UTF-8?Q?Universit=C3=A4t?= Berlin Message-ID: <874jl0ixsr.fsf@zedat.fu-berlin.de> References: <87msyztk0q.fsf@debian-BULLSEYE-live-builder-AMD64> <83zg2weok6.fsf@gnu.org> <874jl2vz0q.fsf@zedat.fu-berlin.de> <87h6p1d11d.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7033"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cc: Eli Zaretskii , Andrew G Cohen , 65196@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 15 11:21:20 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 1qVqEo-0001e4-SZ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Aug 2023 11:21:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVqEc-0002CF-6X; Tue, 15 Aug 2023 05:21: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 1qVqEZ-0002Bn-Nn for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2023 05:21:03 -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 1qVqEY-0000sx-RX for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2023 05:21:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qVqEY-0005O9-4d; Tue, 15 Aug 2023 05:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Loris Bennett" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Tue, 15 Aug 2023 09:21: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.169209125720695 (code B ref 65196); Tue, 15 Aug 2023 09:21:02 +0000 Original-Received: (at 65196) by debbugs.gnu.org; 15 Aug 2023 09:20:57 +0000 Original-Received: from localhost ([127.0.0.1]:35023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVqER-0005Ni-NQ for submit@debbugs.gnu.org; Tue, 15 Aug 2023 05:20:57 -0400 Original-Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]:36431) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVoEJ-00020a-Bz for 65196@debbugs.gnu.org; Tue, 15 Aug 2023 03:12:40 -0400 Original-Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.95) with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1qVoEH-001gCT-OQ; Tue, 15 Aug 2023 09:12:37 +0200 Original-Received: from 130-133-144-203.mna.fu-berlin.de ([130.133.144.203] helo=diaspore) by inpost2.zedat.fu-berlin.de (Exim 4.95) with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1qVoEH-001hFH-Gj; Tue, 15 Aug 2023 09:12:37 +0200 In-Reply-To: <87h6p1d11d.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Mon, 14 Aug 2023 09:46:54 -0700") X-Original-Sender: loris.bennett@fu-berlin.de X-Originating-IP: 130.133.144.203 X-ZEDAT-Hint: PO X-Mailman-Approved-At: Tue, 15 Aug 2023 05:20:54 -0400 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:267473 Archived-At: Eric Abrahamsen writes: > "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? Hmm, perhaps you are right. Maybe it never did. It certainly doesn't work on a third laptop with Emacs 27.1. Perhaps I am just confusing newsgroups and mailing lists (and mailing list posing as newsgroups via Gmane) and it was actually just working for the mailing lists. With init.el containing just (setq gnus-select-method '(nntp "news.fu-berlin.de")) (setq gnus-secondary-select-methods (quote ((nnimap "gmx" (nnimap-stream tls) (nnimap-address "imap.gmx.com")) (nnimap "fu_exchange" (nnimap-stream tls) (nnimap-address "mail.zedat.fu-berlin.de"))))) (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(gnus-verbose 10)) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) Searching within the GMX mailbox works but not in a newsgroup and the Exchange mailbox. The following is shown in *Messages*: Opening server gmx Searching nnimap+gmx:Family...done Fetching headers for nnselect:nnselect-871qg4g5d5.fsf... nnimap read 0k from imap.gmx.com Fetching headers for nnselect:nnselect-871qg4g5d5.fsf...done Sorting threads...done Generating summary...done Retrieving newsgroup: nnselect:nnselect-87zg2seqsg.fsf... Opening server fu_exchange Searching nnimap+fu_exchange:HPC...done Group nnselect:nnselect-87zg2seqsg.fsf contains no messages previous-line: Beginning of buffer Retrieving newsgroup: nnselect:nnselect-87y1iceqsc.fsf... nnselect-run: gnus-search-run-query on ((search-query-spec (query . emacs) (raw)) (search-group-spec (nntp:news.fu-berlin.de comp.emacs))) gave error (gnus-search-config-error gnus-search-config-error No search engine configured for nntp:news.fu-berlin.de) Group nnselect:nnselect-87y1iceqsc.fsf contains no messages So I seem to be missing a search engine for the newsgroup, but as we have established, that probably never worked. However, the search in the Exchange mailbox just fails without further information, and that definitely did used to work. Cheers, Loris -- This signature is currently under constuction.