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 7B122431FD4 for ; Mon, 16 Jan 2012 11:05:01 -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 tsGfz+mtjgdA for ; Mon, 16 Jan 2012 11:05:00 -0800 (PST) Received: from smtp1.kolej.mff.cuni.cz (smtp1.kolej.mff.cuni.cz [78.128.192.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 9E2DA431FB6 for ; Mon, 16 Jan 2012 11:05:00 -0800 (PST) X-Envelope-From: anton@khirnov.net Received: from daenerys.khirnov.net (zohar.kolej.mff.cuni.cz [78.128.198.199]) by smtp1.kolej.mff.cuni.cz (8.14.4/8.14.4) with ESMTP id q0GJ4mpr090442; Mon, 16 Jan 2012 20:04:49 +0100 (CET) (envelope-from anton@khirnov.net) Received: from daenerys.khirnov.net (localhost [127.0.0.1]) by daenerys.khirnov.net (Postfix) with ESMTP id 80D0B1235F1; Mon, 16 Jan 2012 20:04:47 +0100 (CET) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable User-Agent: notmuch-vimpy Message-ID: <20120116190447.7260.18617@daenerys.khirnov.net> Date: Mon, 16 Jan 2012 20:04:47 +0100 References: <20120114075443.27927.39754@daenerys.khirnov.net> <87r4z1iudw.fsf@zancas.localnet> <20120115153408.30382.40507@daenerys.khirnov.net> <87mx9n7dq4.fsf@servo.finestructure.net> To: Jameson Graef Rollins , notmuch@notmuchmail.org In-Reply-To: <87mx9n7dq4.fsf@servo.finestructure.net> From: Anton Khirnov Subject: Re: [RFC] vim plugin rewrite II 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: Mon, 16 Jan 2012 19:05:01 -0000 On Mon, 16 Jan 2012 09:34:59 -0800, Jameson Graef Rollins wrote: > On Sun, 15 Jan 2012 16:34:08 +0100, Anton Khirnov wro= te: > > Yes, it's still synchronous. I suppose making it asynchronous shouldn't > > be all that hard, i just never found enough time and motivation for that > > (it was never a huge problem here). > = > My understanding was that vim was not actually capable of loading files > asynchronously. That would be very interesting if it was. > = It should be possible to run the query in a separate python thread which would write the results into the vim buffer. -- = Anton Khirnov