[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master e7f6bb3 1/2: Rework gnus-search-indexed-parse-output
From: |
Joseph Mingrone |
Subject: |
Re: master e7f6bb3 1/2: Rework gnus-search-indexed-parse-output |
Date: |
Fri, 30 Jul 2021 16:22:46 -0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (berkeley-unix) |
On Fri, 2021-07-30 at 09:25, Eric Abrahamsen <eric@ericabrahamsen.net> wrote:
> 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)
> article
> ;; TODO: Provide a cleaner way of producing final
> @@ -1394,6 +1393,7 @@ gnus-search-indexed-parse-output
> (nnmaildir-base-name-to-article-number
> (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)))
Alexandr's patch still doesn't work for me. I didn't see the
ding@gnus.org thread before I posted here, so I'll follow up there.