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 06A85429E41 for ; Tue, 3 Jan 2012 08:02:55 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 uGRzCU7z41aZ for ; Tue, 3 Jan 2012 08:02:52 -0800 (PST) Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 9B8CF431FD0 for ; Tue, 3 Jan 2012 08:02:52 -0800 (PST) Received: by wgbds13 with SMTP id ds13so23091178wgb.2 for ; Tue, 03 Jan 2012 08:02:51 -0800 (PST) Received: by 10.227.202.142 with SMTP id fe14mr28479800wbb.10.1325606570428; Tue, 03 Jan 2012 08:02:50 -0800 (PST) Received: from hotblack-desiato.hh.sledj.net (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25]) by mx.google.com with ESMTPS id q5sm6459865wbo.8.2012.01.03.08.02.48 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 03 Jan 2012 08:02:49 -0800 (PST) Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000) id 04631A05D6; Tue, 3 Jan 2012 16:02:47 +0000 (GMT) To: Antono Vasiljev , notmuch@notmuchmail.org Subject: Re: [PATCH] Perform mail polling asynchronously In-Reply-To: <1315196076-9254-1-git-send-email-self@antono.info> References: <1315196076-9254-1-git-send-email-self@antono.info> User-Agent: Notmuch/0.10.2+151~gbf1dc2b (http://notmuchmail.org) Emacs/24.0.92.1 (x86_64-pc-linux-gnu) From: David Edmondson Date: Tue, 03 Jan 2012 16:02:43 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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: Tue, 03 Jan 2012 16:02:55 -0000 --=-=-= Content-Type: text/plain On Mon, 5 Sep 2011 07:14:36 +0300, Antono Vasiljev wrote: > * reimplemented notmuch-poll(&optional callback) so that it > calls process asynchronously and run callback after process > finished > * changed usage of notmuch-poll in notmuch-hello-poll-and-update > and notmuch-search-poll-and-refresh-view I don't understand the real purpose of this patch. If the poll script runs asynchronously, won't the notmuch-search output refresh and jump into my face when I'm busy doing something else? And, if I'm not busy doing something else, why can't I just wait for the poll script to complete? --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk8DJqMACgkQaezQq/BJZRZ31gCfTekMiCWOzRtxWVo+iybUmWQw whwAoIb44H/E/wzjhjLq8NsgKN28v+vG =wuF5 -----END PGP SIGNATURE----- --=-=-=--