[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master e7f6bb3 1/2: Rework gnus-search-indexed-parse-output

From: Eric Abrahamsen
Subject: Re: master e7f6bb3 1/2: Rework gnus-search-indexed-parse-output
Date: Fri, 30 Jul 2021 09:25:32 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Joseph Mingrone <jrm@ftfl.ca> writes:

> Hello Eric,
> After this change, searching for messages with (nnml . notmuch) as part
> of the value of `gnus-search-default-engines' always returns 0 results.
> The search results look good in the previous commit, 0897ade8f9.
> Are there any results that I can share to help debug this?

Yes, this is almost certainly a problem that's been reported, with the
below fix. Would you try this and let me know if it solves your situation?

1 file changed, 1 insertion(+), 1 deletion(-)
lisp/gnus/gnus-search.el | 2 +-

modified   lisp/gnus/gnus-search.el
@@ -1384,7 +1384,6 @@ gnus-search-indexed-parse-output
                    nil t)
                  nil t)
                 nil t))
-          (setq group (gnus-group-full-name group server))
           (setq article (file-name-nondirectory f-name)
                 ;; TODO: Provide a cleaner way of producing final
@@ -1394,6 +1393,7 @@ gnus-search-indexed-parse-output
                   (substring article 0 (string-match ":" article))
                   group (string-remove-prefix "nnmaildir:" server))))
+          (setq group (gnus-group-full-name group server))
           (when (and (numberp article)
                      (or (null groups)
                          (member group groups)))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]