From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86959 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Synchronizing offlineimap maildir between several computers Date: Sun, 13 Mar 2016 10:27:44 +0800 Message-ID: <87fuvvun6n.fsf@ericabrahamsen.net> References: <87io0sug5h.fsf@free.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1457836154 20329 80.91.229.3 (13 Mar 2016 02:29:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Mar 2016 02:29:14 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M35180@lists.math.uh.edu Sun Mar 13 03:29:01 2016 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aevm8-0007pF-0A for ding-account@gmane.org; Sun, 13 Mar 2016 03:29:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.86) (envelope-from ) id 1aevlD-0006SY-Qm; Sat, 12 Mar 2016 20:28:03 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.86) (envelope-from ) id 1aevlA-0006S2-Bd for ding@lists.math.uh.edu; Sat, 12 Mar 2016 20:28:00 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.86) (envelope-from ) id 1aevl8-0005kq-Of for ding@lists.math.uh.edu; Sat, 12 Mar 2016 20:28:00 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1aevl6-0004yv-F7 for ding@gnus.org; Sun, 13 Mar 2016 03:27:56 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aevl2-00075D-Io for ding@gnus.org; Sun, 13 Mar 2016 03:27:52 +0100 Original-Received: from mail.ericabrahamsen.net ([50.56.99.223]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Mar 2016 03:27:52 +0100 Original-Received: from eric by mail.ericabrahamsen.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Mar 2016 03:27:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: mail.ericabrahamsen.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:1HX77vFUJz37FfcJPorGRwTD05g= X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86959 Archived-At: Julien Cubizolles writes: > I'm using offlineimap to get Maildir copies of several IMAP accounts > from Gnus. I need to work from two different computers. At the moment, > I'm synchronizing the .gnus.el file between the 2 computers through > unison and relying on offlineimap running on the 2 computers to have the > Maildirs synchronized with the remote IMAP servers of my mail providers. > > When I switch computers, I run unison, start Gnus which calls > offlineimap.el through a hook. It's basically working fine except that > until offlineimap has finished the synchronization, the .gnus.el data is > out of sync with the maildir so I get mostly starred groups. > > I'm thinking about having Gnus call unison and offlineimap as > gnus-before-startup-hook but before I'm messing with it I'm curious > about what other solutions you have come up with. I run mbsync (the equivalent of your offlineimap) in the shell, and when that's done I run Gnus :)