[Evolution-hackers] Re: [evolution-patches] new feature, vfolder w/ included conversations



This is really cool :)

This more or less implements an option for threaded message views in
normal folders where I wanted messages that are new to be sorted up to
the top but bring the whole thread up and not just one message

Is it possible to make this work in actual folder views for sorting?

Cheers,
Trent

> 
> Big patch, actually took f-all to write except a good 3-4 hours wasted
> tracking down a bug in CamelFolderThread not creating a fully valid
> tree :(
> 
> Provides a new vfolder option "In conversation", which includes
> thread-related messages, there are three types you can ask for:
> - all messages in the whole thread 'tree', from the original post down
> - the subtree of only this message and all of its replies
> - the subtree of only this message and all of its replies, and its
> direct parents to the original post
> 
> Issues:
> - performance, it can need to do a LOT of work.  There's no real way
> around this, it needs to access the whole folder tree to look for any
> possible threads.  Big source folders will get the whole thread tree
> recalculated for each vfolder that uses it.
> - providers need to use the new (simpler) camel_folder_search_search
> api (i've fixed all in the public cvs).
> - the option once set, applies globally to the search, rather than
> just for the context in which the search is applied, if that makes
> sense.  basically means if you vfolder (or search) a vfolder which
> matches conversations, your vfolder will also implictly match
> conversations in the same way even if you didn't ask for it.  Its sort
> of tricky to fix; need to keep track of/apply the option for each
> paranthesised level of the s-exp.  A bit painful.
> - i don't like the option names much - *shrug*.
> 
> hmm, what happened to my signature setting??  oh its getting it from
> the wrong from account.  wtf.
> 
> !Z
> 
> Michael Zucchi
> <notzed ximian com>
> 
> Ximian Evolution and
> Free Software Developer
> 
> 
> Novell, Inc.




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