Gnus development mailing list
 help / color / mirror / Atom feed
From: "Juan José García-Ripoll" <juanjose.garciaripoll@gmail.com>
To: ding@gnus.org
Subject: gnus-summary-catchup-and-exit does not update marks
Date: Wed, 27 Jan 2021 10:57:32 +0100	[thread overview]
Message-ID: <86bldavh0z.fsf@csic.es> (raw)

Hi,

I have been debugging a problem with nnmaild, my Maildir backend
(https://github.com/juanjosegarciaripoll/gnus-nnmaild), which is that
'c' did not mark all articles as read.

Debugging the code un Gnus I found that gnus-summary-catchup-and-exit
only updates the list of unread articles (gnus-newsgroup-unreads), as
well as the list of dormant, marked and spam articles.

This happens because this function calls gnus-summary-catchup with the
argument not-mark set to 'fast.

(defun gnus-summary-catchup-and-exit (&optional all quietly)
  "Mark all unread articles in this group as read, then exit.
If prefix argument ALL is non-nil, all articles are marked as read.
If QUIETLY is non-nil, no questions will be asked."
  (interactive "P")
  (when (gnus-summary-catchup all quietly nil 'fast)
  ...

This is not consistent with the command gnus-summary-catchup followed by
exit. Is this intended?

Cheers,

-- 
Juan José García Ripoll
http://juanjose.garciaripoll.com
http://quinfog.hbar.es



             reply	other threads:[~2021-01-27  9:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-27  9:57 Juan José García-Ripoll [this message]
2021-01-28  5:05 ` Lars Ingebrigtsen
2021-01-29  8:00   ` Juan José García-Ripoll

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=86bldavh0z.fsf@csic.es \
    --to=juanjose.garciaripoll@gmail.com \
    --cc=ding@gnus.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).