On Sun, 10 Aug 2003 11:37:46 +1000 (EST) Mark Livingstone
<[EMAIL PROTECTED]> wrote:

> Can someone do a quick test for me. It seems it is possible to create a
> folder and attach a filter to it which actually copies to the same
> folder.
> It then gets in a loop and you end up in strife.

I didn't test it but I am quite sure that this is possible. Mahogany is
far from being fool-proof. I am not going to fix this now, although I
would normally like to keep filters at high quality. I wonder how did you
get out of this. It seems impossible aside from editing configuration file.

The first problem I see here is that *operation* of copying to folder can
cause *event* of new mail. Normally, Gui program should do its processing
by first executing cascade of events and then executing cascade of
operations from each event. Once you can go back from operation to event,
it's almost always source of unexpected loops. However disabling new mail
event from within copy operation is not enough, because cascading filters
are a feature. It should be possible to explicitly execute another filter
from within filter rule and filters should execute new mail processing
that is safe and expected from within filters. This is easier to
understand for users and easy to check for loops in filter code.

As for those infinite asserts, I've already pointed out that it is bad
idea to execute whatever processing while displaying modal dialog, but
it's a big step to change it and I am the only one who supports it.



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to