i have a (rather ugly) way of making it look nice in mutt:

#source ~/.mutt/offlineimap.mailboxes
# eheh...
`sed -ne 's,/.",",gp' < ~/.mutt/offlineimap.mailboxes`


but...

in the previous email's example, the remote imap server for account1 uses
'/' as a seperator, and in account2 uses '.'.  the "workaround" of:

nametrans = lambda foldername: re.sub('^INBOX$', '.', foldername)

only works for the former.  the latter dies with a different error if
i try to use this, because '.' is translated to a directory seperator locally:

AssertionError: Folder names may not begin with /

so, if my previous suggestion of allowing '' for a folder name isn't viable,
we still need a way to make a literal '.' in the remote folder name that
doesn't get translated into the directory seperator, or the assertion needs
to be made less strict maybe?


  sean

Attachment: signature.asc
Description: Digital signature

Reply via email to