GNU logs - #28331, boring messages


Message sent to bug-gnu-emacs@HIDDEN, bugs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#28331: [gnus] Articles loose read status on expiry
Resent-From: Nikolaus Rath <Nikolaus@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN, bugs@HIDDEN
Resent-Date: Sat, 02 Sep 2017 14:31:01 +0000
Resent-Message-ID: <handler.28331.B.150436265525534 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 28331
X-GNU-PR-Package: emacs,gnus
X-GNU-PR-Keywords: 
To: 28331 <at> debbugs.gnu.org
X-Debbugs-Original-To: submit <at> debbugs.gnu.org (The Gnus Bugfixing Girls + Boys)
Received: via spool by submit <at> debbugs.gnu.org id=B.150436265525534
          (code B ref -1); Sat, 02 Sep 2017 14:31:01 +0000
Received: (at submit) by debbugs.gnu.org; 2 Sep 2017 14:30:55 +0000
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>
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-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




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Nikolaus Rath <Nikolaus@HIDDEN>
Subject: bug#28331: Acknowledgement ([gnus] Articles loose read status on
 expiry)
Message-ID: <handler.28331.B.150436265525534.ack <at> debbugs.gnu.org>
References: <87d179jhpi.fsf@HIDDEN>
X-Gnu-PR-Message: ack 28331
X-Gnu-PR-Package: emacs,gnus
Reply-To: 28331 <at> debbugs.gnu.org
Date: Sat, 02 Sep 2017 14:31:01 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN
 bugs@HIDDEN

If you wish to submit further information on this problem, please
send it to 28331 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
28331: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D28331
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN, bugs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#28331: [gnus] Articles loose read status on expiry
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN, bugs@HIDDEN
Resent-Date: Wed, 11 Apr 2018 21:49:02 +0000
Resent-Message-ID: <handler.28331.B28331.152348331121513 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 28331
X-GNU-PR-Package: emacs,gnus
X-GNU-PR-Keywords: 
To: Nikolaus Rath <Nikolaus@HIDDEN>
Cc: 28331 <at> debbugs.gnu.org
Received: via spool by 28331-submit <at> debbugs.gnu.org id=B28331.152348331121513
          (code B ref 28331); Wed, 11 Apr 2018 21:49:02 +0000
Received: (at 28331) by debbugs.gnu.org; 11 Apr 2018 21:48:31 +0000
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>
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-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




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


