From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#31739: 25.2; Cannot expire articles in virtual group Date: Fri, 18 Oct 2019 05:54:01 +0200 Message-ID: <878spik8ti.fsf@gnus.org> References: <877enb7pqw.fsf@lutyens.i-did-not-set--mail-host-address--so-tickle-me> <87ftkfseb1.fsf@gnus.org> <875zl9hg7c.fsf@gold.ac.uk> <87d0fg8xc2.fsf@gnus.org> <87k19owob9.fsf@gold.ac.uk> <87o8yxj09d.fsf@gnus.org> <87d0fcfjh0.fsf@gold.ac.uk> <87d0f9ckil.fsf@gnus.org> <878spwr0l7.fsf@gold.ac.uk> <87o8yjn8bd.fsf@gnus.org> <87bluglxj5.fsf@gold.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="75349"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: "31739@debbugs.gnu.org" <31739@debbugs.gnu.org> To: Jamie Forth Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 18 05:55:14 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iLJM7-000JPh-Ad for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Oct 2019 05:55:11 +0200 Original-Received: from localhost ([::1]:35072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLJM6-0005cD-6b for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Oct 2019 23:55:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39926) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLJLz-0005c4-Q8 for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2019 23:55:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLJLy-0000s0-L2 for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2019 23:55:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40323) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iLJLy-0000ru-Hg for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2019 23:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iLJLy-0003ah-E1 for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2019 23:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Oct 2019 03:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31739 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible Original-Received: via spool by 31739-submit@debbugs.gnu.org id=B31739.157137085013737 (code B ref 31739); Fri, 18 Oct 2019 03:55:02 +0000 Original-Received: (at 31739) by debbugs.gnu.org; 18 Oct 2019 03:54:10 +0000 Original-Received: from localhost ([127.0.0.1]:49144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLJL7-0003ZV-La for submit@debbugs.gnu.org; Thu, 17 Oct 2019 23:54:09 -0400 Original-Received: from [80.91.231.51] (port=43278 helo=quimby.gnus.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLJL5-0003ZL-DZ for 31739@debbugs.gnu.org; Thu, 17 Oct 2019 23:54:08 -0400 Original-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 1iLJL0-0000T6-B5; Fri, 18 Oct 2019 05:54:06 +0200 In-Reply-To: <87bluglxj5.fsf@gold.ac.uk> (Jamie Forth's message of "Wed, 16 Oct 2019 11:50:23 +0000") 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: 209.51.188.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:169635 Archived-At: Jamie Forth writes: > There expire marks disappear where I think they are supposed to. > > ;; Make all changes in this group permanent. > (unless quit-config > (gnus-run-hooks 'gnus-exit-group-hook) > (gnus-summary-update-info)) <-- Here > > What I tried was: > 1. enter vg and mark some articles `E`. > 2. (gnus-summary-update-info) > 3. (gnus-info-marks (gnus-get-info "nnvirtual:vg-test")) > > The same thing happens in a non-virtual group, except then when I > re-enter the group the previously marked articles have been correctly > expired. Let's see... Here's the call sequence I get when I `E' and then `q' from the nnvirtual group: Debugger entered: nil nnimap-request-expire-articles((392790 394237 394238) "spam" "quimby.gnus.org" nil) gnus-request-expire-articles((392790 394237 394238) "nnimap+quimby.gnus.org:spam") gnus-group-expire-articles-1("nnimap+quimby.gnus.org:spam") nnvirtual-request-expire-articles((392790 394237 394238 394330) "imap-test" "^$\\|\\(^nnimap\\+quimby\\.gnus\\.org:spam$\\)" nil) gnus-request-expire-articles((392790 394237 394238 394330) "nnvirtual:imap-test") gnus-summary-expire-articles() run-hooks(gnus-summary-prepare-exit-hook) apply(run-hooks gnus-summary-prepare-exit-hook) gnus-run-hooks(gnus-summary-prepare-exit-hook) gnus-summary-exit() funcall-interactively(gnus-summary-exit) So this is done from gnus-summary-prepare-exit-hook. What's the value of that hook for you? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no