From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nikolaus Rath Newsgroups: gmane.emacs.bugs Subject: bug#28331: [gnus] Articles loose read status on expiry Date: Sat, 02 Sep 2017 16:30:49 +0200 Message-ID: <87d179jhpi.fsf@vostro.rath.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1504362698 8383 195.159.176.226 (2 Sep 2017 14:31:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 2 Sep 2017 14:31:38 +0000 (UTC) User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1 (gnu/linux) To: 28331@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 02 16:31:24 2017 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 1do9S1-0000mY-Hy for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Sep 2017 16:31:09 +0200 Original-Received: from localhost ([::1]:53161 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1do9S8-0001vZ-NQ for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Sep 2017 10:31:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1do9Rz-0001um-8n for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2017 10:31:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1do9Ru-0007st-NF for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2017 10:31:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34903) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1do9Ru-0007sg-Il for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2017 10:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1do9Rt-0006ks-N7; Sat, 02 Sep 2017 10:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nikolaus Rath Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sat, 02 Sep 2017 14:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28331 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: X-Debbugs-Original-To: submit@debbugs.gnu.org (The Gnus Bugfixing Girls + Boys) Original-Received: via spool by submit@debbugs.gnu.org id=B.150436265525534 (code B ref -1); Sat, 02 Sep 2017 14:31:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Sep 2017 14:30:55 +0000 Original-Received: from localhost ([127.0.0.1]:43583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1do9Rm-0006dV-VJ for submit@debbugs.gnu.org; Sat, 02 Sep 2017 10:30:55 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:39619) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1do9Rl-0006aY-CU for submit@debbugs.gnu.org; Sat, 02 Sep 2017 10:30:53 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B89E420C42 for ; Sat, 2 Sep 2017 10:30:51 -0400 (EDT) Original-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: X-Sasl-enc: wnXD97ln4ECjKXl4Jlb6z1lHrCXuHu89DIX+2DreWPiN 1504362651 Original-Received: from ebox.rath.org (ebox.rath.org [45.79.69.51]) by mail.messagingengine.com (Postfix) with ESMTPA id 74D977F96A for ; Sat, 2 Sep 2017 10:30:51 -0400 (EDT) Original-Received: from vostro.rath.org (vostro [192.168.12.4]) by ebox.rath.org (Postfix) with ESMTPS id 7350FEC for ; Sat, 2 Sep 2017 14:30:50 +0000 (UTC) Original-Received: by vostro.rath.org (Postfix, from userid 1000) id 09F8A102D25; Sat, 2 Sep 2017 16:30:49 +0200 (CEST) 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:136502 Archived-At: 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