document updated 12 years ago, on Mar 15, 2012
I'm a filtering wonk. Fortunately, there are plenty of filtering extensions.
Extensions I use often
- Filter Quilla — allows regex and javascript-based matching rules
- the javascript rules allow for complex combinations of boolean conditions, beyond what the standard dialog allows
Extensions I should try out
built-in functionality
The backend supports more complex combinations of search terms, however, there's no frontend for it.
- look for the file named "msgFilterRules.dat" in your home directory
- what's the friggin syntax?
- this is the diff that introduced the functionality and this is the bug that introduced it
- ohhhh.... "this patch does not include code for writing out the grouping attribute of a search term to disk. I'm not sure how we would represent that"
- ie. it's not possible to edit the msgFilterRules.dat by hand to include this functionality. It is NOT SERIALIZABLE, the feature only exists within the application runtime. (right now, anyway)
There are several types of filters; javascript is one of those types.
documentation
example FiltaQuilla javascript filters
[1]
TODO: search more here
example FiltaQuilla javascript actions
[1]
[2]
debugging FiltaQuilla
[1]