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 904D2429E3E for ; Fri, 6 Jan 2012 03:25:19 -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 TiDqAKt1LNxr for ; Fri, 6 Jan 2012 03:25:19 -0800 (PST) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id DD8AB429E33 for ; Fri, 6 Jan 2012 03:25:18 -0800 (PST) Received: by werm12 with SMTP id m12so1225300wer.26 for ; Fri, 06 Jan 2012 03:25:17 -0800 (PST) Received: by 10.216.139.91 with SMTP id b69mr3070989wej.51.1325849117686; Fri, 06 Jan 2012 03:25:17 -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 d9sm2555839wiy.2.2012.01.06.03.25.15 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 06 Jan 2012 03:25:16 -0800 (PST) Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000) id 9A089A321F; Fri, 6 Jan 2012 11:25:14 +0000 (GMT) To: self@antono.info Subject: Re: [PATCH] Perform mail polling asynchronously In-Reply-To: <1325848197.17646.3.camel@libero> References: <1315196076-9254-1-git-send-email-self@antono.info> <1325848197.17646.3.camel@libero> User-Agent: Notmuch/0.10.2+151~gbf1dc2b (http://notmuchmail.org) Emacs/24.0.92.1 (x86_64-pc-linux-gnu) From: David Edmondson X-Now-Playing: Jacky Terrasson: I Love Paris (Blue Ivory: A Modern Piano Dynasty) Date: Fri, 06 Jan 2012 11:25:10 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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: Fri, 06 Jan 2012 11:25:19 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 06 Jan 2012 14:09:57 +0300, Antono Vasiljev wrot= e: > On Tue, 2012-01-03 at 16:02 +0000, David Edmondson wrote: >=20 > > 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 > >=20 > > I don't understand the real purpose of this patch. >=20 > > 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? >=20 > Sync io sucks. > Just drop it if you do not like. I don't use notmuch anymore so i dont > care. Antono, thanks for replying. I'll mark the patch as 'obsolete'. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk8G2hYACgkQaezQq/BJZRbnGwCfQAgWSnBpWVUUKYonARnXfVa0 F/IAn27o6cGNoIER9oHb2w2MwlA9iY1f =YPjy -----END PGP SIGNATURE----- --=-=-=--