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

From: James Thomas <[email-masked]>
Date: Wed, 23 Aug 2023 19:07:51 +0530

James Thomas wrote:

> Turned out to be a trivial fix:
>
> 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))

And it'll merely make it the same as this already-existing code
elsewhere:

diff -u --label ./lisp/gnus/gnus-start.el --label \#\<buffer\ gnus-start.el\> ./lisp/gnus/gnus-start.el /tmp/buffer-content-IYvzRp
--- ./lisp/gnus/gnus-start.el
+++ #<buffer gnus-start.el>
@@ -2149,8 +2149,6 @@
 					     (number-to-string group))
 					    ((symbolp group)
 					     (symbol-name group))
-					    ((stringp group)
-					     group)))))
 		     (numberp (setq max (read cur)))
 		     (numberp (setq min (read cur)))
 		     (null (progn

--