Michael Henry wrote:

> It appears that the output from :echo and :echomsg does not
> show up properly when used from the Command-line window
> while a QuickFix window is open.
> 
> Steps to reproduce:
> 
> - Startup Vim clean:
> 
>     vim -u NONE -N
> 
> - Test regular :echo command:
> 
>     :echo "Hello"<CR>
>  
>   This works properly.
> 
> - Open command-line window:
> 
>     q:
> 
> - Cursor up to :echo "Hello", press Enter to execute.
> 
>   This works properly.
> 
> - Open the QuickFix window:
> 
>     :copen<CR>
> 
> - Re-open the Command-line window:
> 
>     q:
> 
> - Cursor up to :echo "Hello", press Enter to execute.
> 
>   The expected output ("Hello") does not show up (or perhaps
>   more likely, shows up but is subsequently erased, as my
>   testing with :redir shows that "Hello" is actually written).

If you use:
        :echo "hello\nthere"

You get the hit-enter prompt before redrawing te display.  So it's
indeed that closing the command-line window causes a redraw and that
clears the message.

Forcing the hit-enter prompt would be a solution, but at the same time
may annoy quite a few users.

I'll make a remark in the todo list if it's possible to redraw without
erasing the message.  Don't expect this soon though.

-- 
hundred-and-one symptoms of being an internet addict:
162. You go outside and look for a brightness knob to turn down the sun.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

Raspunde prin e-mail lui