[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Offlineimap and gnus custom flags
From: |
Dan Christensen |
Subject: |
Re: Offlineimap and gnus custom flags |
Date: |
Fri, 07 Oct 2011 15:54:06 -0400 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux) |
offlineimap doesn't sync custom flags by default. The hack I use just
monkeypatches the flagmap. Put the following in .offlineimap.py:
import offlineimap.imaputil as IU
if not hasattr(IU, 'monkeypatchdone'):
IU.flagmap += [('gnus-expire','E'),
('gnus-dormant', 'Q'),
('gnus-save', 'V'),
('gnus-forward', 'W')]
IU.monkeypatchdone = True
To activate this, you put
pythonfile = ~/.offlineimap.py
in your .offlineimaprc
Dan