Re: [Evolution] Bug in Filters



On Mon, 2005-06-20 at 11:49 -0400, Paul Coene wrote:
On Mon, 2005-06-20 at 02:43 +0200, guenther wrote: 
If you make a filter as follows:

Please don't post large screenshots, if a few chars do mean the same.
Like this:

  "Size" "is greater than" "0"

Ok.  I thought it would be more "definitive" as a screenshot, and it
was a jpg.  I'll not do that again if you prefer. 

Thanks. :)  And btw, it is a PNG, not a JPEG... ;)


This does NOT work when you receive mail, but it does work if you use
cntrl-Y afterwards...  Is it checking the file size too early, before
the file is closed?

Is this POP3 or IMAP? In case of IMAP, did you enable filtering?

POP3


Another note: Your condition is just a laborious "true". You likely want
to use one of these shorter and more apparent ones. Both do mean true.

  "Expression" "#t"

I've changed to use this, thanks.


The earlier does still look to be a bug (size gt. zero and pop3 filter
application as mail comes in)

Agreed. If the "Expression #t" filter matches, but "Size greater than 0"
does not, I'd consider this a bug. Please file it in bugzilla.gnome.org.

(Unless of course the size value is rounded and actually is less than
500 bytes. This would be equal to 0...)

...guenther


-- 
char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}




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