From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#28331: [gnus] Articles loose read status on expiry Date: Wed, 11 Apr 2018 23:48:18 +0200 Message-ID: <87muy9wh25.fsf@mouse.gnus.org> References: <87d179jhpi.fsf@vostro.rath.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1523483232 8505 195.159.176.226 (11 Apr 2018 21:47:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 11 Apr 2018 21:47:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 28331@debbugs.gnu.org To: Nikolaus Rath Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 11 23:47:08 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6Na7-00027Y-IX for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Apr 2018 23:47:07 +0200 Original-Received: from localhost ([::1]:60810 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6NcE-0007KW-6Z for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Apr 2018 17:49:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56241) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6Nc1-0007IE-S4 for bug-gnu-emacs@gnu.org; Wed, 11 Apr 2018 17:49:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f6Nby-0007P8-Q9 for bug-gnu-emacs@gnu.org; Wed, 11 Apr 2018 17:49:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38768) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f6Nby-0007Oy-LU for bug-gnu-emacs@gnu.org; Wed, 11 Apr 2018 17:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f6Nby-0005bc-E7; Wed, 11 Apr 2018 17:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 11 Apr 2018 21:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28331 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Original-Received: via spool by 28331-submit@debbugs.gnu.org id=B28331.152348331121513 (code B ref 28331); Wed, 11 Apr 2018 21:49:02 +0000 Original-Received: (at 28331) by debbugs.gnu.org; 11 Apr 2018 21:48:31 +0000 Original-Received: from localhost ([127.0.0.1]:46665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6NbS-0005aq-Sm for submit@debbugs.gnu.org; Wed, 11 Apr 2018 17:48:31 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:46832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6NbQ-0005aW-6i for 28331@debbugs.gnu.org; Wed, 11 Apr 2018 17:48:29 -0400 Original-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 ) id 1f6NbM-0001zJ-JS; Wed, 11 Apr 2018 23:48:26 +0200 Original-Received: from larsi by corrigan with local (Exim 4.89) (envelope-from ) id 1f6NbG-0002Xs-Nk; Wed, 11 Apr 2018 23:48:18 +0200 In-Reply-To: <87d179jhpi.fsf@vostro.rath.org> (Nikolaus Rath's message of "Sat, 02 Sep 2017 16:30:49 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:145099 Archived-At: Nikolaus Rath 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