Subject: Re: bug#73581: 29.4; Gnus: Error doing a search on nnmaildir with gnus-search-find-grep

From: Daniel Cerqueira <[email-masked]>
Date: Thu, 10 Apr 2025 11:54:05 +0100

I am coming back to this issue.  It still is unresolved.

I have made some progress, but still I get an error.  Here is what I
have done:

My search configuration:

(setq gnus-search-default-engines
      '((nnimap . gnus-search-imap)
        ;; (nnmaildir . gnus-search-find-grep)
        ;; (nnselect . gnus-search-nnselect)
        (nnselect . gnus-search-find-grep)))

(setq gnus-select-method
      `(nnmaildir "email"
                  (directory ,(expand-file-name "~/Mail"))
                  (remove-prefix ,(expand-file-name "~/Mail"))
                  (nnmaildir-directory ,(expand-file-name "~/Mail"))
                  (gnus-search-engine gnus-search-find-grep)))

My error message:

nnselect-generate-artlist: gnus-search-run-query on ((search-query-spec (query . parabéns) (raw)) (search-group-spec (nnmaildir:email friends))) gave error (wrong-type-argument stringp nil)
nnselect-generate-artlist: nil on nil gave error (void-function nil) [2 times]
gnus-request-group: Wrong type argument: stringp, nil