Yes, new matching messages will always get added 'immediately'.
That is so obviuosly the whole point of the new code, i hardly thought it worth mentioning, sicne i may as well have not written it and saved a days work :) > > On Wed, 2001-10-10 at 17:54, NotZed wrote: > > > > No, sync happens when you change folders. > > I meant 'folder exit'; should have been more clear. > > > What loop? > > Whatever it is in background that is now updating the folders. > > > By refresh i mean a re-query which means things like > > vfolders of unread messages will clear out newly read messages. > > But will new messages get added? Removing old ones only on expunge is > fine from a user perspective IMHO, but requiring an expunge for new ones > to appear defeats the whole point of auto-updating. I don't /think/ that > is what you are saying will happen... but I just want to make sure so we > don't get into the 'but users wanted me to implement it' 'but they > didn't intend for that side effect to occur' loop again. > > Luis > > > > > > > > > > On Wed, 2001-10-10 at 17:49, Not Zed wrote: > > > > On Thu, 2001-10-11 at 06:29, jacob berkman wrote: > > > > > On Wed, 2001-10-10 at 16:10, Not Zed wrote: > > > > > > > > > > > > (moving to evo-hackers) > > > > > > > > > > > > So I guess the question is, what should be the behaviour? > > > > > > > > > > > > Only remove 'things that used to match but no logner' on an explicit > > > > > > expunge? > > > > > > > > > > > > Do we expunge the folders underneath too (which might not be what was > > > > > > wanted as its slow). > > > > > > > > > > > > Does a sync operation just sync all the underlyhing folders so that > > > > > > flags are stored? (seems reasonable to me). > > > > > > > > > > the difference is writing to disk vs. updating the message list. it > > > > > does make sense to write to disk when you leave, or even at random > > > > > intervals. but the messages should only disappear from the vfolder due > > > > > to a direct user action (expunge). > > > > > > > > > > i don't think there's any other really good way to do this. > > > > > > > > Ok, i'll try that. > > > > > > > > I'll make 'sync' write out changes to disk but not refresh the folders, > > > > i'll make expunge refresh the folders too (and i suppose, expunge the > > > > source folders). > > > > > > Sync occurs only on exit, and the refresh would still occur in the loop, > > > right? > > > Luis (trying to understand) > > > > > > -- > > > Luis Villa > > > Ximian Bugmaster > > > "Quality is an amazing bridge because it is universal in its language." > > > Thomas Corcoran > > > > > > -- > Luis Villa > Ximian Bugmaster > "Quality is an amazing bridge because it is universal in its language." > Thomas Corcoran > > > _______________________________________________ > evolution-hackers maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/evolution-hackers > _______________________________________________ evolution-hackers maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/evolution-hackers