From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86958 Path: news.gmane.org!not-for-mail From: Julien Cubizolles Newsgroups: gmane.emacs.gnus.general Subject: Synchronizing offlineimap maildir between several computers Date: Sat, 12 Mar 2016 11:47:22 +0100 Message-ID: <87io0sug5h.fsf@free.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1457779777 21592 80.91.229.3 (12 Mar 2016 10:49:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Mar 2016 10:49:37 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M35179@lists.math.uh.edu Sat Mar 12 11:49:25 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 1aeh6q-0007Qk-1x for ding-account@gmane.org; Sat, 12 Mar 2016 11:49:24 +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 1aeh5f-0000Ij-6P; Sat, 12 Mar 2016 04:48:11 -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 1aeh5b-0000IM-N3 for ding@lists.math.uh.edu; Sat, 12 Mar 2016 04:48:07 -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 1aeh5a-0006F5-1W for ding@lists.math.uh.edu; Sat, 12 Mar 2016 04:48:07 -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 1aeh51-00034N-2a for ding@gnus.org; Sat, 12 Mar 2016 11:47:45 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aeh50-0005wN-9r for ding@gnus.org; Sat, 12 Mar 2016 11:47:30 +0100 Original-Received: from gas45-3-82-244-252-119.fbx.proxad.net ([82.244.252.119]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Mar 2016 11:47:30 +0100 Original-Received: from j.cubizolles by gas45-3-82-244-252-119.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Mar 2016 11:47:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: gas45-3-82-244-252-119.fbx.proxad.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:n1ecbe0uaofit1S7ulbmcncfOmU= X-Spam-Score: 0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86958 Archived-At: 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. Wilk.