GNU bug report logs - #28331
[gnus] Articles loose read status on expiry

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs,gnus; Reported by: Nikolaus Rath <Nikolaus@HIDDEN>; Keywords: moreinfo; merged with #21071; dated Sat, 2 Sep 2017 14:31:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Forcibly Merged 21071 28331. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 28331 <at> debbugs.gnu.org:


Received: (at 28331) by debbugs.gnu.org; 11 Apr 2018 21:48:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 11 17:48:31 2018
Received: from localhost ([127.0.0.1]:46665 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f6NbS-0005aq-Sm
	for submit <at> debbugs.gnu.org; Wed, 11 Apr 2018 17:48:31 -0400
Received: from hermes.netfonds.no ([80.91.224.195]:46832)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1f6NbQ-0005aW-6i
 for 28331 <at> debbugs.gnu.org; Wed, 11 Apr 2018 17:48:29 -0400
Received: from 46.67.12.60.tmi.telenormobil.no ([46.67.12.60] helo=corrigan)
 by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <larsi@HIDDEN>)
 id 1f6NbM-0001zJ-JS; Wed, 11 Apr 2018 23:48:26 +0200
Received: from larsi by corrigan with local (Exim 4.89)
 (envelope-from <larsi@HIDDEN>)
 id 1f6NbG-0002Xs-Nk; Wed, 11 Apr 2018 23:48:18 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Nikolaus Rath <Nikolaus@HIDDEN>
Subject: Re: bug#28331: [gnus] Articles loose read status on expiry
References: <87d179jhpi.fsf@HIDDEN>
Date: Wed, 11 Apr 2018 23:48:18 +0200
In-Reply-To: <87d179jhpi.fsf@HIDDEN> (Nikolaus Rath's message of
 "Sat, 02 Sep 2017 16:30:49 +0200")
Message-ID: <87muy9wh25.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 28331
Cc: 28331 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Nikolaus Rath <Nikolaus@HIDDEN> writes:

> When marking an article as read and for expiry, and the expiry target is
> another group, the article ends up being unread again in the target
> group.
>
> An easy fix is to take `gnus-summary-expire-articles' out of
> `gnus-summary-prepare-exit-hook', and instead call it explicitly in
> `gnus-summary-exit' at a later point.
>
> However, this results in the article not just being marked read in the
> target group (as intended), but also still marked for expiry (not
> good). I could not figure out how to change that.
>
> I've observed this with the nnimap backend.

I don't use expiry targets, but this sounds like the right solution
(only that the expiry mark should be filtered out).  Could you post the
patch of what you have and I can take a whack at doing the filtering?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN, bugs@HIDDEN:
bug#28331; Package emacs,gnus. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Sep 2017 14:30:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 02 10:30:55 2017
Received: from localhost ([127.0.0.1]:43583 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1do9Rm-0006dV-VJ
	for submit <at> debbugs.gnu.org; Sat, 02 Sep 2017 10:30:55 -0400
Received: from out1-smtp.messagingengine.com ([66.111.4.25]:39619)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Nikolaus@HIDDEN>) id 1do9Rl-0006aY-CU
 for submit <at> debbugs.gnu.org; Sat, 02 Sep 2017 10:30:53 -0400
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id B89E420C42
 for <submit <at> debbugs.gnu.org>; Sat,  2 Sep 2017 10:30:51 -0400 (EDT)
Received: from frontend1 ([10.202.2.160])
 by compute1.internal (MEProxy); Sat, 02 Sep 2017 10:30:51 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-transfer-encoding:content-type
 :date:from:message-id:mime-version:subject:to:x-me-sender
 :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=dW1kMM4R659obyAh3g
 u6tFt5XMKOHcJbR2qvEPPdl98=; b=f8ZniDpKWXoKwIbRSNbur0V+CD71ghx+03
 PalU+X4+qJCd1jZcduZNXhn9F4YKLwQaian0eHaLQjxwc88yRNMQdA/9/mLdT8IK
 6UE+M1Rx6NmMOS+JPpFcs5vsCY87vZHpRtQ7gTfvxmeBnbhxJ45DNpin4ZLBNDQV
 eh2EYKGSs86+telnSMMMRD8eGOa/4TbC8QRXXKcQ6rVnDHxdzUKQxLRJBn9DAyNJ
 rrmnqXt+ETq29MOB/57Vzy339wji1UO8aeWUR3wo3ICMos3iLPMWh18me5ximL3C
 kP57gGAga6njwwFcCDWJa6LDPOb30Mlh4lcMaQypRY5nprJG6bVA==
X-ME-Sender: <xms:m8CqWVcjg4gEHPIhKXiljUcj5giXRKKdnvkMeddfHdV75T3JedYXSg>
X-Sasl-enc: wnXD97ln4ECjKXl4Jlb6z1lHrCXuHu89DIX+2DreWPiN 1504362651
Received: from ebox.rath.org (ebox.rath.org [45.79.69.51])
 by mail.messagingengine.com (Postfix) with ESMTPA id 74D977F96A
 for <submit <at> debbugs.gnu.org>; Sat,  2 Sep 2017 10:30:51 -0400 (EDT)
Received: from vostro.rath.org (vostro [192.168.12.4])
 by ebox.rath.org (Postfix) with ESMTPS id 7350FEC
 for <submit <at> debbugs.gnu.org>; Sat,  2 Sep 2017 14:30:50 +0000 (UTC)
Received: by vostro.rath.org (Postfix, from userid 1000)
 id 09F8A102D25; Sat,  2 Sep 2017 16:30:49 +0200 (CEST)
From: Nikolaus Rath <Nikolaus@HIDDEN>
To: submit <at> debbugs.gnu.org (The Gnus Bugfixing Girls + Boys)
Subject: [gnus] Articles loose read status on expiry
X-Debbugs-Version: 5.130014
X-Debbugs-Package: emacs,gnus
Date: Sat, 02 Sep 2017 16:30:49 +0200
Message-ID: <87d179jhpi.fsf@HIDDEN>
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

When marking an article as read and for expiry, and the expiry target is
another group, the article ends up being unread again in the target
group.

An easy fix is to take `gnus-summary-expire-articles' out of
`gnus-summary-prepare-exit-hook', and instead call it explicitly in
`gnus-summary-exit' at a later point.

However, this results in the article not just being marked read in the
target group (as intended), but also still marked for expiry (not
good). I could not figure out how to change that.

I've observed this with the nnimap backend.

Ma Gnus v0.14
GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.12)
 of 2017-04-23, modified by Debian

Best,
-Nikolaus

--=20
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             =C2=BBTime flies like an arrow, fruit flies like a Banana.=C2=
=AB




Acknowledgement sent to Nikolaus Rath <Nikolaus@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN, bugs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN, bugs@HIDDEN:
bug#28331; Package emacs,gnus. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 12 Apr 2018 16:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.