From: Steinar Bang <sb@dod.no>
To: ding@gnus.org
Subject: Re: Emacs 28.2 gnus: nntp read marks lost after going offline and online again
Date: Wed, 21 Jun 2023 22:55:52 +0200 [thread overview]
Message-ID: <87v8fgr0vb.fsf@dod.no> (raw)
In-Reply-To: <87zg4sr1d6.fsf@dod.no>
>>>>> Steinar Bang <sb@dod.no>:
> I have now removed these gnus-demon settings (from May 26 2003):
> ;; Automatically fetch news and mail every 15 minutes when idle
> (defun sb-gnus-demon-scan-imap ()
> (let ((win (current-window-configuration)))
> (unwind-protect
> (save-window-excursion
> (save-excursion
> (when (gnus-alive-p)
> (save-excursion
> (set-buffer gnus-group-buffer)
> (gnus-group-get-new-news 2)))))
> (set-window-configuration win))))
The culprit was my May 26 2003 function above.
I ran sb-gnus-demon-scan-imap by putting
(sb-gnus-demon-scan-imap)
in the minibuffer and typing Ctrl-J.
And the nntp groups and read marks went away.
I can't entirely remember why I wrote my own function here (it's been a
while...), but I think at that time I had nnml groups on level 1 and
nnimap groups on level 2 and nntp groups on level 3, and that I was
trying to scan only level 1 and level2 in the demon.
next prev parent reply other threads:[~2023-06-21 20:56 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-19 14:52 Steinar Bang
2023-06-19 16:27 ` Steinar Bang
2023-06-19 17:44 ` Steinar Bang
2023-06-19 18:16 ` dick
2023-06-20 17:00 ` Steinar Bang
2023-06-20 18:03 ` dick
2023-06-19 20:09 ` Steinar Bang
2023-06-20 19:24 ` Steinar Bang
2023-06-20 19:52 ` Steinar Bang
2023-06-21 1:39 ` Eric Abrahamsen
2023-06-21 18:46 ` Steinar Bang
2023-06-21 19:54 ` Steinar Bang
2023-06-21 20:05 ` Steinar Bang
2023-06-21 20:45 ` Steinar Bang
2023-06-21 20:55 ` Steinar Bang [this message]
2023-06-21 22:49 ` Eric Abrahamsen
2023-06-22 16:55 ` Steinar Bang
2023-06-25 14:21 ` Steinar Bang
2023-06-22 13:52 ` Dan Christensen
2023-06-24 5:52 ` Steinar Bang
2023-06-25 13:34 ` Dan Christensen
2023-06-25 14:35 ` Steinar Bang
2023-06-26 0:58 ` list level not respected by gnus-group-get-new-news [was: Emacs 28.2 gnus: nntp read marks lost after going offline and online again] Dan Christensen
2023-06-27 17:13 ` Steinar Bang
2023-06-19 16:37 ` Emacs 28.2 gnus: nntp read marks lost after going offline and online again dick
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=87v8fgr0vb.fsf@dod.no \
--to=sb@dod.no \
--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).