From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Roland Winkler Newsgroups: gmane.emacs.bugs Subject: bug#54158: 28.0.91; duplicate mail downloads in Gnus (IMAP) Date: Fri, 18 Mar 2022 12:55:09 -0500 Message-ID: <87pmmjrvr6.fsf@gnu.org> References: <87tucmc2y4.fsf@gnu.org> <87mtiek67l.fsf@ericabrahamsen.net> <87v8x2ljbs.fsf@gnu.org> <87a6eejjbr.fsf@ericabrahamsen.net> <87a6e1n4n9.fsf@gnu.org> <87r1797g3r.fsf@ericabrahamsen.net> <87v8wi8li3.fsf@gnu.org> <874k3vutrl.fsf@gnu.org> <8735jfqllr.fsf@ericabrahamsen.net> <8735jfte26.fsf@gnu.org> <87wngr9plh.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34228"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eric Abrahamsen , 54158@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 18 18:57:21 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nVGqm-0008n5-QD for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Mar 2022 18:57:20 +0100 Original-Received: from localhost ([::1]:46682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nVGql-0005Hd-LL for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Mar 2022 13:57:19 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVGpW-0003um-Qr for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2022 13:56:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36200) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nVGpW-0005UL-H3 for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2022 13:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nVGpW-0006QR-GU for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2022 13:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Roland Winkler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Mar 2022 17:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54158 X-GNU-PR-Package: emacs Original-Received: via spool by 54158-submit@debbugs.gnu.org id=B54158.164762613924666 (code B ref 54158); Fri, 18 Mar 2022 17:56:02 +0000 Original-Received: (at 54158) by debbugs.gnu.org; 18 Mar 2022 17:55:39 +0000 Original-Received: from localhost ([127.0.0.1]:58330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVGp9-0006Pm-GI for submit@debbugs.gnu.org; Fri, 18 Mar 2022 13:55:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVGp8-0006Pa-IO for 54158@debbugs.gnu.org; Fri, 18 Mar 2022 13:55:38 -0400 Original-Received: from [2001:470:142:3::e] (port=57402 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVGp3-0005QF-2N; Fri, 18 Mar 2022 13:55:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=RTyEXnOq+y4Iu7nVumrEPxGBpyo8pLf7nXbXi8zJAUw=; b=LIJ+AYR001q9PxMiH+eB ukmLoKFmqWqrCJsibDTQ/wrEuY2thausE1muqLAHi+ABSXGQ5RVzCDPOUvJihg51f9ZDwht0Ja8di mZ+KENNQR5cfQW2+Cmu/mn977GevlxjISfzmwuEfpxLT/YT5VIQj9CSx6gy4MRFEj9B7HP/ZRzhh3 RMGA2bIt/PzyAwS1gHoQ831jywQJ/nzirT1tpIIIqthG3uazIQs6K+5kfoFZ2bh2ghLzbMfuhoqtO 83hN/qQpCehFv54UBEHOjYNNMxA8dRvmUijUn3cYox/mGv/CZ3eqgvHRGQpjUWIgGwP2fZoPBVLW3 hHFeNjeI0Kw8EA==; Original-Received: from [2600:1700:5650:f790::42] (port=37758 helo=regnitz) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVGog-0003dM-6e; Fri, 18 Mar 2022 13:55:24 -0400 In-Reply-To: <87wngr9plh.fsf@gmail.com> (Robert Pluim's message of "Fri, 18 Mar 2022 17:45:30 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:228566 Archived-At: On Fri, Mar 18 2022, Robert Pluim wrote: > You mean (setq imap-log t)? YES, thank you! So finally I can be more specific: (1) When the message from Imap folder FOO is not properly deleted on the server, the log buffer says (Emacs 28) 11 OK UID FETCH completed%d 12 UID STORE 135750,27 +FLAGS (\Deleted)%d 12 OK STORE completed%d 13 CLOSE%d 13 OK CLOSE completed%d (2) When Emacs 28 does properly delete the message in Imap folder FOO, the log buffer says 9 OK UID FETCH completed%d 10 UID STORE 27 +FLAGS (\Deleted)%d * 1 FETCH (UID 27 FLAGS (\Deleted))%d 10 OK STORE completed%d 11 CLOSE%d 11 OK CLOSE completed%d The details are interesting: (1) I got the first snippet when Emacs 28 first downloaded and properly deleted a message from INBOX (this message had UID 135750), then things failed as shown for the message downloaded from folder FOO. It seems the UID of the message from INBOX reappeared when Gnus wanted to download the message from FOO. (2) In the second IMAP session, there was only the message in FOO and nothing in INBOX. Then Emacs 28 properly downloaded and deleted the message from folder FOO.