On Fri, Jan 30, 2009 at 09:14:01PM +0100, Bram Moolenaar wrote:
>
> James Vega wrote:
>
> > The print_line function in src/ex_cmds.c (which is used by :print,
> > :list, :number, :z, :s with the 'p' flag) sets the info_message variable
> > to TRUE and only sets it back to FALSE if save_silent is set. This then
> > causes msg_puts_attr_len (via wait_return) to call msg_puts_printf
> > instead of msg_puts_display -- displaying the "Press ENTER or type
> > command to continue" inline with the output of the shell instead of in
> > Vim.
> >
> > An easy example to reproduce from Vim's top-level source directory:
> >
> > vim -u NONE -N Makefile
> > :number
> > :!ls
> > :!ls
> >
> > Notice that after the first ":!ls", the "Press ENTER" message isn't
> > displayed. In the output of the second ":!ls", you see the first "Press
> > ENTER" message and the ls output is skewed to the right.
>
> Thanks.
>
> Is there something against moving "info_message = FALSE" to after the
> if {}? Matters for silent mode.No, that would work too. What matters is simply that it gets set back to FALSE in print_line. -- James GPG Key: 1024D/61326D40 2003-09-02 James Vega <[email protected]>
signature.asc
Description: Digital signature
