Gnus development mailing list
 help / color / mirror / Atom feed
From: "Loris Bennett" <loris.bennett@fu-berlin.de>
To: ding@gnus.org
Subject: Re: Gnus search engine returns "Group nnselect:nnselect-877cqbir7v.fsf contains no messages"
Date: Fri, 25 Aug 2023 07:58:35 +0200	[thread overview]
Message-ID: <87a5uffyt0.fsf@zedat.fu-berlin.de> (raw)
In-Reply-To: <87sf88zpwm.fsf@free.fr>

Julien Cubizolles <j.cubizolles@free.fr> writes:

> "Loris Bennett" <loris.bennett@fu-berlin.de> writes:
>
>
>> I am also experiencing the same error.  My configuration had been
>> working fine for years, but after updating Debian from 11 to 12 and
>> hence Emacs from 27.1 to 28.2 I now have this problem.  The issue
>> arises with both imap and nntp groups.
>>
>> This is what appears in *Messages* with gnus-verbose set to 10:
>>
>>   Retrieving newsgroup: nnselect:nnselect-87v8dpn1ch.fsf...
>>   Opening server fu_exchange
>>   Searching nnimap+fu_exchange:HPC...done
>>   Group nnselect:nnselect-87v8dpn1ch.fsf contains no messages
>>
> Same problem here with Emacs 30.0.50.
>
> The relevant parts of my config are:
>
> (setq gnus-search-default-engines
>       '((nnml . gnus-search-notmuch)
> 	(nntp . gnus-search-notmuch)
> 	(nnimap . gnus-search-imap)
> 	(nnfolder . gnus-search-notmuch)
> 	(nndraft . gnus-search-notmuch)
> 	(nnarchive . gnus-search-notmuch)
>         (nnselect . gnus-search-nnselect)
> 	(nnmaildir . gnus-search-notmuch)))
>
> (setq gnus-search-use-parsed-queries t)
>
> (setq gnus-secondary-select-methods
>       '((nnmaildir "Academie" (directory "~/email/Maildir-mbsync/Academie")
> 		   (gnus-search-engine gnus-search-notmuch 
>  		     		           (remove-prefix "~/email/Maildir-mbsync/Academie")))))
>
>
> On a given group from the Academie maildir, I always get the "contains
> no messages" whatever the query. notmuch returns plenty of messages
> whose filenames, as given by ‘notmuch-show-stash-filename’ are of the
> form:
>
> Stashed: /home/wilk/email/Maildir-mbsync/Academie/General/cur/1692854503.M508606P40464Q3.sadhill,U=40:2,

In my case the problem turned out to be that I was querying an Exchange
server and that these are unable to deal with queries in UTF-8.  There
is a discussion regarding the issue here:

  https://www.mail-archive.com/info-gnus-english@gnu.org/msg14117.html

The fix given there is contained in Emacs 29, but maybe there has been a
regression for Emacs 30?

Cheers,

Loris

-- 
This signature is currently under constuction.



  reply	other threads:[~2023-08-25  5:59 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-06  2:33 Husain Alshehhi
2023-08-07 23:26 ` Eric Abrahamsen
2023-08-08 12:59   ` Loris Bennett
2023-08-24 10:38     ` Julien Cubizolles
2023-08-25  5:58       ` Loris Bennett [this message]
2023-08-25 11:44         ` Julien Cubizolles
2023-08-25 12:30           ` Loris Bennett
2023-08-26 13:25       ` James Thomas
2023-08-26 13:51         ` James Thomas
2023-08-26 15:54           ` Eric Abrahamsen
2023-08-26 15:52       ` Eric Abrahamsen
2023-08-26 16:26       ` Julien Cubizolles
2023-08-30 21:49         ` Eric Abrahamsen
  -- strict thread matches above, loose matches on Subject: below --
2023-09-12  4:55 Husain Alshehhi
2023-08-10  3:08 Husain Alshehhi
2023-08-09  0:43 Husain Alshehhi
2023-08-09  0:42 Husain Alshehhi
2023-08-09  3:13 ` Eric Abrahamsen
2023-08-06  2:30 Husain Alshehhi
2023-08-07 23:27 ` Eric Abrahamsen
2023-08-06  2:28 Husain Alshehhi
2023-08-04  0:48 husain
2023-08-04  1:07 ` John Haman
2023-08-04  6:16 ` Gijs Hillenius
2023-08-04  8:16 ` Eric S Fraga
2023-08-04  8:23 ` Eric S Fraga
2023-08-05  1:13 ` 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=87a5uffyt0.fsf@zedat.fu-berlin.de \
    --to=loris.bennett@fu-berlin.de \
    --cc=ding@gnus.org \
    /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.
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 NNTP newsgroup(s).