Karsten Hopp c34d2e
To: vim_dev@googlegroups.com
Karsten Hopp c34d2e
Subject: Patch 7.3.477
Karsten Hopp c34d2e
Fcc: outbox
Karsten Hopp c34d2e
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp c34d2e
Mime-Version: 1.0
Karsten Hopp c34d2e
Content-Type: text/plain; charset=UTF-8
Karsten Hopp c34d2e
Content-Transfer-Encoding: 8bit
Karsten Hopp c34d2e
------------
Karsten Hopp c34d2e
Karsten Hopp c34d2e
Patch 7.3.477
Karsten Hopp c34d2e
Problem:    Using ":echo" to output enough lines to scroll, then using "j" and
Karsten Hopp c34d2e
	    "k" at the more prompt, displays the command on top of the output.
Karsten Hopp c34d2e
	    (Marcin Szamotulski) 
Karsten Hopp c34d2e
Solution:   Put the output below the command. (Christian Brabandt)
Karsten Hopp c34d2e
Files:	    src/eval.c
Karsten Hopp c34d2e
Karsten Hopp c34d2e
Karsten Hopp c34d2e
*** ../vim-7.3.476/src/eval.c	2012-03-07 19:16:49.000000000 +0100
Karsten Hopp c34d2e
--- src/eval.c	2012-03-23 15:11:30.000000000 +0100
Karsten Hopp c34d2e
***************
Karsten Hopp c34d2e
*** 20492,20498 ****
Karsten Hopp c34d2e
--- 20492,20503 ----
Karsten Hopp c34d2e
  		/* Call msg_start() after eval1(), evaluating the expression
Karsten Hopp c34d2e
  		 * may cause a message to appear. */
Karsten Hopp c34d2e
  		if (eap->cmdidx == CMD_echo)
Karsten Hopp c34d2e
+ 		{
Karsten Hopp c34d2e
+ 		    /* Put the output below the command, makes scrolling back
Karsten Hopp c34d2e
+ 		     * at more prompt work. */
Karsten Hopp c34d2e
+ 		    msg_didout = TRUE;
Karsten Hopp c34d2e
  		    msg_start();
Karsten Hopp c34d2e
+ 		}
Karsten Hopp c34d2e
  	    }
Karsten Hopp c34d2e
  	    else if (eap->cmdidx == CMD_echo)
Karsten Hopp c34d2e
  		msg_puts_attr((char_u *)" ", echo_attr);
Karsten Hopp c34d2e
*** ../vim-7.3.476/src/version.c	2012-03-23 14:16:19.000000000 +0100
Karsten Hopp c34d2e
--- src/version.c	2012-03-23 15:13:58.000000000 +0100
Karsten Hopp c34d2e
***************
Karsten Hopp c34d2e
*** 716,717 ****
Karsten Hopp c34d2e
--- 716,719 ----
Karsten Hopp c34d2e
  {   /* Add new patch number below this line */
Karsten Hopp c34d2e
+ /**/
Karsten Hopp c34d2e
+     477,
Karsten Hopp c34d2e
  /**/
Karsten Hopp c34d2e
Karsten Hopp c34d2e
-- 
Karsten Hopp c34d2e
"Marriage is when a man and woman become as one; the trouble starts
Karsten Hopp c34d2e
when they try to decide which one"
Karsten Hopp c34d2e
Karsten Hopp c34d2e
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp c34d2e
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp c34d2e
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp c34d2e
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///