From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 30127 invoked from network); 13 Aug 2020 08:48:36 -0000 Received: from lists1.math.uh.edu (129.7.128.208) by inbox.vuxu.org with ESMTPUTF8; 13 Aug 2020 08:48:36 -0000 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94) (envelope-from ) id 1k68tr-00786V-10; Thu, 13 Aug 2020 03:47:51 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1k68tl-00784a-V3 for ding@lists.math.uh.edu; Thu, 13 Aug 2020 03:47:45 -0500 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.94) (envelope-from ) id 1k68tk-008y15-0z for ding@lists.math.uh.edu; Thu, 13 Aug 2020 03:47:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=+EVASP4Ef4eP9Mt6kNVpWU4C4miUEsqRGBciVjKBSd0=; b=Q6hZOfBF3qMZuWsyDhOmvcvBci +MwXcayoD+sA1WlfZH9URBv4lSJXjVojl0mGeDl0MrjRlBxhWm0z41p/S0FqlDZO8kHL/VBXp/EWf HQIpko8hbOlT1t5dEZ06/pEgF1XIxgYGDViCZ3Y8PGO/Kw6ae+kEsgDq0rSHSSMEf0lg=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k68tb-00047b-Ly; Thu, 13 Aug 2020 10:47:38 +0200 From: Lars Ingebrigtsen To: ding@gnus.org Cc: Nikolaus Rath , 20672@debbugs.gnu.org Subject: Re: bug#20672: [PATCH] Support hiding deleted IMAP messages (v2) References: <87d21m3ao0.fsf@vostro.rath.org> <873817cmk6.fsf@vostro.rath.org> <87poj9r5ts.fsf@gnus.org> Date: Thu, 13 Aug 2020 10:47:33 +0200 In-Reply-To: <87poj9r5ts.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 26 Jan 2017 20:15:11 +0100") Message-ID: <87zh6zgcey.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain List-ID: Precedence: bulk Lars Ingebrigtsen writes: > I think it would be better to just convey the information up to the Gnus > layer, and then Gnus could have a switch to not display these deleted > messages. > > Or perhaps just pretend like all \Deleted messages are \Read? Apparently, that's what we've been doing since 2013: (let* ((unread (gnus-compress-sequence (gnus-set-difference (gnus-set-difference existing (gnus-sorted-union (cdr (assoc '%Seen flags)) (cdr (assoc '%Deleted flags)))) (cdr (assoc '%Flagged flags))))) (read (gnus-range-difference (cons start-article high) unread))) So I think re-handling this (as the patch suggested) should be unnecessary, so I'm closing this bug report. If the problem still exists, please respond to this email and we'll reopen the bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no