On Sun, Dec 13, 2009 at 10:57:06PM EST, Marc Weber wrote:
> Excerpts from Chris Jones's message of Mon Dec 14 04:09:42 +0100 2009:
> > On Sun, Dec 13, 2009 at 09:42:24PM EST, Marc Weber wrote:
> > > Excerpts from Chris Jones's message of Mon Dec 14 03:26:34 +0100 2009:
> > 
> > [..]
> > 
> > > > Has anyone implemented this feature and could possibly comment on
> > > > the above?
> > 
> > > I use the feature to make a background sh process call back into vim
> > > telling it that a background process has finshed.
> > > I've never seen what you encountered.
> > 
> > Ah, very interesting. 
> > 
> > Why not use something like the write command? Or are you using gvim? Or
> > is it just a matter of finding the right tty?
> 
> Have a look here, line 190: 
> http://github.com/MarcWeber/theonevimlib/blob/master/core/autoload/tovl/runtaskinbackground.vim

Hmm.. You're not using a wait option either. 

> I don't see how a tty can help me.

I thought you were running a shell script, if you used 'write' and had
multiple terminals open, write would need to know where to send the
message.

> My problem is that vim isn't thread safe. So you have to find awkward
> workarounds to do background tagging, compiling and grepping.
> Using --remote-send seems to be safe enough. It works with X only
> though.

If I understand correctly, you're in Vim and start some long running
task in the background so you can do something else in the meantime?

> My version:
> VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Nov 12 2009 09:11:18)
> 
> If you want details about that implementation contact me on irc.

Just in case, I'll check if there are any fixes on top of version 7.1 in
this particular area.

Thank you for your comments.

CJ

-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to