Re: Auto-ignore macro issue (Was: status of slrn)
Troy Piggins <[email protected]>
| Newsgroups | gmane.network.slrn.user |
|---|---|
| Message-ID | <[email protected]> |
* Jörg Sommer is quoted & my replies are inline below : > 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? J�rg, I've tried your macro also without success. I'm using slrn pre0.9.9-69/rt. I've called auto_ignore after onekey-score, and checked it is loading with $ slrn -w I set bad_score to -22, my max_low_score is -998. The -22 score is correctly getting applied to the person I want to apply it to: [*] Score:: -22 % testing auto_ignore From: Troll But the followups are not being assigned new_bad_score. I added _traceback = 1; open_log_file("/tmp/slrn.slang.log"); to auto_ignore.sl and a file is created in /tmp, but it's empty. Any ideas? -- Troy Piggins | http://piggo.com/~troy/slrn ___ | __ __ * Currently using slrn pre0.9.9-69 |___ | |/ |/ | * Try it: ___| | | | | $ svn co https://slrn.svn.sourceforge.net/svnroot/slrn/trunk slrn ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4