Karsten Hopp 70e908
To: vim_dev@googlegroups.com
Karsten Hopp 70e908
Subject: Patch 7.4.732
Karsten Hopp 70e908
Fcc: outbox
Karsten Hopp 70e908
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 70e908
Mime-Version: 1.0
Karsten Hopp 70e908
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 70e908
Content-Transfer-Encoding: 8bit
Karsten Hopp 70e908
------------
Karsten Hopp 70e908
Karsten Hopp 70e908
Patch 7.4.732
Karsten Hopp 70e908
Problem:    The cursor line is not always updated for the "O" command.
Karsten Hopp 70e908
Solution:   Reset the VALID_CROW flag. (Christian Brabandt)
Karsten Hopp 70e908
Files:      src/normal.c
Karsten Hopp 70e908
Karsten Hopp 70e908
Karsten Hopp 70e908
*** ../vim-7.4.731/src/normal.c	2015-03-31 17:46:16.844128018 +0200
Karsten Hopp 70e908
--- src/normal.c	2015-06-09 19:18:30.394588238 +0200
Karsten Hopp 70e908
***************
Karsten Hopp 70e908
*** 8493,8498 ****
Karsten Hopp 70e908
--- 8493,8501 ----
Karsten Hopp 70e908
  	    /* When '#' is in 'cpoptions' ignore the count. */
Karsten Hopp 70e908
  	    if (vim_strchr(p_cpo, CPO_HASH) != NULL)
Karsten Hopp 70e908
  		cap->count1 = 1;
Karsten Hopp 70e908
+ 	    if (curwin->w_p_cul)
Karsten Hopp 70e908
+ 		/* force redraw of cursorline */
Karsten Hopp 70e908
+ 		curwin->w_valid &= ~VALID_CROW;
Karsten Hopp 70e908
  	    invoke_edit(cap, FALSE, cap->cmdchar, TRUE);
Karsten Hopp 70e908
  	}
Karsten Hopp 70e908
      }
Karsten Hopp 70e908
*** ../vim-7.4.731/src/version.c	2015-06-09 19:14:18.777373918 +0200
Karsten Hopp 70e908
--- src/version.c	2015-06-09 19:20:00.357591407 +0200
Karsten Hopp 70e908
***************
Karsten Hopp 70e908
*** 743,744 ****
Karsten Hopp 70e908
--- 743,746 ----
Karsten Hopp 70e908
  {   /* Add new patch number below this line */
Karsten Hopp 70e908
+ /**/
Karsten Hopp 70e908
+     732,
Karsten Hopp 70e908
  /**/
Karsten Hopp 70e908
Karsten Hopp 70e908
-- 
Karsten Hopp 70e908
From "know your smileys":
Karsten Hopp 70e908
 8-O 	"Omigod!!" (done "rm -rf *" ?)
Karsten Hopp 70e908
Karsten Hopp 70e908
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 70e908
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 70e908
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 70e908
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///