Re: vim7: redir not working inside -complete=custom function

2006-06-22 Thread Bram Moolenaar
Hari Krishna Dara wrote: > On Tue, 20 Jun 2006 at 8:49pm, Bram Moolenaar wrote: > > > > Please dig into this a bit more. GetVimCmdOutput() is a long function, > > what part of it doesn't work?The ":redir" command is allowed in the > > sandbox.Again, set 'verbose' to possibly see an error mes

Re: vim7: redir not working inside -complete=custom function

2006-06-21 Thread Hari Krishna Dara
On Tue, 20 Jun 2006 at 8:49pm, Bram Moolenaar wrote: > > Please dig into this a bit more. GetVimCmdOutput() is a long function, > what part of it doesn't work?The ":redir" command is allowed in the > sandbox.Again, set 'verbose' to possibly see an error message. And/or > add some "echomsg" c

Re: vim7: redir not working inside -complete=custom function

2006-06-20 Thread Bram Moolenaar
Hari Krishna Dara wrote: > > > > > I have a command with custom completion function that employs the > > > > > :redir > > > > > mechanism to determines the matches. This used to work fine in Vim6.3, > > > > > but is broken in Vim7.0. I don't see any sandbox restrictions that > > > > > could > >

Re: vim7: redir not working inside -complete=custom function

2006-06-20 Thread Hari Krishna Dara
On Tue, 20 Jun 2006 at 10:47am, Bram Moolenaar wrote: > > Hari Krishna Dara wrote: > > > > > I have a command with custom completion function that employs the :redir > > > > mechanism to determines the matches. This used to work fine in Vim6.3, > > > > but is broken in Vim7.0. I don't see any san

Re: vim7: redir not working inside -complete=custom function

2006-06-20 Thread Eric Arnold
> > If UserFileExpand() is called from custom completion function, it no > longer captures any output (this works fine in 6.3), but it works fine > if you call from command line or scripts. ... My guess is this is what he means by "broken". Well, you do give more information, but you h

Re: vim7: redir not working inside -complete=custom function

2006-06-20 Thread Bram Moolenaar
Hari Krishna Dara wrote: > > > I have a command with custom completion function that employs the :redir > > > mechanism to determines the matches. This used to work fine in Vim6.3, > > > but is broken in Vim7.0. I don't see any sandbox restrictions that could > > > apply in this case, but even if

Re: vim7: redir not working inside -complete=custom function

2006-06-19 Thread Hari Krishna Dara
On Sun, 18 Jun 2006 at 11:26pm, Bram Moolenaar wrote: > > Hari Krishna Dara wrote: > > > I have a command with custom completion function that employs the :redir > > mechanism to determines the matches. This used to work fine in Vim6.3, > > but is broken in Vim7.0. I don't see any sandbox restric

Re: vim7: redir not working inside -complete=custom function

2006-06-18 Thread Bram Moolenaar
Hari Krishna Dara wrote: > I have a command with custom completion function that employs the :redir > mechanism to determines the matches. This used to work fine in Vim6.3, > but is broken in Vim7.0. I don't see any sandbox restrictions that could > apply in this case, but even if they do, the co

vim7: redir not working inside -complete=custom function

2006-05-30 Thread Hari Krishna Dara
I have a command with custom completion function that employs the :redir mechanism to determines the matches. This used to work fine in Vim6.3, but is broken in Vim7.0. I don't see any sandbox restrictions that could apply in this case, but even if they do, the command for which I am redirecting t