From: Ben Gamari <bgamari@gmail.com>
To: vim-dev <vim-dev@vim.org>, notmuch <notmuch@notmuchmail.org>,
Marc Weber <marco-oweber@gmx.de>,
Bart Trojanowski <bart@jukie.net>
Subject: Streaming data from process into buffer
Date: Fri, 08 Jan 2010 14:35:05 -0500 [thread overview]
Message-ID: <1262979289-sup-6397@ben-laptop> (raw)
Hey all,
I have recently been working on bringing Carl Worth's excellent
notmuch[1] mail indexing application into a state where I can rely on it
for everyday use. While most of the Intel folks developing notmuch use
emacs for both development and using notmuch, I prefer to avoid carpal
tunnel whenever possible and thus use vim. While there exists an
excellent notmuch frontend for vim, it suffers from the incredibly
annoying limitation of being unable to asynchronously stream data from
its notmuch subprocess. This can result in extremely long periods of
hanging during large searches.
Looking at the emacs frontend, it seems that emacs provides an excellent
subprocess interface, where one can supply a callback to be called when
data is available from the process. This interface, amazingly enough,
resembles an interface proposed on this list only a few hours ago.[2]
Has anyone examined what would be necessary to implement such an
interface in vim? Has anyone perhaps started work on such an interface?
Would this be a reasonable task for an experienced programmer unfamiliar
with the vi codebase to take on? I'll take a look at the code later
today.
I hope things are going well.
Cheers,
- Ben
[1] http://www.notmuch-mail.org/
[2] http://article.gmane.org/gmane.editors.vim.devel/25108
next reply other threads:[~2010-01-08 19:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-08 19:35 Ben Gamari [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-01-08 19:12 Streaming data from process into buffer Ben Gamari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1262979289-sup-6397@ben-laptop \
--to=bgamari@gmail.com \
--cc=bart@jukie.net \
--cc=marco-oweber@gmx.de \
--cc=notmuch@notmuchmail.org \
--cc=vim-dev@vim.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).