On 05Dec2015 12:55, Nicolas Sebrecht <[email protected]> wrote:

On Sat, Dec 05, 2015 at 03:55:36AM -0500, Christian Hopps wrote:
Is it possible to configure offlineimap to ignore emacs lock
files? When I have a draft open in emacs offlineimap fails with an
error such as this:
<...>
OSError: [Errno 2] No such file or directory:
'/[path-removed]/Drafts/cur/.#1449285070.a2f54ffc8b313375.stubbs:2,DS'
It would seem this could be avoided if I could configure
offlineimap to ignore files matching the re "\.#.*", or by having
it ignore dot files in general while syncing.

While at it, I'd rather make OfflineIMAP ignore any dot file.

Might I advocate for ignoring any filename not adhering to the maildir filename shape? See:

 http://cr.yp.to/proto/maildir.html

You might choose to be less strict, but still require filenames to start with a digit (old scheme) or one of #XRIVMPQ.

Also, have we any counter examples of maildir using programs which do not _create_ files according to the scheme?

Cheers,
Cameron Simpson <[email protected]>

_______________________________________________
OfflineIMAP-project mailing list: [email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepages:
- https://github.com/OfflineIMAP
- http://offlineimap.org

Reply via email to