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



On Thu, 2004-05-06 at 18:17 +0800, Not Zed wrote:
> 
> 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*.

I didn't quite understand what you were doing here until I saw the
screenshots on the blog. Looks sweet, though.

Luis




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