[PATCH v2 3/6] go: Update Go bindings for new notmuch_database_{open, create} signatures
[notmuch-archives.git] / 48 / e466262788bef34a79e7887b19009eb512a2be
1 Return-Path: <bgamari@gmail.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id A4DA5431FBC\r
6         for <notmuch@notmuchmail.org>; Fri,  8 Jan 2010 11:12:12 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id Qdngk6flHujZ for <notmuch@notmuchmail.org>;\r
11         Fri,  8 Jan 2010 11:12:11 -0800 (PST)\r
12 Received: from mail-yw0-f191.google.com (mail-yw0-f191.google.com\r
13         [209.85.211.191])\r
14         by olra.theworths.org (Postfix) with ESMTP id C9474431FAE\r
15         for <notmuch@notmuchmail.org>; Fri,  8 Jan 2010 11:12:11 -0800 (PST)\r
16 Received: by ywh29 with SMTP id 29so23298439ywh.32\r
17         for <notmuch@notmuchmail.org>; Fri, 08 Jan 2010 11:12:11 -0800 (PST)\r
18 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
19         h=domainkey-signature:received:received:content-type:subject:from:to\r
20         :date:message-id:user-agent:content-transfer-encoding;\r
21         bh=+gHthLPf/STBkEKiPOk6kmB0evtFng6365U3oGwvMj4=;\r
22         b=iMtNEyNe7Iy5/i+9UluN2LeQD90ioL01sHFoq3GgVqPGA7V/sgAItVFwBgoc4ElAm9\r
23         GnEUbT1tSQaGqTEjMH9Ls4LEl/KMHikFz1h83SQgSXgKaLLOHDj0eSfvJi+095N3dTz3\r
24         N6DOiIZV6rkNsDShOXLnTNKz0EgSVL8dijE3w=\r
25 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
26         h=content-type:subject:from:to:date:message-id:user-agent\r
27         :content-transfer-encoding;\r
28         b=wJe43dNivdujgo+Y2CP9jCK+MsqvnLbdlHtXAHI/mcHbOgB1rPtOIKF4bVxF+oAdNA\r
29         ZNcEdEvWm3a6oXlYcXMZ+tJkK+Y7c4NFy/85Gbgb7WlTUTnGL8zK1HONElzmiuyWY+P0\r
30         YVGzTO5xH44rEH5Lf161Yq8/OgcvxQwj3slnY=\r
31 Received: by 10.150.239.15 with SMTP id m15mr4795560ybh.336.1262977931443;\r
32         Fri, 08 Jan 2010 11:12:11 -0800 (PST)\r
33 Received: from localhost (amherst597.amherstma.gov [204.213.244.97])\r
34         by mx.google.com with ESMTPS id 5sm8059636ywd.53.2010.01.08.11.12.10\r
35         (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
36         Fri, 08 Jan 2010 11:12:10 -0800 (PST)\r
37 Content-Type: text/plain; charset=UTF-8\r
38 From: Ben Gamari <bgamari@gmail.com>\r
39 To: vim-devel <vim-devel@vim.org>, notmuch <notmuch@notmuchmail.org>,\r
40         Marc Weber <marco-oweber@gmx.de>\r
41 Date: Fri, 08 Jan 2010 14:12:09 -0500\r
42 Message-Id: <1262976744-sup-7437@ben-laptop>\r
43 User-Agent: Sup/git\r
44 Content-Transfer-Encoding: 8bit\r
45 Subject: [notmuch] Streaming data from process into buffer\r
46 X-BeenThere: notmuch@notmuchmail.org\r
47 X-Mailman-Version: 2.1.13\r
48 Precedence: list\r
49 List-Id: "Use and development of the notmuch mail system."\r
50         <notmuch.notmuchmail.org>\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
54 List-Post: <mailto:notmuch@notmuchmail.org>\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
58 X-List-Received-Date: Fri, 08 Jan 2010 19:12:12 -0000\r
59 \r
60 Hey all,\r
61 \r
62 I have recently been working on bringing Carl Worth's excellent\r
63 notmuch[1] mail indexing application into a state where I can rely on it\r
64 for everyday use. While most of the Intel folks developing notmuch use\r
65 emacs for both development and using notmuch, I prefer to avoid carpal\r
66 tunnel whenever possible and thus use vim. While there exists an\r
67 excellent notmuch frontend for vim, it suffers from the incredibly\r
68 annoying limitation of being unable to asynchronously stream data from\r
69 its notmuch subprocess. This can result in extremely long periods of\r
70 hanging during large searches.\r
71 \r
72 Looking at the emacs frontend, it seems that emacs provides an excellent\r
73 subprocess interface, where one can supply a callback to be called when\r
74 data is available from the process. This interface, amazingly enough,\r
75 resembles an interface proposed on this list only a few hours ago.[2]\r
76 \r
77 Has anyone examined what would be necessary to implement such an\r
78 interface in vim? Has anyone perhaps started work on such an interface?\r
79 Would this be a reasonable task for an experienced programmer unfamiliar\r
80 with the vi codebase to take on? I'll take a look at the code later\r
81 today.\r
82 \r
83 I hope things are going well.\r
84 \r
85 Cheers,\r
86 \r
87 - Ben\r
88 \r
89 \r
90 [1] http://www.notmuch-mail.org/\r
91 [2] http://article.gmane.org/gmane.editors.vim.devel/25108\r