Karsten Hopp c28513
To: vim_dev@googlegroups.com
Karsten Hopp c28513
Subject: Patch 7.3.389
Karsten Hopp c28513
Fcc: outbox
Karsten Hopp c28513
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp c28513
Mime-Version: 1.0
Karsten Hopp c28513
Content-Type: text/plain; charset=UTF-8
Karsten Hopp c28513
Content-Transfer-Encoding: 8bit
Karsten Hopp c28513
------------
Karsten Hopp c28513
Karsten Hopp c28513
Patch 7.3.389
Karsten Hopp c28513
Problem:    After typing at a prompt the "MORE" message appears too soon.
Karsten Hopp c28513
Solution:   reset lines_left in msg_end_prompt(). (Eswald)
Karsten Hopp c28513
Files:	    src/message.c
Karsten Hopp c28513
Karsten Hopp c28513
Karsten Hopp c28513
*** ../vim-7.3.388/src/message.c	2011-09-14 15:39:26.000000000 +0200
Karsten Hopp c28513
--- src/message.c	2011-12-30 14:08:05.000000000 +0100
Karsten Hopp c28513
***************
Karsten Hopp c28513
*** 85,91 ****
Karsten Hopp c28513
   *		    need_wait_return to be set.  This is a hack to make ":ts"
Karsten Hopp c28513
   *		    work without an extra prompt.
Karsten Hopp c28513
   * lines_left	    Number of lines available for messages before the
Karsten Hopp c28513
!  *		    more-prompt is to be given.
Karsten Hopp c28513
   * need_wait_return TRUE when the hit-return prompt is needed.
Karsten Hopp c28513
   *		    Reset: After giving the hit-return prompt, when the user
Karsten Hopp c28513
   *		    has answered some other prompt.
Karsten Hopp c28513
--- 85,91 ----
Karsten Hopp c28513
   *		    need_wait_return to be set.  This is a hack to make ":ts"
Karsten Hopp c28513
   *		    work without an extra prompt.
Karsten Hopp c28513
   * lines_left	    Number of lines available for messages before the
Karsten Hopp c28513
!  *		    more-prompt is to be given.  -1 when not set.
Karsten Hopp c28513
   * need_wait_return TRUE when the hit-return prompt is needed.
Karsten Hopp c28513
   *		    Reset: After giving the hit-return prompt, when the user
Karsten Hopp c28513
   *		    has answered some other prompt.
Karsten Hopp c28513
***************
Karsten Hopp c28513
*** 855,860 ****
Karsten Hopp c28513
--- 855,861 ----
Karsten Hopp c28513
      cmdline_row = msg_row;
Karsten Hopp c28513
      msg_col = 0;
Karsten Hopp c28513
      msg_clr_eos();
Karsten Hopp c28513
+     lines_left = -1;
Karsten Hopp c28513
  }
Karsten Hopp c28513
  #endif
Karsten Hopp c28513
  
Karsten Hopp c28513
*** ../vim-7.3.388/src/version.c	2011-12-30 13:39:04.000000000 +0100
Karsten Hopp c28513
--- src/version.c	2011-12-30 14:11:00.000000000 +0100
Karsten Hopp c28513
***************
Karsten Hopp c28513
*** 716,717 ****
Karsten Hopp c28513
--- 716,719 ----
Karsten Hopp c28513
  {   /* Add new patch number below this line */
Karsten Hopp c28513
+ /**/
Karsten Hopp c28513
+     389,
Karsten Hopp c28513
  /**/
Karsten Hopp c28513
Karsten Hopp c28513
-- 
Karsten Hopp c28513
Proofread carefully to see if you any words out.
Karsten Hopp c28513
Karsten Hopp c28513
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp c28513
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp c28513
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp c28513
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///