Monday, March 22, 2010

Re: Problem of frequency call of func through --remote-expr

On Mar 20, 2:30 am, epanda <callingel...@hotmail.fr> wrote:
> Hi,
>
> I am using this command in order to retrieve data stored into c:/
> infos.txt at regular interval back to GVim without disturbing main
> GVim instance.
>
> exec '!start /MIN cmd /c "vim --servername ' . v:servername . ' --
> remote-expr "AnalysisCppInfos('."'c:/infos.txt'". ')"'
>
> The problem is that the call of AnalysisCppInfos( happens only one
> time.

Naturally. You only call it once. The :!start command is to call an
external command, A SINGLE TIME, in an asynchronous process.

>
> I would like a call done each time an event occurs.
> Event may be :
> . each second
> . each time the file is written
> . etC..
>
> I wonder why it is called only one time.
>

If you want it to run more than once, you will need to call in more
than once.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

To unsubscribe from this group, send email to vim_use+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

No comments: