also sprach martin f krafft <[email protected]> [2009.05.26.1657 +0200]:
> From what I can tell, your approach is different to mine in that you
> maintain a list of window:level mappings, while I just have a list
> that maps to another level. I was considering your approach at first
> as well but then thought it was too cumbersome, especiall since
> I only ever use two levels: 2 and 4. 0, 1, and 3 are not of interest
> in my use cases, but maybe I just haven't realised their uses yet.
> 
> When do you use 0,1,3?

FWIW, my chanact.pl patch can now handle per-window stuff too:

http://git.madduck.net/v/code/irssi/scripts-bc-bd.git?a=shortlog;h=refs/heads/windowlist-filter

e.g.

  /set chanact_filter_windowlist @QUERIES:3 #debian.ch:3 #debian-ipv6
  /set chanact_filter_windowlist_level 2

will use 3 for queries and #debian.ch, but 2 for #debian-ipv6.

And omg do I hate Perl. Line 276, and how those arguments get used
in the get_filterlevel sub is just everything else but what I'd
expect from a high-level language.</rant>

-- 
 .''`.   martin f. krafft <[email protected]>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to