Christian Brabandt wrote: > On Do, 07 Jul 2016, Bram Moolenaar wrote: > > > Hmm, wasn't aware that people wanted nested redirection. > > It's not so difficult to make that work, use another redir flag instead > > of reusing redir_vname. > > It's not necessarily needed. The problem is, since some functionality is > Vim can only be done when parsing the output of some commands, people > use :redir for plugins. And when then some user wants to capture the > output of such an command it blows up. That's what happened for my > unicode plugin, when people tried catching the output of the Digraphs > command, since that internally uses redir to parse the :digraph command.
So, all these plugins would need to be changed to use evalcmd() for things like that. I thought of making :redir nested, but it's not so easy. It's not so easy even thinking of how it should work. That's why I made using :redir inside evalcmd() and error. At least for now. > > It skips adding spaces where needed. > > I don't understand that. See the other message. -- hundred-and-one symptoms of being an internet addict: 230. You spend your Friday nights typing away at your keyboard /// Bram Moolenaar -- b...@moolenaar.net -- 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.