Re: [Evolution] Filter Questions

On Sun, 2002-07-28 at 10:55, Jeff Bearer wrote:
I have a few questions about filters.  First off can somebody explain
how the regex filter is supposed to work  I've tried several things and
I can't get it to work.  Just a simple example of what it expects to see
in the text box would be great does it need m/.../ or just the
expression, etc.  I've been trying PCRE's so if it's posix re's then
I'll have to look up the differences.

As Jeff said, posix.  The body match only matches the content of
messages, no headers.

Also what does the expression filter expect to see as opposed to the
regular expression filter?

An internal s-expression.  i.e. the 'code' which is actually executed to
perform the match.

Second, is there any filter functionality that is implemented in the XML
file that the UI doesn't have yet?  For example I'd like an action to
set status as un-read, it's not in the pull down in the UI, but maybe if
I tweak the xml file evolution would know what to do?  I'm only asking
that because with mozilla there always seem to be several features that
there aren't UI yet, that have been implemented in the config file.

There are no hidden 'features' like this for filters.

But, the xml file can be edited to add additional gui elements for
different filter types - but only for operations supported by the
s-expression parser.

You can currently only set flags, not clear them, so a 'mark as unread'
filter wont work, because 'unread' is actually not the 'seen' flag, you
can't unset that.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]