From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from mx1.math.uh.edu (mx1.math.uh.edu [129.7.128.32]) by inbox.vuxu.org (Postfix) with ESMTP id 4C7CD2B3CF for ; Tue, 20 Feb 2024 12:59:53 +0100 (CET) Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1rcOmu-0000000GbFY-1c6k for ml@inbox.vuxu.org; Tue, 20 Feb 2024 05:59:52 -0600 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.97.1) (envelope-from ) id 1rcOmu-00000000j19-0dQk for ml@inbox.vuxu.org; Tue, 20 Feb 2024 05:59:52 -0600 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.97.1) (envelope-from ) id 1rcOmp-00000000j10-324C for ding@lists.math.uh.edu; Tue, 20 Feb 2024 05:59:49 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1rcOmn-0000000GbF2-4BlI for ding@lists.math.uh.edu; Tue, 20 Feb 2024 05:59:47 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References :In-Reply-To:Message-ID:Subject:From:To:Date:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Mn48g8tMWv86PTjbb/LxHnxJ56S/jzrrs6vSt1Xkq4M=; b=K25Np5oEJDiHUzHYIpFcSienMA IGkly1tA652g8Jl9h+P6OKqu0AfPDvTgs5oarPnvcwlwi11As0JodY2+r2T2/ISa+3y5zfbyeWKkL cQ2Aa3jYnnhS+eqC1KqabV+W28QyvH6HRm3gt6JK2SosoYlbzETdaosXqJX0E/Zv6iPk=; Received: from mail-4018.proton.ch ([185.70.40.18]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rcOmd-0002s6-Qj for ding@gnus.org; Tue, 20 Feb 2024 12:59:40 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kubajecminek.cz; s=protonmail; t=1708430373; x=1708689573; bh=Mn48g8tMWv86PTjbb/LxHnxJ56S/jzrrs6vSt1Xkq4M=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=Ed0f7nPf4MTinKjgzHKkpcuhmKnyZULak2BE3Een7vySjvgTmfdfz1mulyyUlSKrU saxqZwH9RBNXxERMwztaoiefzyTkt0wBBaSEWv/jW2vgOLGwhsxGjeGNs5/HdsFv6R KqRNFAx7yHcwnIQDnDOkv7BAV1383BCuzkORaNKVHvzkM0PLRs4I2K6BoUMoo2Lrru 7dsGk1QugGSD6MBM8zpWxOUZVfXRvPkrEYTVPOQ1VTuRbLxxEylIvmmE3OnTaL7ATo P+RAtKvzqfJUEIx1GizIWwbVIbwCF+p8QCJBi1+YLPrSniXkxCRok3/dEI1A+sHcFN bRzKkqooDGbiA== Date: Tue, 20 Feb 2024 11:59:08 +0000 To: ding@gnus.org From: =?utf-8?Q?Jakub_Je=C4=8Dm=C3=ADnek?= Subject: Re: ProtonMail Bridge Patch Message-ID: <87cysruz1x.fsf@kubajecminek.cz> In-Reply-To: <87y1bhmxqa.fsf@ericabrahamsen.net> References: <86msrzknim.fsf@kubajecminek.cz> <87frxrq84g.fsf@ericabrahamsen.net> <86cysvexqv.fsf@kubajecminek.cz> <87y1bhpt1o.fsf@ericabrahamsen.net> <87r0h94pvh.fsf@kubajecminek.cz> <87y1bhmxqa.fsf@ericabrahamsen.net> Feedback-ID: 98803324:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: Precedence: bulk "Eric Abrahamsen" writes: > Huh. Yeah, I absolutely believe it's true, I just wish I could pinpoint > where. Ok, I think I've found it. The problem is that we're feeding unsorted lists into a bunch of functions that require lists to be sorted (a lot of functions do in 'gnus-range.el'). **Example 1:** Inside the body of 'gnus-select-newsgroup' ('gnus-sum.el'). (setq gnus-newsgroup-unreads =09 (gnus-sorted-nintersection =09 gnus-newsgroup-unreads fetched-articles)) ... (gnus-update-missing-marks (gnus-sorted-difference articles fetched-articles)) **Example 2:** Inside the body of 'nnimap-update-info' ('nnimap.el'). (let* ((unread (gnus-compress-sequence =09=09(gnus-set-difference =09=09 (gnus-set-difference =09=09 existing =09=09 (gnus-sorted-union =09=09 (cdr (assoc '%Seen flags)) =09=09 (cdr (assoc '%Deleted flags)))) =09=09 (cdr (assoc '%Flagged flags))))) (read (range-difference =09 (cons start-article high) unread))) --=20 Kuba Je=C4=8Dm=C3=ADnek (http://kubajecminek.cz)