KMail Tagging Patch

Various KDE 1.-4. Improvements

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

I decided to finally publicize this patch a bit more, since I am using it and am quite happy. This is a patch on top of the KDE 3.5.1 code for KMail. It introduces custom tagging support for emails. Since KDE is in feature freeze, I decided to maintain it as a patch until a merge into the next version is viable.

Here is what the patch adds:
* 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.

For bugs and problems, feel free to send an email.

Disclaimer: This patch is still in experimental state. So before trying, it is strongly advised that you backup your emails and settings. ( usually in ~/.kde/share/apps/kmail and ~/.kde/share/config/kmailrc )
Last changelog:

13 years ago

0.2.6 : Minor fix - added check for null pointers

jel

13 years ago

This is great :) Hopefully most KDE apps will support tags soon, and then we can get it integrated with KDE 4's semantic desktop :)

Report

jazztyle

13 years ago

Is there any chance to get it working on recent kdepim 3.5.3? I have tried your patch for 3.5.1, it applies halfway cleanly but without errors, but when i compile it, it breaks at some point...

Report

C

monur

13 years ago

Sorry, my focus had to shift since I last worked on this patch. It is possible that since the surrounding lines of the patch might have changed with the bugfixes, it might have been outdated. I also realized that it sometimes causes a crash when you select a folder with unindexed mail in it. I will try to work on these issues when I have some time. Thanks for the compliment.

Report

cniehaus

13 years ago

Hi

You wrote in

http://bugs.kde.org/show_bug.cgi?id=15391

that KDE 3.5 is in feature-freeze. While this is true well-tested features are fine for .z releases. So if you ask the KMail-devels they might add this feature for KMail 3.5.5 or 3.5.6.

Report

Superstoned

13 years ago

can a filter apply a tag? would be cool...

Report

C

monur

13 years ago

I am planning on adding that functionality in a later version. Some things I have in mind are:
* Automatic tagging through filters
* Searching based on tags ( which enables having 'tag folders' through use of search folders )
* A column for tags in the header view

Report

Superstoned

13 years ago

u're a god ;-)

Report

jcphil

13 years ago

I like it. But there is some overlap with the existing tags of "important" and "to do". If this will be incorporated into Kmail, maybe there needs to be some more thought put into unifying the the existing tags with your.

Report

Khan

13 years ago

Total n00b question: How do I apply it?

Report

C

monur

13 years ago

You will need the source code for kdepim 3.5.1. You can obtain it from the kde anonymous svn server, for which you will need the subversion program. Or you can use your distribution's package manager. For the first method:
mkdir ~/repository
cd ~/repository
svn co svn://anonsvn.kde.org/home/kde/tags/KDE/3.5.1/kdepim

Then you need to apply the patch:
cd ~/repository/kdepim/kmail
patch -p1 < /path/to/kmail.tagging.patch

After this, you need to compile and install kdepim:
cd ~/repository/kdepim
make -f Makefile.cvs && ./configure [optional arguments like --enable-debug --with-gnokii --with-sasl --prefix=/path/to/alternative/installation/dir ] && make && make install

* Of course, depending on your distribution, there might be easier alternatives (e.g. Gentoo)
* Giving a --prefix option to configure might be appealing if you don't want to overwrite your original kdepim applications

Report

Khan

13 years ago

Actually, I am using Gentoo however, I'm not too worried about having to emerge kdepim again if there goes south. So, do I follow the steps above for Gentoo or do I modify the package to include the patch and let emerge handle the rest?

Report

C

monur

13 years ago

I added the Gentoo ebuild as well. The instructions are:

echo 'PORTDIR_OVERLAY="/usr/local/portage ${PORDIR_OVERLAY}"' >> /etc/make.conf

mkdir -p /usr/local/portage/kde-base/kdepim/files

cp kmail.tagging.0.2.6.patch /usr/local/portage/kde-base/kdepim/files

cp kdepim-3.5.1-r1.ebuild /usr/local/portage/kde-base/kdepim

cd /usr/local/portage/kde-base/kdepim/files

ln -s kmail.tagging.0.2.6.patch kmail.tagging.last.patch

cd ..

ebuild kdepim-3.5.1-r1.ebuild digest

emerge -av kdepim

I used the linking trick to try to avoid recompiling with every minor change, since I use FEATURES="keeptemp keepwork noclean" while emerging kdepim. But currently it doesn't look like it's working.

Report

Khan

13 years ago

Up until now, I had never actually given it much thought at being able to do this in Kmail. Now, I can think of plenty of reasons to have a feature like this. Nice work.

Report

peppelorum

13 years ago

Have you added this as a wish at bugs.kde.org? Would be a good way to get the attention from the developers and regular people could vote for it.

Nice patch I must say=) This is something I've been thinking for Kmail for some time now.

Report

C

monur

13 years ago

There are already bugs that request this feature.

And other developers are already aware of the patch, I am going to work on incorporating this to the next version.

Thanks for the suggestions, though.

Report

meyerm

13 years ago

Do I understand you correct? You are trying to get it into default kmail 3.5.2? :-)

Report

C

monur

13 years ago

No, sorry, I should have been more explicit. I meant to say KDE 4.0. 3.5.x is in feature freeze right now.

Report

CARTMAN

13 years ago

Today I was thinking if that would be possible at all! :)

Report

13 years ago

0.2.6 : Minor fix - added check for null pointers

12345678910
product-maker Base: 4 x 5.0 Ratings
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
0 Affiliates
Details
license
version
0.2.6
updated Mar 11 2006
added Mar 11 2006
downloads 24h
0
pageviews 24h 5