From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 15 20:14:52 2015 Received: (at submit) by debbugs.gnu.org; 16 Jul 2015 00:14:52 +0000 Received: from localhost ([127.0.0.1]:50462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFWpA-00035W-4c for submit@debbugs.gnu.org; Wed, 15 Jul 2015 20:14:52 -0400 Received: from ebox.rath.org ([23.92.25.96]:49797) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFWp8-00035O-Jp for submit@debbugs.gnu.org; Wed, 15 Jul 2015 20:14:51 -0400 Received: from vostro ([192.168.12.4] helo=vostro.rath.org) by ebox.rath.org with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.80) (envelope-from ) id 1ZFWp6-0004xE-GB for submit@debbugs.gnu.org; Thu, 16 Jul 2015 00:14:48 +0000 Received: by vostro.rath.org (Postfix, from userid 1000) id E995DEC65B0; Wed, 15 Jul 2015 17:14:47 -0700 (PDT) From: Nikolaus Rath To: submit@debbugs.gnu.org Subject: Gnus message flags must be set before expiration, not afterwards X-Debbugs-CC: ding@gnus.org, emacs-devel@gnu.org Date: Wed, 15 Jul 2015 17:14:47 -0700 Message-ID: <87mvyx2c20.fsf@vostro.rath.org> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.8 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Package: gnus Hello, If you perform the following steps: 1. Enter an nnimap group with expiry-target set to another nnimap group, and expiry-wait 'immediate. 2. Select an unread article, mark it as read 3. Also mark the article for expiry 4. Leave the group .. then the article will be in the target group, but it will still be unread. As far as I can tell, this is because Gnus is running nn*-request-expire-articles *before* nn*-request-set-mark rather than the other way around. Best, -Nikolaus --=20 GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F =C2=BBTime flies like an arrow, fruit flies like a Banana.=C2= =AB From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 15 20:22:12 2015 Received: (at 21071) by debbugs.gnu.org; 16 Jul 2015 00:22:12 +0000 Received: from localhost ([127.0.0.1]:50469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFWwC-0003Gk-0L for submit@debbugs.gnu.org; Wed, 15 Jul 2015 20:22:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52536) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFWw6-0003G8-Kr for 21071@debbugs.gnu.org; Wed, 15 Jul 2015 20:22:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFWvw-00010l-Bj for 21071@debbugs.gnu.org; Wed, 15 Jul 2015 20:21:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59452) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFWvp-0000z6-E1; Wed, 15 Jul 2015 20:21:45 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZFWvn-0005bh-Cf; Wed, 15 Jul 2015 20:21:43 -0400 From: Glenn Morris To: Nikolaus Rath Subject: Re: bug#21071: Gnus message flags must be set before expiration, not afterwards References: <87mvyx2c20.fsf@vostro.rath.org> Mail-Followup-To: 21071@debbugs.gnu.org X-Spook: Tamaulipas Matamoros Hazardous Small Pox Central X-Ran: cC]s5_o>cq3`:c+R?*WL X-Hue: cyan X-Attribution: GM Date: Wed, 15 Jul 2015 20:21:43 -0400 In-Reply-To: <87mvyx2c20.fsf@vostro.rath.org> (Nikolaus Rath's message of "Wed, 15 Jul 2015 17:14:47 -0700") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 21071 Cc: ding@gnus.org, 21071@debbugs.gnu.org, emacs-devel@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: 21071@debbugs.gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) You don't need to x-debbugs-cc every bug report you make to emacs-devel and ding@gnus.org, thus sending it to 3 (including gnus-bug) separate mailing lists. Just the bug list is fine. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 06 17:03:35 2015 Received: (at 21071) by debbugs.gnu.org; 6 Oct 2015 21:03:36 +0000 Received: from localhost ([127.0.0.1]:57476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZjZOZ-00056q-El for submit@debbugs.gnu.org; Tue, 06 Oct 2015 17:03:35 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:49095) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZjZOF-00056J-Bn for 21071@debbugs.gnu.org; Tue, 06 Oct 2015 17:03:34 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id B10DE204D9 for <21071@debbugs.gnu.org>; Tue, 6 Oct 2015 17:03:14 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Tue, 06 Oct 2015 17:03:14 -0400 DKIM-Signature: v=1; a=rsa-sha1; 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-sasl-enc:x-sasl-enc; s=smtpout; bh=y6XEi5MYFJBrXGs 9mA2lSxRWl+s=; b=euBL9B6RK/Juhm/o2eEUxVKwo62lmokrIyhpEf3uZAY4od/ VOGAsu0mO6Zy02VZ8OJ+0DXR8UatGzSn0HazccNEGMUvOp38uPG+0qwSZfE2P7N3 +U/729oRSGbz9zaaEXgmmDj8gTnTu+XDRNXbs/MCBUtZvSaz6AjjSLCdd0s0= X-Sasl-enc: H6o+8PnSFFFjfeLz+ubyOiVP42T2SIuQIKlethCWrt6S 1444165394 Received: from ebox.rath.org (ebox.rath.org [45.79.69.51]) by mail.messagingengine.com (Postfix) with ESMTPA id 6632CC00022; Tue, 6 Oct 2015 17:03:14 -0400 (EDT) Received: from vostro.rath.org (vostro [192.168.12.4]) by ebox.rath.org (Postfix) with ESMTPS id 58B9CB281A; Tue, 6 Oct 2015 21:03:13 +0000 (UTC) Received: by vostro.rath.org (Postfix, from userid 1000) id D9EF7F0CAB9; Tue, 6 Oct 2015 14:03:12 -0700 (PDT) From: Nikolaus Rath To: 21071@debbugs.gnu.org Subject: Re: bug#21071: Gnus message flags must be set before expiration, not afterwards References: <87mvyx2c20.fsf@vostro.rath.org> <87fv4p2b9n.fsf@vostro.rath.org> Mail-Copies-To: never Mail-Followup-To: 21071@debbugs.gnu.org, ding , emacs-devel Date: Tue, 06 Oct 2015 14:03:12 -0700 In-Reply-To: <87fv4p2b9n.fsf@vostro.rath.org> (Nikolaus Rath's message of "Wed, 15 Jul 2015 17:31:48 -0700") Message-ID: <87bncbu2un.fsf@vostro.rath.org> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 21071 Cc: ding , emacs-devel X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello, This issue is caused by article expiry being done in gnus-summary-prepare-exit-hook. gnus-summary-exit calls this hook before calling gnus-update-read-articles (which sets the read mark). A trivial patch is to invert the order: #V+ diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el index 37a707e..56406d0 100644 --- a/lisp/gnus-sum.el +++ b/lisp/gnus-sum.el @@ -7252,7 +7252,6 @@ If FORCE (the prefix), also save the .newsrc file(s)." (gnus-score-adaptive)) (when gnus-use-scoring (gnus-score-save))) - (gnus-run-hooks 'gnus-summary-prepare-exit-hook) (when gnus-use-cache (gnus-cache-possibly-remove-articles) (gnus-cache-save-buffers)) @@ -7269,6 +7268,7 @@ If FORCE (the prefix), also save the .newsrc file(s)." (unless quit-config (gnus-run-hooks 'gnus-exit-group-hook) (gnus-summary-update-info)) + (gnus-run-hooks 'gnus-summary-prepare-exit-hook) (gnus-close-group group) ;; Make sure where we were, and go to next newsgroup. (when (buffer-live-p (get-buffer gnus-group-buffer)) #V- I did not find any specific guarantees on when gnus-summary-prepare-exit-hook is called in the documentation, but that doesn't mean that people are not relying on the current calling order. Would a change like that nevertheless be acceptable? Alternatively, is what do people think about removing gnus-summary-expire-articles from the default value of gnus-summary-prepare-exit-hook and explicitly calling gnus-summary-expire-articles from gnus-summary-exit? Best, -Nikolaus --=20 GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F =C2=BBTime flies like an arrow, fruit flies like a Banana.=C2= =AB From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 26 14:45:19 2017 Received: (at 21071) by debbugs.gnu.org; 26 Jan 2017 19:45:19 +0000 Received: from localhost ([127.0.0.1]:46070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cWpyx-0006AC-D5 for submit@debbugs.gnu.org; Thu, 26 Jan 2017 14:45:19 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:56931) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cWpyv-0006A4-4T for 21071@debbugs.gnu.org; Thu, 26 Jan 2017 14:45:17 -0500 Received: from 2.150.50.220.tmi.telenormobil.no ([2.150.50.220] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cWpys-000470-Fa; Thu, 26 Jan 2017 20:45:16 +0100 From: Lars Ingebrigtsen To: 21071@debbugs.gnu.org Subject: Re: bug#21071: Gnus message flags must be set before expiration, not afterwards In-Reply-To: <87bncbu2un.fsf@vostro.rath.org> (Nikolaus Rath's message of "Tue, 06 Oct 2015 14:03:12 -0700") Date: Thu, 26 Jan 2017 20:43:53 +0100 Message-ID: <87sho5obd2.fsf@gnus.org> References: <87mvyx2c20.fsf@vostro.rath.org> <87fv4p2b9n.fsf@vostro.rath.org> <87bncbu2un.fsf@vostro.rath.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "hermes.netfonds.no", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Nikolaus Rath writes: > I did not find any specific guarantees on when > gnus-summary-prepare-exit-hook is called in the documentation, but that > doesn't mean that people are not relying on the current calling > order. Would a change like that nevertheless be acceptable? > > Alternatively, is what do people think about removing > gnus-summary-expire-articles from the default value of > gnus-summary-prepare-exit-hook and explicitly calling > gnus-summary-expire-articles from gnus-summary-exit? [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 21071 Cc: Nikolaus Rath , ding X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Nikolaus Rath writes: > I did not find any specific guarantees on when > gnus-summary-prepare-exit-hook is called in the documentation, but that > doesn't mean that people are not relying on the current calling > order. Would a change like that nevertheless be acceptable? > > Alternatively, is what do people think about removing > gnus-summary-expire-articles from the default value of > gnus-summary-prepare-exit-hook and explicitly calling > gnus-summary-expire-articles from gnus-summary-exit? I don't know why that function is in that hook by default; it seems kinda messy. But removing things from hooks isn't that easy since people add things, or set values explicitly. But we could call gnus-summary-expire-articles in the natural place unless it's in that hook, perhaps? And then remove it from the default value and hope for the best. Patches welcome. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 26 14:45:10 2017 Received: (at control) by debbugs.gnu.org; 26 Jan 2017 19:45:10 +0000 Received: from localhost ([127.0.0.1]:46067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cWpyo-00069q-5E for submit@debbugs.gnu.org; Thu, 26 Jan 2017 14:45:10 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:56918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cWpym-00069i-N5 for control@debbugs.gnu.org; Thu, 26 Jan 2017 14:45:08 -0500 Received: from 2.150.50.220.tmi.telenormobil.no ([2.150.50.220] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cWpyk-0003ZN-GC for control@debbugs.gnu.org; Thu, 26 Jan 2017 20:45:08 +0100 From: Lars Ingebrigtsen To: control@debbugs.gnu.org Subject: control message for bug #21071 Message-ID: <87wpdhobhj.fsf@totally-fudged-out-message-id> Date: Thu, 26 Jan 2017 20:45:00 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) reassign 21071 emacs,gnus From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 12 12:43:13 2018 Received: (at control) by debbugs.gnu.org; 12 Apr 2018 16:43:13 +0000 Received: from localhost ([127.0.0.1]:48246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6fJY-0007G4-SG for submit@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 ) id 1f6fJW-0007Fw-Rd for control@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 ) id 1f6fJU-0003Gx-Dw for control@debbugs.gnu.org; Thu, 12 Apr 2018 18:43:10 +0200 Received: from larsi by corrigan with local (Exim 4.89) (envelope-from ) id 1f6fJM-0004zx-SW for control@debbugs.gnu.org; Thu, 12 Apr 2018 18:43:00 +0200 To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #21071 Message-Id: Date: Thu, 12 Apr 2018 18:43:00 +0200 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) forcemerge 21071 28331 From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 09 14:38:40 2019 Received: (at control) by debbugs.gnu.org; 9 Jan 2019 19:38:40 +0000 Received: from localhost ([127.0.0.1]:52535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ghJgW-0003jn-LE for submit@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 ) id 1ghJgV-0003jW-1S for control@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 ) id 1ghJgP-0001X8-Cr for control@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 ) id 1ghJgI-0001Qx-E5 for control@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 ) id 1ghJgF-0007p0-L1 for control@debbugs.gnu.org; Wed, 09 Jan 2019 14:38:24 -0500 Subject: control message for bug 28331 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tag 28331 - moreinfo From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 23 09:01:09 2019 Received: (at control) by debbugs.gnu.org; 23 Jun 2019 13:01:09 +0000 Received: from localhost ([127.0.0.1]:53038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hf27I-0003MM-S9 for submit@debbugs.gnu.org; Sun, 23 Jun 2019 09:01:09 -0400 Received: from quimby.gnus.org ([80.91.231.51]:40516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hf27H-0003MF-2C for control@debbugs.gnu.org; Sun, 23 Jun 2019 09:01:07 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hf27A-0006Cf-1f for control@debbugs.gnu.org; Sun, 23 Jun 2019 15:01:06 +0200 Date: Sun, 23 Jun 2019 15:00:59 +0200 Message-Id: To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #33232 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: forcemerge 33232 21071 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) forcemerge 33232 21071 quit From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 23 09:02:35 2019 Received: (at control) by debbugs.gnu.org; 23 Jun 2019 13:02:35 +0000 Received: from localhost ([127.0.0.1]:53043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hf28h-0003Oj-7C for submit@debbugs.gnu.org; Sun, 23 Jun 2019 09:02:35 -0400 Received: from quimby.gnus.org ([80.91.231.51]:40542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hf28f-0003Ob-4n for control@debbugs.gnu.org; Sun, 23 Jun 2019 09:02:33 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hf28c-0006Cy-Ja for control@debbugs.gnu.org; Sun, 23 Jun 2019 15:02:32 +0200 Date: Sun, 23 Jun 2019 15:02:30 +0200 Message-Id: To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #21071 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 21071 wontfix close 21071 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 21071 wontfix close 21071 quit From unknown Tue Jun 17 22:24:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Sun, 23 Jun 2019 13:03:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 23 09:03:17 2019 Received: (at control) by debbugs.gnu.org; 23 Jun 2019 13:03:17 +0000 Received: from localhost ([127.0.0.1]:53056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hf29M-0003Qu-TI for submit@debbugs.gnu.org; Sun, 23 Jun 2019 09:03:17 -0400 Received: from quimby.gnus.org ([80.91.231.51]:40590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hf29L-0003Qn-6V for control@debbugs.gnu.org; Sun, 23 Jun 2019 09:03:15 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hf29I-0006DM-La for control@debbugs.gnu.org; Sun, 23 Jun 2019 15:03:14 +0200 Date: Sun, 23 Jun 2019 15:03:12 +0200 Message-Id: To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #33232 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: unmerge 33232 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) unmerge 33232 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 29 18:28:58 2019 Received: (at control) by debbugs.gnu.org; 29 Jul 2019 22:28:58 +0000 Received: from localhost ([127.0.0.1]:49242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsE8Y-0006E9-Be for submit@debbugs.gnu.org; Mon, 29 Jul 2019 18:28:58 -0400 Received: from quimby.gnus.org ([80.91.231.51]:50420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsE8W-0006E0-MR for control@debbugs.gnu.org; Mon, 29 Jul 2019 18:28:57 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hsE8T-0006x9-0L for control@debbugs.gnu.org; Tue, 30 Jul 2019 00:28:54 +0200 Date: Tue, 30 Jul 2019 00:28:52 +0200 Message-Id: <87ef2879wb.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #21071 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 21071 - wontfix quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 21071 - wontfix quit From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 27 12:05:04 2019 Received: (at 21071) by debbugs.gnu.org; 27 Sep 2019 16:05:04 +0000 Received: from localhost ([127.0.0.1]:48502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDsjw-0002VM-5Y for submit@debbugs.gnu.org; Fri, 27 Sep 2019 12:05:04 -0400 Received: from quimby.gnus.org ([80.91.231.51]:34560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDsjt-0002Ui-Fo for 21071@debbugs.gnu.org; Fri, 27 Sep 2019 12:05:02 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iDsjl-0003XI-LC; Fri, 27 Sep 2019 18:04:59 +0200 From: Lars Ingebrigtsen To: 21071@debbugs.gnu.org Subject: Re: bug#21071: Gnus message flags must be set before expiration, not afterwards References: <87mvyx2c20.fsf@vostro.rath.org> <87fv4p2b9n.fsf@vostro.rath.org> <87bncbu2un.fsf@vostro.rath.org> Date: Fri, 27 Sep 2019 18:04:53 +0200 In-Reply-To: <87bncbu2un.fsf@vostro.rath.org> (Nikolaus Rath's message of "Tue, 06 Oct 2015 14:03:12 -0700") Message-ID: <871rw1k9ne.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Nikolaus Rath writes: > This issue is caused by article expiry being done in > gnus-summary-prepare-exit-hook. gnus-summary-exit calls this hook before > calling gnus-update-read-articles (which sets the read mark). > > A [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 21071 Cc: ding X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Nikolaus Rath writes: > This issue is caused by article expiry being done in > gnus-summary-prepare-exit-hook. gnus-summary-exit calls this hook before > calling gnus-update-read-articles (which sets the read mark). > > A trivial patch is to invert the order: > > #V+ > diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el > index 37a707e..56406d0 100644 > --- a/lisp/gnus-sum.el > +++ b/lisp/gnus-sum.el > @@ -7252,7 +7252,6 @@ If FORCE (the prefix), also save the .newsrc file(s)." > (gnus-score-adaptive)) > (when gnus-use-scoring > (gnus-score-save))) > - (gnus-run-hooks 'gnus-summary-prepare-exit-hook) > (when gnus-use-cache > (gnus-cache-possibly-remove-articles) > (gnus-cache-save-buffers)) > @@ -7269,6 +7268,7 @@ If FORCE (the prefix), also save the .newsrc file(s)." > (unless quit-config > (gnus-run-hooks 'gnus-exit-group-hook) > (gnus-summary-update-info)) > + (gnus-run-hooks 'gnus-summary-prepare-exit-hook) > (gnus-close-group group) > ;; Make sure where we were, and go to next newsgroup. > (when (buffer-live-p (get-buffer gnus-group-buffer)) > #V- Staring at the change some more, I think it should be safe-ish. Nothing really visible that should affect the functions in that hook happens between the old and new place (except the marks stuff), so I've applied it. If this leads to regressions in somebody's setup, we'll have to revert it, though. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 27 12:05:07 2019 Received: (at control) by debbugs.gnu.org; 27 Sep 2019 16:05:08 +0000 Received: from localhost ([127.0.0.1]:48505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDsjz-0002Vh-Hu for submit@debbugs.gnu.org; Fri, 27 Sep 2019 12:05:07 -0400 Received: from quimby.gnus.org ([80.91.231.51]:34588) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDsjy-0002VX-4H for control@debbugs.gnu.org; Fri, 27 Sep 2019 12:05:06 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iDsjv-0003XY-Fa for control@debbugs.gnu.org; Fri, 27 Sep 2019 18:05:05 +0200 Date: Fri, 27 Sep 2019 18:05:03 +0200 Message-Id: <87zhipiv2o.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #21071 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 21071 fixed close 21071 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 21071 fixed close 21071 27.1 quit From unknown Tue Jun 17 22:24:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 26 Oct 2019 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator