Edit: Sorry for the noise, seems it's actually the apache server caching the pages.
Thank you for the reply. There is an option to execute an external program when you recieve mail, but no option to execute a program when you have read the new mail. So I can turn the LED on but I can't turn it off! If I have to make it more complicated and check the status via a DCOP call or similar that would be OK. If no-one knows of an easier way, I will look at the developer docs for KMail.
I have an email LED on my laptop which would be very useful to use. (It is also a very nice blue so it seems a shame to waste it) I've written a script to toggle it on/off but Kmail only seems to use the KDE notify framework for new mail - thus there is no way of toggling the LED off again once the mail has been read. Is there any way for Kmail to notify external programs/scripts on BOTH receiving new mail and again when that mail is read?
I'll check the bug-list again, although I failed to find a similar problem listed the last time. It does definately fail to match a newline though and can quite happily replace a string with nothing. I've replaced other special characters (e.g. Tab) with nothing too - but if you do a search for newline (\n) nothing is found.
I'm going insane trying to work out why Kate (KDevelop) ignores the newline character \n in Find/Replace. I can't add or replace newlines in a Replace operation - a very basic function that I used all the time with Ultraedit edit in Windows. Stripping out empty lines (for example) from a several thousand line file is no fun done manually! Can anyone tell me a workaround, a way of changing Kates behaviour or give the Kate developer a poke in the eye?