Christian Brabandt wrote:

> On Fr, 08 Jul 2016, Bram Moolenaar wrote:
> 
> > 
> > Patch 7.4.2000 (after 7.4.1999)
> > Problem:    Evalcmd test fails.
> > Solution:   Add missing piece.
> > Files:      src/ex_docmd.c
> > 
> > +   EMSG(_("E930: Cannot use :redir inside evalcmd()"));
> 
> From the failing test I see that this worked without this patch.
> Is there a reason this is now forbidden?

What do you mean with "worked"?  The :redir command would execute but
then silently not do anything, because all output goes to evalcmd().
That's why I added the error.

It could be made to work, but we would first need to define what a
:redir inside an evalcmd() would do.  It's not obvious.

-- 
hundred-and-one symptoms of being an internet addict:
235. You start naming your kids Pascal, COBOL, Algol and Fortran.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui