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 3CE97431FBD for ; Thu, 13 Dec 2012 06:30:25 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.1 X-Spam-Level: X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled 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 Yv6q4IgC4Y2U for ; Thu, 13 Dec 2012 06:30:24 -0800 (PST) Received: from homiemail-a1.g.dreamhost.com (caiajhbdcbbj.dreamhost.com [208.97.132.119]) by olra.theworths.org (Postfix) with ESMTP id B636F431FB6 for ; Thu, 13 Dec 2012 06:30:24 -0800 (PST) Received: from homiemail-a1.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTP id DDB24348074 for ; Thu, 13 Dec 2012 06:30:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; s=zx2c4.com; bh=nM5oCshxuDaO9dX4hEKdj/4UW+Q=; b=A1 XolGpywmVdWt5HSilQk65xV/YanxSqvo5txkGvPtfbW4T0Cg3fUMDpvqgeNhkjAK /EvktfEVMmDLe7bdccmlrwondQIzePA1WNDopA8luFGYC9wvCazQFseNj/XArcha Spomk2gxp0dyNK7OznqNgp/uMCBrON/kluuMh2Reg= Received: from mail-ob0-f181.google.com (mail-ob0-f181.google.com [209.85.214.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jason@zx2c4.com) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTPSA id B7C7B348073 for ; Thu, 13 Dec 2012 06:30:22 -0800 (PST) Received: by mail-ob0-f181.google.com with SMTP id oi10so2029570obb.26 for ; Thu, 13 Dec 2012 06:30:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.177.72 with SMTP id co8mr1624123obc.53.1355409020001; Thu, 13 Dec 2012 06:30:20 -0800 (PST) Received: by 10.76.33.70 with HTTP; Thu, 13 Dec 2012 06:30:19 -0800 (PST) In-Reply-To: <20121213142228.GE3658@tungsten.lan.mitsi.com> References: <20121208162055.14777.40147@brick.lan> <20121208174626.23685.31363@brick.lan> <20121210094134.11208.94252@megatron> <20121211091215.8048.13433@megatron> <20121213142228.GE3658@tungsten.lan.mitsi.com> Date: Thu, 13 Dec 2012 15:30:19 +0100 Message-ID: Subject: Re: gmail importer script From: "Jason A. Donenfeld" To: fREW Schmidt Content-Type: text/plain; charset=ISO-8859-1 Cc: notmuch@notmuchmail.org 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: Thu, 13 Dec 2012 14:30:25 -0000 Please don't reply offlist. This is message #2 that's been sent offlist. On Thu, Dec 13, 2012 at 3:22 PM, fREW Schmidt > One thing you might want to try is to only open the notmuch index for > writing at a specified sync time. How do I do this? What's the python function? I couldn't find anything. Would be interested in doing this though if it exists. > Also I was going to say you might want to catch SIGINT like The library already does this.