File 0014-Search-current-nnselect-articles-group-not-the-whole.patch of Package emacs
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Bidar?= <bjorn.bidar@thaodan.de>
Date: Tue, 21 Jan 2025 09:37:27 +0200
Subject: [PATCH] Search current nnselect articles group not the whole server
* lisp/gnus/nnselect.el (nnselect-request-article):
Search the group the articles of a nnselect are instead of whole server.
Searching the whole server can be very costly, limit groups to groups in
the nnselect group.
---
lisp/gnus/nnselect.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/gnus/nnselect.el b/lisp/gnus/nnselect.el
index 72f8a61ba056d18ba1f9acd68e6a0136512af260..d961feaed213abd9229d5965e5721149e1e61be6 100644
--- a/lisp/gnus/nnselect.el
+++ b/lisp/gnus/nnselect.el
@@ -475,7 +475,8 @@ nnselect-request-article
(list
(gnus-method-to-server
(gnus-find-method-for-group
- (nnselect-article-group x))))
+ (nnselect-article-group x)))
+ (nnselect-article-group x))
servers :test 'equal)))
(gnus-articles-in-thread thread)))))
(setq servers (list (list server))))