Received: (at control) by debbugs.gnu.org; 11 Apr 2018 21:48:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 11 17:48:30 2018
Received: from localhost ([127.0.0.1]:46663 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-0005ao-Ld
	for submit <at> debbugs.gnu.org; Wed, 11 Apr 2018 17:48:30 -0400
Received: from hermes.netfonds.no ([80.91.224.195]:46836)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1f6NbQ-0005aY-Mw
 for control <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 1f6NbO-00021X-ER
 for control <at> debbugs.gnu.org; Wed, 11 Apr 2018 23:48:28 +0200
Received: from larsi by corrigan with local (Exim 4.89)
 (envelope-from <larsi@HIDDEN>) id 1f6NbI-0002Xv-UX
 for control <at> debbugs.gnu.org; Wed, 11 Apr 2018 23:48:20 +0200
To: control <at> debbugs.gnu.org
From: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: control message for bug #28331
Message-Id: <E1f6NbI-0002Xv-UX@corrigan>
Date: Wed, 11 Apr 2018 23:48:20 +0200
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
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 (-)

tags 28331 moreinfo




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


Received: (at control) by debbugs.gnu.org; 12 Apr 2018 16:43:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 12 12:43:13 2018
Received: from localhost ([127.0.0.1]:48246 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f6fJY-0007G4-SG
	for submit <at> debbugs.gnu.org; Thu, 12 Apr 2018 12:43:13 -0400
Received: from hermes.netfonds.no ([80.91.224.195]:59180)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1f6fJW-0007Fw-Rd
 for control <at> debbugs.gnu.org; Thu, 12 Apr 2018 12:43:11 -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 1f6fJU-0003Gx-Dw
 for control <at> debbugs.gnu.org; Thu, 12 Apr 2018 18:43:10 +0200
Received: from larsi by corrigan with local (Exim 4.89)
 (envelope-from <larsi@HIDDEN>) id 1f6fJM-0004zx-SW
 for control <at> debbugs.gnu.org; Thu, 12 Apr 2018 18:43:00 +0200
To: control <at> debbugs.gnu.org
From: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: control message for bug #21071
Message-Id: <E1f6fJM-0004zx-SW@corrigan>
Date: Thu, 12 Apr 2018 18:43:00 +0200
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
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 (-)

forcemerge 21071 28331




Message sent to bug-gnu-emacs@HIDDEN, bugs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#28331: [gnus] Articles loose read status on expiry
Resent-From: Nikolaus Rath <Nikolaus@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN, bugs@HIDDEN
Resent-Date: Sun, 29 Apr 2018 15:15:02 +0000
Resent-Message-ID: <handler.28331.B28331.152501484829385 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 28331
X-GNU-PR-Package: emacs,gnus
X-GNU-PR-Keywords: moreinfo
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: 28331 <at> debbugs.gnu.org
Received: via spool by 28331-submit <at> debbugs.gnu.org id=B28331.152501484829385
          (code B ref 28331); Sun, 29 Apr 2018 15:15:02 +0000
Received: (at 28331) by debbugs.gnu.org; 29 Apr 2018 15:14:08 +0000
Received: from localhost ([127.0.0.1]:43009 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fCo1d-0007dq-9U
	for submit <at> debbugs.gnu.org; Sun, 29 Apr 2018 11:14:08 -0400
Received: from out2-smtp.messagingengine.com ([66.111.4.26]:51575)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Nikolaus@HIDDEN>) id 1fCo1Y-0007dH-Ey
 for 28331 <at> debbugs.gnu.org; Sun, 29 Apr 2018 11:14:04 -0400
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id 01CBE21511;
 Sun, 29 Apr 2018 11:14:00 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute1.internal (MEProxy); Sun, 29 Apr 2018 11:14:00 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=H7VBGB
 gTiCfrrI8xvbjQZdu+CqvRSJORh4tMj8/LQ2w=; b=a++cExrMgudycxtWT87Z0+
 ysH06AGxuwkxoQGgqJGcldaV1pfQbRiyJBxpsXZgisDHkAl+YKQNsm8VTFzPjR2S
 jrUi6nLqtaVIgQZ7lMI+l+O8ULbGWq97a0Rl15a9R8wX4NaNQJlIhdvAJorM7hjY
 QbSg/SFgAOp4TdttkfE1zvl3Y4DFb/yYTqYsPY+gl0c3IHrpKVgHZ1AEksQnKzzg
 l5q9p+f1B0Pd1Y/NZ0LcjjWZ3psybxQO0qjOZGStK03GtDKJB7pojQNYfnnIcD+d
 ePLsUneqFnJetgXPPe9EQ5jtJgx6rcRqtLDXhFmnJgO0XiBko9QSXnAqLuWJ1JVg
 ==
X-ME-Sender: <xms:N-HlWhDNdRMT0uZnIXA822xWMPLdiccigLHWffPt3ZFb8_YAuNXSkQ>
Received: from ebox.rath.org (ebox.rath.org [185.3.94.194])
 by mail.messagingengine.com (Postfix) with ESMTPA id 70730E4924;
 Sun, 29 Apr 2018 11:13:59 -0400 (EDT)
Received: from vostro.rath.org (vostro [192.168.12.4])
 by ebox.rath.org (Postfix) with ESMTPS id 4FFD227;
 Sun, 29 Apr 2018 15:13:58 +0000 (UTC)
Received: by vostro.rath.org (Postfix, from userid 1000)
 id C5608E2BE7; Sun, 29 Apr 2018 16:13:57 +0100 (BST)
From: Nikolaus Rath <Nikolaus@HIDDEN>
References: <87d179jhpi.fsf@HIDDEN> <87muy9wh25.fsf@HIDDEN>
Date: Sun, 29 Apr 2018 16:13:57 +0100
In-Reply-To: <87muy9wh25.fsf@HIDDEN> (Lars Ingebrigtsen's message of
 "Wed, 11 Apr 2018 23:48:18 +0200")
Message-ID: <8736ze11vu.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) 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-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.7 (-)

On Apr 11 2018, Lars Ingebrigtsen <larsi@HIDDEN> wrote:
> 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?

"patch" may be exaggerating it a little bit. What I used is

(remove-hook 'gnus-summary-prepare-exit-hook 'gnus-summary-expire-articles)

in my .gnus and

     ;; Remove entries for this group.
     (nnmail-purge-split-history (gnus-group-real-name group))
     ;; Make all changes in this group permanent.
     (unless quit-config
       (gnus-run-hooks 'gnus-exit-group-hook)
       (gnus-summary-update-info))
+    (gnus-summary-expire-articles)
     (gnus-close-group group)
     ;; Make sure where we were, and go to next newsgroup.
     (when (buffer-live-p (get-buffer gnus-group-buffer))
       (set-buffer gnus-group-buffer))
     (unless quit-config

in gnus-summary-exit (gnus-sum.el).



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




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


Received: (at control) by debbugs.gnu.org; 9 Jan 2019 19:38:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 09 14:38:40 2019
Received: from localhost ([127.0.0.1]:52535 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ghJgW-0003jn-LE
	for submit <at> debbugs.gnu.org; Wed, 09 Jan 2019 14:38:40 -0500
Received: from eggs.gnu.org ([209.51.188.92]:57126)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rgm@HIDDEN>) id 1ghJgV-0003jW-1S
 for control <at> debbugs.gnu.org; Wed, 09 Jan 2019 14:38:39 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rgm@HIDDEN>) id 1ghJgP-0001X8-Cr
 for control <at> debbugs.gnu.org; Wed, 09 Jan 2019 14:38:33 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:470:142:3::e]:45883)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rgm@HIDDEN>)
 id 1ghJgI-0001Qx-E5
 for control <at> debbugs.gnu.org; Wed, 09 Jan 2019 14:38:29 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <rgm@HIDDEN>) id 1ghJgF-0007p0-L1
 for control <at> debbugs.gnu.org; Wed, 09 Jan 2019 14:38:24 -0500
Subject: control message for bug 28331
To: <control <at> debbugs.gnu.org>
X-Mailer: mail (GNU Mailutils 2.99.98)
Message-Id: <E1ghJgF-0007p0-L1@HIDDEN>
From: Glenn Morris <rgm@HIDDEN>
Date: Wed, 09 Jan 2019 14:38:23 -0500
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:470:142:3::e
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: control
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 (-)

tag 28331 - moreinfo





Last modified: Wed, 9 Jan 2019 19:45:01 UTC

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