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

List:       kmail-devel
Subject:    Re: Committing maildir support now?
From:       Kurt Granroth <granroth () kde ! org>
Date:       2001-08-06 19:50:51
[Download RAW message or body]

On Monday 06 August 2001 12:07 pm, Daniel Naber wrote:
> On Monday 06 August 2001 20:36, Kurt Granroth wrote:
> > And just to reiterate, you will *NOT* have to stop using KMail for any
> > length of time after the commit since the mbox support is functionally
> > IDENTICAL.
>
> Is there a GUI option to choose between the two?

Yes.  When you create a new Child Folder, the normal dialog pops up.  There 
is a new option called Folder Type which is a drop down combo.  It currently 
contains "mbox (default)" and "maildir" (the former being the default).

It is *not* currently possible to automatically convert mbox mailboxes to 
maildir and vice-versa.

For existing mailboxes, KMail automatically checks if it is mbox (if it's a 
file) or maildir (if it's a directory and has the right subdirs) and reacts 
accordingly.

In general, everything acts like you would expect... which one POSSIBLE 
exception.  When KMail starts up for the very first time, it creates the 
inbox, outbox, etc folders.  This is done without any user interaction so 
asking the user which folder type they want was out of the question.  What I 
did was to check the environment variable $MAIL.  If the mailbox in question 
was a directory, I assume that the user is using maildir as the preferred 
format and all of the system mailboxes will be maildir as well.  If $MAIL 
isn't set or is not a directory, then all system mailboxes will be mbox.

> If you really want to be
> cool, you should document this in docbook and send it to me. But telling
> me what exactly needs to be documented (=user point of view) would be
> fine, too.

This will, of course, be documented after it's committed.  I'm a bit loath to 
write the docs now when the code isn't even in KMail yet, though ;-)
-- 
Kurt Granroth            | http://www.granroth.org
KDE Developer/Evangelist | SuSE Labs Open Source Developer
granroth@kde.org         | granroth@suse.com
            KDE -- Conquer Your Desktop
_______________________________________________
Kmail Developers mailing list
Kmail@master.kde.org
http://master.kde.org/mailman/listinfo/kmail

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

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