Christian wrote:
> > > On Fr, 30 Aug 2019, Bram Moolenaar wrote:
> > >
> > > > Thanks. Yes, I think we should do this. But the allocation should
> > > > probably be done differently, it looks like with cmd_silent set it still
> > > > computes the size of the command. This will require some more "if"
> > > > statements, but makes the size computation more accurate.
> > >
> > > Well, yeah I thought this wouldn't hurt.
> > >
> > > So how about the attached patch then? It will simply use all available
> > > space in the command line. Not sure this is correct however.
> >
> > It's tricky with all the conditions. But it looks OK. All tests pass.
> > Let's include this and check that nothing goes wrong. Can we cover this
> > with a test?
>
> Apologizes, the last patch was wrong and caused a strtrunc message
> ('...')
>
> Perhaps we don't even need the added condition `|| cmd_silent` at all?
>
> Here is a fix including a test.
Thanks. The test doesn't fail without the fix though.
--
hundred-and-one symptoms of being an internet addict:
172. You join listservers just for the extra e-mail.
/// Bram Moolenaar -- Bram@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_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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/201909032024.x83KO53f022044%40masaka.moolenaar.net.
Tuesday, September 3, 2019
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment