Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Disable smart filter per channel #17

Closed
purpleears opened this Issue Mar 11, 2014 · 5 comments

Comments

Projects
None yet
5 participants
@purpleears
Copy link

commented Mar 11, 2014

Currently alt + = only disables smart filter globally. Support for quickly and temporarily enabling and disabling smart filter per channel/buffer would be excellent! Thanks.

@flashcode

This comment has been minimized.

Copy link
Member

commented Mar 11, 2014

Would you like to disable all filters in one buffer (so smart filter + any other filter if you have), or be able to disable only one filter in one buffer?

@Mikaela

This comment has been minimized.

Copy link
Contributor

commented Mar 11, 2014

Probably just alt + =. What is the official definition of what it does?

@purpleears

This comment has been minimized.

Copy link
Author

commented Mar 11, 2014

Disable all filters in a single buffer. Currently alt + = disables all filters globally. This can get confusing for operators dealing with ban evaders who may come in the channel, not speak, so joins get filtered. If you turn the filter off because you need it off during a time when a person is ban evading, while you are working in say #freenode with 1300 people with massive amounts of joins/parts/quits, it would be very nice to have a shortcut key to disable all filters on a single buffer, instead of globally.

@Shawn-Smith

This comment has been minimized.

Copy link
Contributor

commented Mar 16, 2014

Perhaps keep alt + = as it works now and rewrite the documentation, then make a separate key-bind for disabling filters on a per-channel basis.

I do actually use alt + = to disable filters globally on occasion. Maybe alt + - for channel-specific?

@arza-zara

This comment has been minimized.

Copy link
Contributor

commented Mar 26, 2014

A hack with perlexec.pl to disable one filter in one buffer:

/alias togglesmart /perlexec if(!defined $f){my $f;} if($f==1){$f=0;weechat::command('',"/filter del smart\n/filter add smart * irc_smart_filter *");}else{$f=1;weechat::command('', "/filter del smart\n/filter add smart *,!irc.".weechat::buffer_get_string($buffer,'name').' irc_smart_filter *');}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.