unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: "Loris Bennett" <loris.bennett@fu-berlin.de>
Cc: Eli Zaretskii <eliz@gnu.org>, Andrew G Cohen <cohen@andy.bu.edu>,
	65196@debbugs.gnu.org
Subject: bug#65196: 28.2; gnus-group-make-nnir-group always returns "no messages"
Date: Mon, 14 Aug 2023 09:46:54 -0700	[thread overview]
Message-ID: <87h6p1d11d.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <874jl2vz0q.fsf@zedat.fu-berlin.de> (Loris Bennett's message of "Mon, 14 Aug 2023 09:55:33 +0200")

"Loris Bennett" <loris.bennett@fu-berlin.de> writes:

> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> From: Loris Bennett <loris.bennett@fu-berlin.de>
>>> 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?





  reply	other threads:[~2023-08-14 16:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-10  7:48 bug#65196: 28.2; gnus-group-make-nnir-group always returns "no messages" Loris Bennett
2023-08-12  6:56 ` Eli Zaretskii
2023-08-14  7:55   ` Loris Bennett
2023-08-14 16:46     ` Eric Abrahamsen [this message]
2023-08-15  7:12       ` Loris Bennett
2023-08-16 14:08         ` Loris Bennett
2023-08-17  9:02           ` Loris Bennett
2023-08-18  8:21             ` Loris Bennett
2023-08-19  8:36               ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87h6p1d11d.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=65196@debbugs.gnu.org \
    --cc=cohen@andy.bu.edu \
    --cc=eliz@gnu.org \
    --cc=loris.bennett@fu-berlin.de \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).