Article View: news.software.readers
Article #226378Solved - (was Re: [slrn] Display all threads that contain unread messages)
From: Bob Cortopassi
Date: Sat, 27 Sep 2008 06:44
Date: Sat, 27 Sep 2008 06:44
45 lines
2422 bytes
2422 bytes
On 2008-09-25, Erik Hahn <erik_hahn@replyto.invalid> wrote:
> The page at http://tinyurl.com/477j9r (Google Cache, it isn't available
> at the original place anymore) claims that you could use a macro to
> display all threads fully that contain at least one unread message. Does
> such a macro already exist or could someone create it (I don't know
> s-lang)?
define get_all_parents ()
{
collapse_threads();
do
{
call("toggle_header_tag");
} while (header_down(1));
do
{
call("toggle_header_tag");
set_prefix_argument(1);
call("get_parent_header");
} while (prev_tagged_header());
uncollapse_threads();
}
definekey ("get_all_parents", "w", "article");
If you're happy with this (warning!! it can be slow) then you can call
it automatically on group entry by something like:
define article_mode_hook()
{
get_all_parents();
}
There's likely a more efficient way of doing this, but I've had enough
chasing for one night.
Regards,
Bob
--
email: echo "sbs@sbsrearg.pbz" | sed 's/s/o/g' | rot13
All posts from Google Groups are auto-killed.
Technical Details
Message-ID:
<gbkkng$prg$1@registered.motzarella.org>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!border1.nntp.ams.giganews.com!nntp.giganews.com!news.k-dsl.de!news.motzarella.org!motzarella.org!not-for-mailReferences:
<gbgtk6$5lf$01$1@news.t-online.com>Show Full Headers
Complete Article Headers
Message-ID: <gbkkng$prg$1@registered.motzarella.org> Subject: Solved - (was Re: [slrn] Display all threads that contain unread messages) Date: Sat, 27 Sep 2008 06:44:00 +0000 From: Bob Cortopassi <bobernet@nsa.invalid> References: <gbgtk6$5lf$01$1@news.t-online.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!border1.nntp.ams.giganews.com!nntp.giganews.com!news.k-dsl.de!news.motzarella.org!motzarella.org!not-for-mail Newsgroups: news.software.readers Organization: usenet is dead Lines: 45 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: feeder.motzarella.org U2FsdGVkX18YpPtDXmXtJxZ32iubiNUkQ+yGm0k1yS1hLclxnfQqswfOAPJofhDcbpmjZ7taUgDKwDcWh/OHc+qHDLlNwJcd+/GHAmLr/DLmDGJGl/UzgGzYeM59W8jpBGuYA+i1mkTMybhfHGzoQA== X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Sat, 27 Sep 2008 06:44:00 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1/ZKssKJh3ql5Dzxhe0KVAb9k0ebmReTeQThQoUgK5aog== Cancel-Lock: sha1:TevzxPqdMiPfLAjFJebiepgl+LM= User-Agent: slrn/pre0.9.9-111 (Linux)