Karsten Hopp 44289b
To: vim_dev@googlegroups.com
Karsten Hopp 44289b
Subject: Patch 7.3.543
Karsten Hopp 44289b
Fcc: outbox
Karsten Hopp 44289b
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 44289b
Mime-Version: 1.0
Karsten Hopp 44289b
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 44289b
Content-Transfer-Encoding: 8bit
Karsten Hopp 44289b
------------
Karsten Hopp 44289b
Karsten Hopp 44289b
Patch 7.3.543
Karsten Hopp 44289b
Problem:    The cursor is in the wrong line after using ":copen". (John
Karsten Hopp 44289b
	    Beckett)
Karsten Hopp 44289b
Solution:   Invoke more drastic redraw method.
Karsten Hopp 44289b
Files:	    src/eval.c
Karsten Hopp 44289b
Karsten Hopp 44289b
Karsten Hopp 44289b
*** ../vim-7.3.542/src/eval.c	2012-06-01 15:20:49.000000000 +0200
Karsten Hopp 44289b
--- src/eval.c	2012-06-06 16:28:11.000000000 +0200
Karsten Hopp 44289b
***************
Karsten Hopp 44289b
*** 18507,18515 ****
Karsten Hopp 44289b
  	curwin->w_skipcol = get_dict_number(dict, (char_u *)"skipcol");
Karsten Hopp 44289b
  
Karsten Hopp 44289b
  	check_cursor();
Karsten Hopp 44289b
! 	changed_cline_bef_curs();
Karsten Hopp 44289b
! 	invalidate_botline();
Karsten Hopp 44289b
! 	redraw_later(VALID);
Karsten Hopp 44289b
  
Karsten Hopp 44289b
  	if (curwin->w_topline == 0)
Karsten Hopp 44289b
  	    curwin->w_topline = 1;
Karsten Hopp 44289b
--- 18507,18513 ----
Karsten Hopp 44289b
  	curwin->w_skipcol = get_dict_number(dict, (char_u *)"skipcol");
Karsten Hopp 44289b
  
Karsten Hopp 44289b
  	check_cursor();
Karsten Hopp 44289b
! 	changed_window_setting();
Karsten Hopp 44289b
  
Karsten Hopp 44289b
  	if (curwin->w_topline == 0)
Karsten Hopp 44289b
  	    curwin->w_topline = 1;
Karsten Hopp 44289b
*** ../vim-7.3.542/src/version.c	2012-06-06 16:14:36.000000000 +0200
Karsten Hopp 44289b
--- src/version.c	2012-06-06 16:28:16.000000000 +0200
Karsten Hopp 44289b
***************
Karsten Hopp 44289b
*** 716,717 ****
Karsten Hopp 44289b
--- 716,719 ----
Karsten Hopp 44289b
  {   /* Add new patch number below this line */
Karsten Hopp 44289b
+ /**/
Karsten Hopp 44289b
+     543,
Karsten Hopp 44289b
  /**/
Karsten Hopp 44289b
Karsten Hopp 44289b
-- 
Karsten Hopp 44289b
How To Keep A Healthy Level Of Insanity:
Karsten Hopp 44289b
2. Page yourself over the intercom. Don't disguise your voice.
Karsten Hopp 44289b
Karsten Hopp 44289b
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 44289b
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 44289b
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 44289b
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///