Article View: news.software.readers
Article #160597Re: [slrn] Unread message count doesn't take scoring into account?
From: J.B. Nicholson-Owens
Date: Mon, 10 Jan 2005 23:30
Date: Mon, 10 Jan 2005 23:30
22 lines
1847 bytes
1847 bytes
Toby wrote:
> Save the code in a text file 'foo.sl', and add these lines to my ~/.slrn?
>
> % Toby's header pane size macro:
> interpret /home/toby/News/macros/foo.sl.sl
>
> Or do I have to use something like:
>
> setkey article foo->my_cleanup_article_counts "^R" % Clean counts
>
> and then launch the macro manually from a keypress?
You'll need to do both -- the interpret instruction loads the macro, the
keypress will execute the loaded macro.
I would not recommend adding this to a hook to be called automatically. It
sounds ideal, but hooks get called a /lot/ and this function only really
needs to be called when you enter group mode and stay there. Perhaps using
the group_mode_startup_hook and wrapping call("quit") in a macro which calls
the function would suffice.
Happy newsreading.
Technical Details
Message-ID:
<slrncu641e.tcv.jbn@forestfield.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!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!postnews.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<slrncsj7cn.sq1.google@ID-171443.user.uni-berlin.de> <slrncsrr46.m7l.jbn@forestfield.org> <slrnctnd76.ag4.google@ID-171443.user.uni-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <slrncu641e.tcv.jbn@forestfield.org> Subject: Re: [slrn] Unread message count doesn't take scoring into account? Date: Mon, 10 Jan 2005 23:30:54 +0000 From: "J.B. Nicholson-Owens" <jbn@forestfield.org> References: <slrncsj7cn.sq1.google@ID-171443.user.uni-berlin.de> <slrncsrr46.m7l.jbn@forestfield.org> <slrnctnd76.ag4.google@ID-171443.user.uni-berlin.de> 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!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!postnews.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Lines: 22 X-Trace: individual.net ZEEakRC7F8d8maNaAn7Z7QsbRb5t7d3WVZNVKqsePJm5wiH6c= User-Agent: slrn/0.9.8.1 (Linux)