Gnus development mailing list
 help / color / mirror / Atom feed
From: James Thomas <jimjoe@gmx.net>
To: Julien Cubizolles <j.cubizolles@free.fr>
Cc: ding@gnus.org
Subject: Re: Gnus search engine returns "Group nnselect:nnselect-877cqbir7v.fsf contains no messages"
Date: Sat, 26 Aug 2023 19:21:59 +0530	[thread overview]
Message-ID: <87ttsl52tc.fsf@gmx.net> (raw)
In-Reply-To: <875y52j5pu.fsf@gmx.net> (James Thomas's message of "Sat, 26 Aug 2023 18:55:33 +0530")

James Thomas wrote:

> Julien Cubizolles wrote:
>
>> 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,
>
> Try setting the 'config-file' option explicitly. A quick glance at the
> code suggests that leaving it blank is not allowed.

No sorry, the problem could be that 'remove-prefix' needs an absolute
name (without ~).

--


  reply	other threads:[~2023-08-26 13:52 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
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 [this message]
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=87ttsl52tc.fsf@gmx.net \
    --to=jimjoe@gmx.net \
    --cc=ding@gnus.org \
    --cc=j.cubizolles@free.fr \
    /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).