Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 42970431FC1 for ; Sat, 12 Jun 2010 08:47:31 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CYgvrm3Pitnb for ; Sat, 12 Jun 2010 08:47:20 -0700 (PDT) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by olra.theworths.org (Postfix) with ESMTP id AF5594196F2 for ; Sat, 12 Jun 2010 08:47:20 -0700 (PDT) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1ONSvU-0004Yk-O4 for notmuch@notmuchmail.org; Sat, 12 Jun 2010 17:47:16 +0200 Received: from ip4da73686.direct-adsl.nl ([77.167.54.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Jun 2010 17:47:16 +0200 Received: from cwg by ip4da73686.direct-adsl.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Jun 2010 17:47:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: notmuch@notmuchmail.org connect(): No such file or directory From: Christoph Groth Subject: Re: syncing mail by simply syncing the filesystem Date: Sat, 12 Jun 2010 17:47:07 +0200 Lines: 35 Message-ID: <87eigc9rt0.fsf@falma.de> References: <87631obu64.fsf@falma.de> <87vd9o5rtj.fsf@rocinante.cs.unb.ca> <87y6eke67e.fsf@lucky.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ip4da73686.direct-adsl.nl User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:pmwZ3zXEBcbjsgRFp6zoyW+9V9s= X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jun 2010 15:47:31 -0000 Jesse, thanks a lot for your ideas. Jesse Rosenthal writes: > 1. If your other computers will have a consistent fast internet > connection (or a sufficient connection to use IMAP) consider remote > usage, keeping your database on one computer: They do, most of the time. But I really like to be able to stay independent of any servers when I am on the road with occasional and slow network access. > 2. You could brute-force it. Include a nm_dump file as one of your > unison paths, along with your Maildir, then always run: > > notmuch dump > nm_dump > unison > notmuch restore nm_dump This might actually be the perfect solution, if notmuch is fast enough to dump and restore the tags in a few seconds. Actually, I am a bit confused by why many people seem to be using tags for named searches. IMHO tags only make sense when set by hand for some non-searchable criteria. For all the rest normal searches (perhaps with saved search aliases) should be the better solution. > 2a. Just a thought -- would merging be easier if you used git/hg instead > of unison? Just make sure to gitignore your notmuch db. You mean to store nm_dump? This sounds too complicated without much benefit. I'm using git for things where I am interested in the history of changes which is hardly the case for the tags.