From bfba4f38289223c3e78b19a73ad9133d015f8420 Mon Sep 17 00:00:00 2001 From: Alexandr Vityazev Date: Sun, 25 Jul 2021 14:09:39 +0300 Subject: [PATCH] gnus-search: gnus-search-indexed-parse-output: Fix search issue. * lisp/gnus/gnus-search.el (gnus-search-indexed-parse-output): Setting the group variable after the article variable. --- lisp/gnus/gnus-search.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/gnus/gnus-search.el b/lisp/gnus/gnus-search.el index 39bde837b3..80c3ce62f1 100644 --- a/lisp/gnus/gnus-search.el +++ b/lisp/gnus/gnus-search.el @@ -1384,7 +1384,6 @@ Returns a list of [group article score] vectors." 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 @@ Returns a list of [group article score] vectors." (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))) -- 2.32.0