Article View: news.software.readers
Article #222848Re: [slrn] Any way to catch up without marking crossposts as read?
From: John E. Davis
Date: Fri, 04 Jul 2008 05:32
Date: Fri, 04 Jul 2008 05:32
34 lines
2079 bytes
2079 bytes
On Tue, 1 Jul 2008 10:03:54 +0100, Adam Funk <a24061@ducksburg.com>
wrote:
> When I resubscribe to a group I haven't been reading for a while and
> it has 999 unread posts, is there any way (does anyone have a macro,
> for example) to "catch up" the group *without* marking crossposted
> articles as read? (I don't want to lose articles in other groups that
> I have been reading continuously in the meantime.)
How about something like:
#v+
define catchup_non_crossposted ()
{
if (1 != get_yes_no_cancel ("Catchup non-crossposted articles"))
return;
uncollapse_threads ();
call ("header_bob"); % goto first header
do
{
% Xref looks like: server grp1:A grp2:B ...
variable xref = extract_article_header ("xref");
if (length (strchop (xref, ':', 0)) < 3)
set_header_flags (get_header_flags () | HEADER_READ);
}
while (header_down(1));
collapse_threads ();
}
definekey ("catchup_non_crossposted", "\ec", "article");
#v-
--John
Technical Details
Message-ID:
<slrng6rdfm.ml3.jed@aluche.mit.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!198.186.194.250.MISMATCH!news-out.readnews.com!news-xxxfer.readnews.com!panix!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!dreaderd!not-for-mailReferences:
<qg8pj5-qr6.ln1@news.ducksburg.com>Show Full Headers
Complete Article Headers
Message-ID: <slrng6rdfm.ml3.jed@aluche.mit.edu> Subject: Re: [slrn] Any way to catch up without marking crossposts as read? Date: Fri, 04 Jul 2008 05:32:38 +0000 From: "John E. Davis" <jed@jedsoft.org> References: <qg8pj5-qr6.ln1@news.ducksburg.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!198.186.194.250.MISMATCH!news-out.readnews.com!news-xxxfer.readnews.com!panix!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!dreaderd!not-for-mail Newsgroups: news.software.readers Reply-To: davis@space.mit.edu User-Agent: slrn/pre0.9.9-111 (Linux) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 34 NNTP-Posting-Host: ALUCHE.MIT.EDU X-Trace: 1215149558 senator-bedfellow.mit.edu 304 18.75.2.45