location of popup helpers question

Anne Wilson annew at kde.org
Mon Sep 28 17:52:21 UTC 2009


On Monday 28 September 2009 18:05:11 Gene Heskett wrote:
> AFAIK, kmail updates that kmailrc file everytime it does _anything_, even 
> clicking on the next message button updates it because it contains the 
> current message numbers.  The incoming mail function updates it similarly.
> 
> All this is, to me, is a golden opportunity for any bug anyplace in the
>  kmail <->filesystem to eventually eat our respective lunches.  Here, it is
>  a  bit over 131 kilobytes, and to expect a file to get data in the middle
>  of it overwritten with random lengths of new data, and remain forever
>  properly formatted and error free seems like tempting fate.
> 
> It is now 12:58:30 and when I opened this message:
> [root at coyote config]# ls -l kmailrc
> -rw------- 1 root root 139265 2009-09-28 12:51 kmailrc
> 
> Now:
> [root at coyote config]# ls -l kmailrc
> -rw------- 1 root root 139265 2009-09-28 12:56 kmailrc
> 
> So incoming mail updated it, and that means it is a very high traffic
>  file,  and it has ALL of kmails eggs in it.
> 
> IMO the data that needs updated frequently like that, really should be
>  kept  in a separate file.
> 
Take a copy of your kmailrc, then again after one of your 'changes' and diff 
them.  Tell us what comes out.

I don't believe you have actually studied your kmailrc.  It does not contain 
messages at all.  It contains your folder definitions, which may be what you 
are mistaking for messages.  It does contain quite a lot of other information, 
all of it configuration.  Unless you are a very strange user it does not get 
updated very frequently.  You will notice that in the example you quoted, the 
file size did not alter at all.  Maybe what you see is a timestamp of when the 
file was accessed for information?

You also said earlier "I would love to see kde break the kmailrc file up in 
subcategories as separate files,"" .  Why?  One file does one job.  In this 
case it defines all the norms for your folders, identities, accounts and mail 
transports.  The reason your file is big (and mine is much bigger) is the 
number of identities and folders maintained.  The kmailrc file is clearly 
broken up into labelled sections.  There is no difficulty in seeing what each 
one does.

Anne
-- 
New to KDE4? - get help from http://userbase.kde.org
Just found a cool new feature?  Add it to UserBase
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090928/09e294c7/attachment-0001.sig>


More information about the fedora-list mailing list