From 0724e0aeb5be7c60cd76c6afc8e22ed47d9c85bd Mon Sep 17 00:00:00 2001 From: Andrew G Cohen Date: Mon, 10 Apr 2023 11:34:43 +0800 Subject: [PATCH] * lisp/gnus/nnselect.el (nnselect-push-info): Sort artlist --- lisp/gnus/nnselect.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/gnus/nnselect.el b/lisp/gnus/nnselect.el index 9a2957c9f52..af4dbdc35df 100644 --- a/lisp/gnus/nnselect.el +++ b/lisp/gnus/nnselect.el @@ -909,6 +909,7 @@ article came from is also searched." ;; now work on each originating group one at a time (pcase-dolist (`(,artgroup . ,artlist) (numbers-by-group gnus-newsgroup-articles)) + (setq artlist (sort artlist #'<)) (let* ((group-info (gnus-get-info artgroup)) (old-unread (gnus-list-of-unread-articles artgroup)) newmarked delta-marks) -- 2.39.2