GNU bug report logs -
#72949
[PATCH] Wrong unread count in the Group buffer in nnimap
Previous Next
Reported by: James Thomas <jimjoe <at> gmx.net>
Date: Mon, 2 Sep 2024 06:01:02 UTC
Severity: normal
Tags: fixed, patch
Fixed in version 31.1
Done: Robert Pluim <rpluim <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #50 received at 72949 <at> debbugs.gnu.org (full text, mbox):
Dan Christensen wrote:
> On Sep 15, 2024, James Thomas <jimjoe <at> gmx.net> wrote:
>
>> Dan Christensen wrote:
>>
>>> (max (1+ (- (cdr active) (car active))) 0)
>>
>> Just wanna chime in with what's in (info "(gnus) Required Back End
>> Functions"):
>>
>> Gnus just discards the total-number, so whether one should take the
>> bother to generate it properly (if that is a problem) is left as an
>> exercise to the reader.
>
> That's interesting. I wonder if it is still correct.
>
> As I mentioned in an earlier message in this bug report, without that
> line of the patch, Gnus gives me an error. Without that line, Gnus
> would calculate the total number of articles as -1, and this line
> from gnus-start.el would fail to match because of the minus sign:
>
> (when (looking-at "[0-9]+ [0-9]+ \\([0-9]+\\) [0-9]+")
Of course, a non-numeric character would still be wanton.
> I see that many other parts of Gnus do a correct calculation of the
> total number of articles
Wrt this function? Maybe they didn't realize this. :-)
Regards,
James
This bug report was last modified 275 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.