🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #24667

Re: Scoring... was: What misfeatures are in existing newsreaders.

#24667
From: John E. Davis
Date: Sat, 03 Aug 1996 00:00
44 lines
2265 bytes
On Sat, 3 Aug 1996 15:36:27 GMT, Tim Pierce <twpierce@midway.uchicago.edu>
wrote:
 : consider taking such a step.  If you want that much control over
 : the newsreader, you should probably look into linking in an
 : extension language.

The next release of slrn will feature an extension language.  I am not
sure that one will be able to immediately implement adaptive scoring
in the first release but as more newsreader specific ``intrinsics''
are added to the language, it should be possible.

The next release of slrn will allow the user to set all variables on a
group by group basis, and allow the user to create functions or macros
and bind them to keys.  As an example, several users have requested
the ability to automatically change the sorting order when entering a
binary newsgroup.  This can be accomplished via a user defined
function called `article_mode_hook'.  In fact, 

define article_mode_hook ()
{
   variable sorting_method = 7;
   variable author_display = 2;
   
   if (is_substr (current_newsgroup (), "binaries")
       or is_substr (current_newsgroup (), "pictures"))
     {
	sorting_method = 3;
	author_display = 0;
     }
   
   set_integer_variable ("sorting_method", sorting_method);
   set_integer_variable ("author_display", author_display);
}

will work in the next release.

-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis


Technical Details
Message-ID: <slrn507bad.865.davis@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.mbox.zip!not-for-mail
References: <x620hugqc9.fsf@edipost.auspost.com.au> <4tqfpl$lrg@rhea.glo.be> <slrn506nsu.8v.cbbrowne@dantzig.brownes.org> <DvKJCr.5nt@midway.uchicago.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrn507bad.865.davis@aluche.mit.edu>
Subject: Re: Scoring... was: What misfeatures are in existing newsreaders.
Date: Sat, 03 Aug 1996 00:00:00 +0000
From: davis@space.mit.edu (John E. Davis)
References: <x620hugqc9.fsf@edipost.auspost.com.au> <4tqfpl$lrg@rhea.glo.be> <slrn506nsu.8v.cbbrowne@dantzig.brownes.org> <DvKJCr.5nt@midway.uchicago.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.mbox.zip!not-for-mail
X-Deja-AN: 171853850
Organization: Center for Space Research
Reply-to: davis@space.mit.edu
Newsgroups: news.software.readers