Re: Auto-ignore macro issue (WAS: Re: Fwd: status of slrn)

Jörg Sommer <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
Hallo Andrew,

Andrew <[email protected]> wrote:
> On Wed, 24 Oct 2007 13:34:45 +0000 (UTC),
> Jörg Sommer <[email protected]> wrote:
>
>> I've wrote a macro for it. You can tag a troll score -2000 (variable
>> bad_score) and the article_mode_hook creates a OneKeyScore for it.
>
> OK: I'm trying out your macro, but I'm probably doing something wrong.
>
> I've interpret'ed the macro in my .slrnrc (slrn confirms this at 
> startup). I've made a score entry for a certain troll, with a score of 
> -2000. His articles are scored, but the replies aren't.
>
> And, what's even weirder, when I re-entered the newsgroup, the articles 
> were no longer threaded, just listed one by one (but I fixed this by 
> choosing again my usual threading mode with ESC-S).

This looks like the hook failed. Can you put

_traceback = 1;
open_log_file("/tmp/slrn.slang.log");

before the define …, enter a group and look into /tmp/slrn.slang.log.

Did you load the onekey-score _before_ auto_ignore?

Bye, Jörg.
-- 
Roesen's Law (http://www.bruhaha.de/laws.html):
Sobald ein Troll, DAU oder Elch im Lauf eines Threads auf heftige Kritik
stößt, argumentiert er mit der Arroganz des Kritikers. Dies kann auch
vorsorglich erfolgen.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.