🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #35248

slrn: group_mode_hook problem

#35248
From: A. Deckers
Date: Thu, 17 Jul 1997 00:00
47 lines
1481 bytes
[supersedes previous version which didn't include slrn compilation
info]

At the top of my .slrn.sl file, I have the following:

define group_mode_hook ()
{
   variable my_sorting_method = 7;

   if (is_substr(current_newsgroup(), "es.news"))
   {
      my_sorting_method = 8;
   }

   set_integer_variable ("sorting_method", my_sorting_method);

}

However, this seems to be executed when I _exit_ a group, not when I
_enter_, as I would expect. So, am I being dense or is this a bug?

This is with:

Slrn Version: 0.9.4.3 (Jul 13 1997 23:42:17)
S-Lang Library Version: 0.99.38
OS-Type: Unix

slrn compiled with support for:
	character set mapping
	nntp (SLtcp socket code)
	spool
	inews
	slrnpull
	S-Lang Macros

Default server object: nntp
Default posting mechanism: nntp

Cheers,

Alain

-- 
I-hate-cyber-promo@man.ac.uk (Alain Deckers)

Technical Details
Message-ID: <slrn5srs34.3lh.I-hate-cyber-promo@nessie.mcc.ac.uk>
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

Show Full Headers
Complete Article Headers
Message-ID: <slrn5srs34.3lh.I-hate-cyber-promo@nessie.mcc.ac.uk>
Subject: slrn: group_mode_hook problem
Date: Thu, 17 Jul 1997 00:00:00 +0000
From: I-hate-cyber-promo@man.ac.uk (A. Deckers)
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: 257392859
Supersedes: <slrn5srp2q.1cs.I-hate-cyber-promo@nessie.mcc.ac.uk>
Organization: What organisation?
Newsgroups: news.software.readers