Re: bug#72949: Gnus sometimes reports new messages but not showing them on IMAP server
Dan Christensen <[email protected]> Sat, 14 Sep 2024 12:28:37 -0400
| Newsgroups | gmane.emacs.gnus.general |
|---|---|
| Message-ID | <[email protected]> |
An alternative to (max (1+ (- (cdr active) (car active))) 0) would be (range-length active), I believe. (Untested.) That function assume that the range is well-formed, so doesn't use max to avoid negative numbers, but that's probably fine. (range-length '(1 . 0)) does correctly return 0. Dan