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 66EA6429E26 for ; Tue, 6 Dec 2011 19:16:44 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] 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 ZrseFH8WP49N for ; Tue, 6 Dec 2011 19:16:43 -0800 (PST) Received: from socrates.hocat.ca (socrates.hocat.ca [76.10.188.53]) by olra.theworths.org (Postfix) with ESMTP id BE6C2429E21 for ; Tue, 6 Dec 2011 19:16:43 -0800 (PST) Received: from hermes.hocat.ca (hermes.hocat.ca [69.165.170.253]) by socrates.hocat.ca (Postfix) with SMTP id 17B281ADF; Tue, 6 Dec 2011 20:16:39 -0700 (MST) Received: (nullmailer pid 29740 invoked by uid 1000); Wed, 07 Dec 2011 03:16:37 -0000 From: Tom Prince To: Jameson Graef Rollins , Jani Nikula , notmuch@notmuchmail.org Subject: Re: [PATCH v3 0/2] notmuch hooks In-Reply-To: <87d3c1rtcq.fsf@servo.finestructure.net> References: <7fbe6befcf31881a9bca672f55b93501249a220c.1322859389.git.jani@nikula.org> <87d3c1rtcq.fsf@servo.finestructure.net> User-Agent: Notmuch/0.10.1 (http://notmuchmail.org) Emacs/23.3.3 (x86_64-pc-linux-gnu) Date: Tue, 06 Dec 2011 22:16:37 -0500 Message-ID: <87borlf4ve.fsf@hermes.hocat.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Wed, 07 Dec 2011 03:16:44 -0000 On Tue, 06 Dec 2011 18:47:01 -0800, Jameson Graef Rollins wrote: > Also, what if we make it so that the post-new hook script only runs if > notmuch new processes new messages? All of my post-new functions don't > need to be run at all if there is no new mail. Or would it make sense to pass this information to the hook somehow? I currently run 'git pull && notmuch new && git commit && git push" or so ... Tom