Version: (using KDE KDE 3.5.1) Installed from: Slackware Packages OS: Linux I thought this was mentioned on the mailing lsts and someone was going to request it but I couldn't find it in a search. I would like the ability to tag messages with a category, similar to how korganizer and kaddressbook can tag events/appointments and contacts with categories. I currently use categories a lot, assigning 'family', 'friends', and different categories based on jobs or projects. This helps tie contacts together and events/appointments as well. For example I do some side consulting work and a small company and it may be with different clients of that company. I tag every appointment and client contact with a category to I can easily find them when I report my hours. In Kmail I currently have to store all mail to and from that company and its clients in one folder to keep track of it easily and sometimes I may need to e-mail vendors for support of their products or sign up on mailing lists. Those mailing lists I typically keep in a folder specific to that list so it would be nice to tag those seperate folders and/or messages with the same category as all the company/client mails to keep them together. 1. First thing that neesd to happen is all the PIM tools need to share the same category list, currently adding a category to korganizer does not add it to kaddressbook. 2. Add the ability to tag a message with a category from that shared list and store that category in the message somewhere. 3. Add a colum so the categories can be seen/sorted 4. Add the ability to search and / or filter based on a category 5. Add the ability to automatically assign a category using the filters.
Please check bug 15391 , comment #19 . The category sharing among kontact modules won't happen until kde 4.0, but I am planning to add features 2-5 to my patch in the future.
I'm almost sure there are other bugs requesting this feature. Ismail, could you attach your patch here?
SVN commit 692089 by onurf: Finally, port the tagging feature to KDE4. It is in a slightly worse state than what I had for KDE 3.5, but since the difficult part is over, I hope I will improve it over time. Currently it has the following features: - Ability to tag emails (with possibly more than one tag) - Changing the appearance of message headers (font and text color) according to the message's tags. - Configuration of tags through a new tab called "Message Tags" on the "Configure KMail->Appearance" configuration page. - You can add toolbar buttons for easy tagging. - You can assign shortcuts to tags. - Tagging through the right-click menu. - Quick filtering using the combobox for "status" filtering. See the screenshot. Some short-term todos: - Incorporate Nepomuk - A column for tags in the header view - Incorporate Ellen's usability comments Some long-term todos: - Filter action for automatic tagging - Searching based on tags ( which enables having 'tag folders' through use of search folders ) I'm sorry that I didn't have enough time to test my current commit completely. In the last two days, I have been constantly compiling kdelibs, kdepimlibs, kdebase to keep up with very frequent changes. I finally was able to compile all at once:) BUGS: 50409 CCBUG: 15391, 122977 M +1 -0 CMakeLists.txt M +483 -0 configuredialog.cpp M +99 -1 configuredialog_p.h M +23 -0 headeritem.cpp M +58 -16 headerlistquicksearch.cpp M +6 -0 headerlistquicksearch.h M +1 -0 kmail_part.cpp M +2 -1 kmail_part.rc M +22 -0 kmheaders.cpp M +5 -0 kmheaders.h M +6 -0 kmkernel.cpp M +4 -0 kmkernel.h M +123 -0 kmmainwidget.cpp M +20 -1 kmmainwidget.h M +2 -0 kmmainwin.cpp M +2 -1 kmmainwin.rc M +29 -0 kmmessage.cpp M +3 -0 kmmessage.h A kmmessagetag.cpp [License: GPL (v2+) (+Qt exception)] A kmmessagetag.h [License: GPL (v2+)] M +35 -2 kmmsgbase.cpp M +14 -1 kmmsgbase.h M +23 -0 kmmsginfo.cpp M +2 -0 kmmsginfo.h