all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Jamie Forth <J.Forth@gold.ac.uk>
Cc: "31739@debbugs.gnu.org" <31739@debbugs.gnu.org>
Subject: bug#31739: 25.2; Cannot expire articles in virtual group
Date: Fri, 18 Oct 2019 05:54:01 +0200	[thread overview]
Message-ID: <878spik8ti.fsf@gnus.org> (raw)
In-Reply-To: <87bluglxj5.fsf@gold.ac.uk> (Jamie Forth's message of "Wed, 16 Oct 2019 11:50:23 +0000")

Jamie Forth <J.Forth@gold.ac.uk> 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





  reply	other threads:[~2019-10-18  3:54 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-06 18:07 bug#31739: 25.2; Cannot expire articles in virtual group Jamie Forth
2019-09-29  8:21 ` Lars Ingebrigtsen
2019-09-30 17:00   ` Jamie Forth
2019-10-01 12:25     ` Lars Ingebrigtsen
2019-10-01 12:27     ` Lars Ingebrigtsen
2019-10-01 14:08       ` Jamie Forth
2019-10-03 15:51         ` Lars Ingebrigtsen
2019-10-04 18:34           ` Jamie Forth
2019-10-07  3:16             ` Lars Ingebrigtsen
2019-10-07 16:18               ` Jamie Forth
2019-10-14  6:35                 ` Lars Ingebrigtsen
2019-10-16 11:50                   ` Jamie Forth
2019-10-18  3:54                     ` Lars Ingebrigtsen [this message]
2019-10-18 13:13                       ` Jamie Forth
2019-10-19  8:09                         ` Lars Ingebrigtsen
2022-04-30 16:24                           ` Lars Ingebrigtsen
2022-05-29 13:19                             ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878spik8ti.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=31739@debbugs.gnu.org \
    --cc=J.Forth@gold.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.