On 10/11/07, ap <[EMAIL PROTECTED]> wrote:
>
>
>
>
> On Oct 10, 10:22 pm, "Yakov Lerner" <[EMAIL PROTECTED]> wrote:
> > :help :! says:
> >                     :silent !{cmd}
> >     The screen is not redrawn then, thus you have to use
> >     CTRL-L or ":redraw!" if the command did display something.
> >
> > The last part ("if the command did display something") is not true.
> > In console vim, screen is always grabled after ':silent !CMD"
> > even if CMD did not print anything. (try ':silent !true' after ':help
> > help').
> > The correct wording would be:
> >
> >                     :silent !{cmd}
> >     The screen is not redrawn then, thus you have to use
> >     CTRL-L or ":redraw!" even if the command did not display anything.
> >
> > Yakov
>
> logic nitpicking:



I forgot to include the testcase that demonstrates
the discrepancy between the doc and the reality. Here it is:

vim -u NONE
:help help           " get some text on screen, and statuslines
:silent :true         " The screen is garbled. Now you need Ctrl-L.
                           " But command did not output anything.

Yakov

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

Raspunde prin e-mail lui