all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: James Thomas <jimjoe@gmx.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Eric Abrahamsen <eric@ericabrahamsen.net>,
	cohen@andy.bu.edu, 62812@debbugs.gnu.org
Subject: bug#62812: [PATCH] Re: bug#62812: 29.0.60; Persistent article cache not working properly
Date: Thu, 24 Aug 2023 12:59:42 +0530	[thread overview]
Message-ID: <87cyzc5255.fsf@gmx.net> (raw)
In-Reply-To: <83h6opq99t.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 24 Aug 2023 08:50:06 +0300")

[-- Attachment #1: Type: text/plain, Size: 327 bytes --]

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:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Account-for-string-names-in-active-file.patch --]
[-- Type: text/x-diff, Size: 1016 bytes --]

From f26b0b938f902eb7daffb34abb64567e289b7685 Mon Sep 17 00:00:00 2001
From: James Thomas <jimjoe@gmx.net>
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


[-- Attachment #3: Type: text/plain, Size: 4 bytes --]


--

  reply	other threads:[~2023-08-24  7:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-13 10:06 bug#62812: 29.0.60; Persistent article cache not working properly James Thomas
     [not found] ` <handler.62812.B.16813804012844.ack@debbugs.gnu.org>
2023-04-20 10:30   ` bug#62812: [PATCH] " James Thomas
2023-04-20 10:58     ` James Thomas
2023-08-09  7:13       ` bug#62812: [BUMP, PATCH] " James Thomas
2023-08-23 13:37     ` bug#62812: [PATCH] " James Thomas
2023-08-23 13:56       ` Eli Zaretskii
2023-08-23 16:47         ` Eric Abrahamsen
2023-08-24  5:50           ` Eli Zaretskii
2023-08-24  7:29             ` James Thomas [this message]
2023-08-24  7:43               ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87cyzc5255.fsf@gmx.net \
    --to=jimjoe@gmx.net \
    --cc=62812@debbugs.gnu.org \
    --cc=cohen@andy.bu.edu \
    --cc=eliz@gnu.org \
    --cc=eric@ericabrahamsen.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.