On Mon, 1 Jul 2002 01:01:21 +0200 (Romance Daylight Time) Vadim Zeitlin <[EMAIL PROTECTED]> wrote:
> On Mon, 1 Jul 2002 00:55:41 +0200 (CEST) Thomas Finneid > <[EMAIL PROTECTED]> wrote: > > TF> As a search folder it does�t need to be updated, because the result is > TF> typically only viewed for a couple of minutes. Having change synchronisation > TF> between a real folder and a search forlder is unecessary, in my opinion. > TF> But if it is used for more than search folder the of course it should be > TF> able to synchronise with the real folder. > > Right, this is why I want to decide if we need it just for the search > results or if we really absolutely need the 2nd kind of virtual folders. The first cut could be static virtual folders. That should be much easier to implement and would allow outside programs to create them as needed. It would be handy for at least one type of virtual folder to be stored in a file that I could write to similarly to what the Perl script I wrote (mbx_find.pl) <http://home.ix.netcom.com/~mchase/zip/mbx_util.zip> does now with full messages. > If a folder is in the tree, it has a path (== path in the tree) and hence > we can unambiguously associate a profile with it. Otherwise it's less > clear. You can find some more details about this stuff in > doc/tech/options.txt, although it's woefully incomplete. The virtual folders should definitely appear in the tree as just another type of folder. Whether their content is static or dynamic should just be one of their attributes. The tree structure of the folders and their ability to inherit attributes is one of the major strengths of Mahogany. I'm actually more interested in the method used for identifying messages to select other folders (including virtual folders). Something similar to message filters would do the job for static virtual folders, but it would need to span multiple source folders. Perhaps an extension of filters to allow multiple source folders and all header fields as selection criteria would allow much of the same code to be used. Using mbx_find.pl, I have normally only used the address, subject, and date fields for searching, but it is handy to be able to search by arrival and message date/time as well. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers
