> do you mean:
>     :silent call s:foo()

":silent s:foo()" works on my environment.
and that causes hidden command line.
I tested

- Vim 7.2 included patches 1-264
- 7.0 included patches 1, 3-4, 7-9, 11, 13-17, 19-26, 29-31, 34-44,
47, 50-56, 58-64, 66-73, 75, 77-92, 94-107, 109, 202, 234-235, 237

but that happens only in Vim 7.2.


On Sep 30, 1:51 am, Andy Wokula <[email protected]> wrote:
> dr-dr xp schrieb:
>
> > ----- code -----
> > func! s:foo()
> >    throw 'exception'
> > endfunc
>
> > func! Foo()
> >    try
> >        silent s:foo()
>
> do you mean:
>     :silent call s:foo()
>
> >    catch
> >        " nop.
> >    endtry
> > endfunc
> > ----- code -----
>
> > ":call Foo()" makes Vim stay 'silent mode'
>
> > After this, :some_command can work fine, but nothing shown in command-line
> > as typing.
> > This bug occurs in this version:
> >http://sourceforge.net/projects/cream/files/Vim/7.2.259/gvim-7-2-259....
>
> nothing unusual here (gVim 7.2.218) ...
>
> --
> Andy

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui