Karsten Hopp 50da02
To: vim_dev@googlegroups.com
Karsten Hopp 50da02
Subject: Patch 7.3.305
Karsten Hopp 50da02
Fcc: outbox
Karsten Hopp 50da02
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 50da02
Mime-Version: 1.0
Karsten Hopp 50da02
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 50da02
Content-Transfer-Encoding: 8bit
Karsten Hopp 50da02
------------
Karsten Hopp 50da02
Karsten Hopp 50da02
Patch 7.3.305
Karsten Hopp 50da02
Problem:    Auto-loading a function while editing the command line causes
Karsten Hopp 50da02
	    scrolling up the display.
Karsten Hopp 50da02
Solution:   Don't set msg_scroll when defining a function and the user is not
Karsten Hopp 50da02
	    typing. (Yasuhiro Matsumoto)
Karsten Hopp 50da02
Files:	    src/eval.c
Karsten Hopp 50da02
Karsten Hopp 50da02
Karsten Hopp 50da02
*** ../vim-7.3.304/src/eval.c	2011-08-17 15:23:16.000000000 +0200
Karsten Hopp 50da02
--- src/eval.c	2011-09-14 14:28:21.000000000 +0200
Karsten Hopp 50da02
***************
Karsten Hopp 50da02
*** 20786,20792 ****
Karsten Hopp 50da02
      nesting = 0;
Karsten Hopp 50da02
      for (;;)
Karsten Hopp 50da02
      {
Karsten Hopp 50da02
! 	msg_scroll = TRUE;
Karsten Hopp 50da02
  	need_wait_return = FALSE;
Karsten Hopp 50da02
  	sourcing_lnum_off = sourcing_lnum;
Karsten Hopp 50da02
  
Karsten Hopp 50da02
--- 20786,20793 ----
Karsten Hopp 50da02
      nesting = 0;
Karsten Hopp 50da02
      for (;;)
Karsten Hopp 50da02
      {
Karsten Hopp 50da02
! 	if (KeyTyped)
Karsten Hopp 50da02
! 	    msg_scroll = TRUE;
Karsten Hopp 50da02
  	need_wait_return = FALSE;
Karsten Hopp 50da02
  	sourcing_lnum_off = sourcing_lnum;
Karsten Hopp 50da02
  
Karsten Hopp 50da02
*** ../vim-7.3.304/src/version.c	2011-09-14 10:49:44.000000000 +0200
Karsten Hopp 50da02
--- src/version.c	2011-09-14 14:30:49.000000000 +0200
Karsten Hopp 50da02
***************
Karsten Hopp 50da02
*** 711,712 ****
Karsten Hopp 50da02
--- 711,714 ----
Karsten Hopp 50da02
  {   /* Add new patch number below this line */
Karsten Hopp 50da02
+ /**/
Karsten Hopp 50da02
+     305,
Karsten Hopp 50da02
  /**/
Karsten Hopp 50da02
Karsten Hopp 50da02
-- 
Karsten Hopp 50da02
If someone questions your market projections, simply point out that your
Karsten Hopp 50da02
target market is "People who are nuts" and "People who will buy any damn
Karsten Hopp 50da02
thing".  Nobody is going to tell you there aren't enough of those people
Karsten Hopp 50da02
to go around.
Karsten Hopp 50da02
				(Scott Adams - The Dilbert principle)
Karsten Hopp 50da02
Karsten Hopp 50da02
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 50da02
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 50da02
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 50da02
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///