On Sun, 2010-03-28 at 13:17 +0200, Oliver Eales wrote:
Am 27.03.2010 um 03:17 schrieb Timo Sirainen:
This is pretty much the expected behavior. I've thought about this before though and there are a few things related to this in my TODO list:
Hello Timo, thanks for the answer. The reason for my question was, that we are working on a webmail frontend where we want to present the user a dropdown menu with his used keywords.
That's actually also a reason why immediately removing unused keywords isn't necessarily good. User might want to have a list of keywords, but not necessarily always have all of them used. For example "todo" keyword might be used only sometimes. (I'm assuming that the list can also be used to easily assign keywords to mails.)
- After reaching a certain number of keywords, the oldest unused ones should be removed. Especially with Maildir where the limit is 26, but perhaps others could also try to avoid allocating extra bytes for them in index file.
- Maybe instead of, or in addition to the above, remove keywords automatically that haven't been used for n days.
- Add a way to explicitly add/remove keywords (IMAP extension?)
That is what i was looking for while reading the RFCs and didn't find anything.
Yeah. There's nothing about that. I once talked about an extension that supported KEYWORD ADD/REMOVE commands, but nothing came of it.