[PATCH] Re: New account setting "maildir-windows-compatible" -	That makes OfflineIMAP to use exclamation mark (!) instead of colon for	storing messages. Such files can be written to windows partitions. But	you	will probably loose compatibility with other programs trying to read	the same Maildir.
    Nicolas Sebrecht 
    nicolas.s-dev at laposte.net
       
    Tue Jul 12 19:07:53 BST 2011
    
    
  
On Tue, Jul 12, 2011 at 09:38:35AM +0200, Vladimir Marek wrote:
> > ---
> >  docs/MANUAL.rst               |   21 +++++++++++++++++++++
> >  offlineimap.conf              |   10 ++++++++++
> >  offlineimap/folder/Maildir.py |   21 ++++++++++++++++-----
> >  3 files changed, 47 insertions(+), 5 deletions(-)
> 
> Hmm, I guess that the mail should thread with previous one, but it does
> not :(
So, this is a full resend; no problem.
>        Also "git format-patch HEAD^" overwrote the patch revision 0001
> (instead of creating 0002), but I guess that does not matter on the
> list? I'm still very green concerning git ...
This is expected for a full resend. Numbers are usefull for topics with
more than one patch.
> Anyway the difference to previous patch is that I'm not parsing the
> boolean value myself, but rather using the function already provided.
> 
> > +        self.wincompatible = self.config.getdefaultboolean(
> > +            "Account "+self.accountname, "maildir-windows-compatible", False)
> > +
> > +        if self.wincompatible == False:
> > +            self.infosep = ':'
> > +        else:
> > +            self.infosep = '!'
Thanks.
-- 
Nicolas Sebrecht
    
    
More information about the OfflineIMAP-project
mailing list