Subject: bug#62812: [PATCH] Re: bug#62812: 29.0.60; Persistent article cache not working properly

From: James Thomas <[email-masked]>
Date: Thu, 24 Aug 2023 12:59:42 +0530

Eli Zaretskii wrote:

> OK, but now I'm confused regarding which change(s) to install.  This
> discussion includes 3 changes, so which ones are proposed and
> approved?  James, would you please post a single consolidated patch
> you think should be installed, with the appropriate commit log
> message?
>
> Thanks.

Attached:

From f26b0b938f902eb7daffb34abb64567e289b7685 Mon Sep 17 00:00:00 2001
From: James Thomas <[email-masked]>
Date: Thu, 24 Aug 2023 12:35:51 +0530
Subject: [PATCH] Account for string names in active file

Account also for strings when reading in group names from an active
file (bug#62812).
* lisp/gnus/nnmail.el (nnmail-parse-active): Make it similar to
gnus-active-to-gnus-format
---
 lisp/gnus/nnmail.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/gnus/nnmail.el b/lisp/gnus/nnmail.el
index e8f157392d4..904b564409a 100644
--- a/lisp/gnus/nnmail.el
+++ b/lisp/gnus/nnmail.el
@@ -667,7 +667,9 @@ nnmail-parse-active
 		  (cond ((symbolp group)
 			 (symbol-name group))
 			((numberp group)
-			 (number-to-string group))))
+			 (number-to-string group))
+                        ((stringp group)
+			 group)))
 	    (if (and (numberp (setq max (read buffer)))
 		     (numberp (setq min (read buffer))))
 		(push (list group (cons min max))
--
2.34.1

--