[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: branches/KDE/3.4/kdepim/kmail
From:       Till Adam <adam () kde ! org>
Date:       2005-07-12 19:53:51
Message-ID: 200507122153.52539.adam () kde ! org
[Download RAW message or body]


On Tuesday 12 July 2005 20:12, Thomas Zander wrote:
> On Tuesday 12 July 2005 18:48, Till Adam wrote:

> > Improve the logic for mixed type (xml/icalvcard) folders to:
> > if the foldertype in the config differs from what the message in KMail
> > contains, convert on write to the set format.
> > This is necessary as the resource has no way of knowing what the
> > old format of the incidence was, since only KMail has access to the
> > actual mail in the folder. That means that the resource has to
> > assume the folder's format is the incidences, when writing,
> > while the kmail end can recitify things in the mail when it sees
> > that mail contents and storage format do not align. In effect this
> > will result in incidences of one type in folders configured to use the
> > other one being converted if they are edited. As long as they are not
> > edited, nothing changes, reading is transparent.
> >
> > This also fixes the problem of ical incidences in xml folders suddenly
> > losing their payload on change and being replaced with a crippled
> > xml-style mail.
>
> Ok, long story; pretty hard to understand, so I want to make sure;
> does this mean that what is in my kmailrc _is_ what is going into the
> folder?
> So if I have my kmailrc incorrectly configured I get xml messages in my
> courier mailfolder (which IIRC is bad).  Is that right?

An XML formatted mail in a folder configured to StorageFormat=XML will be read 
and, if changed, written back out in XML. An ical formatted mail in a folder 
configured to StorageFormat=XML will be read and written back as XML, but 
only if it was changed. If it isn't changed, it stays as is. So the 
per-folder setting specifies the format of new and changed incidences in the 
folder. The global config option specifies the format new folders will get. 
Existing folders keep their type.

Does that explain things better?

Till

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic