Karsten Hopp a4e36d
To: vim-dev@vim.org
Karsten Hopp a4e36d
Subject: Patch 7.2.285
Karsten Hopp a4e36d
Fcc: outbox
Karsten Hopp a4e36d
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp a4e36d
Mime-Version: 1.0
Karsten Hopp a4e36d
Content-Type: text/plain; charset=UTF-8
Karsten Hopp a4e36d
Content-Transfer-Encoding: 8bit
Karsten Hopp a4e36d
------------
Karsten Hopp a4e36d
Karsten Hopp a4e36d
Patch 7.2.285 (after 7.2.169)
Karsten Hopp a4e36d
Problem:    CTRL-U in Insert mode also deletes indent. (Andrey Voropaev)
Karsten Hopp a4e36d
Solution:   Fix mistake made in patch 7.2.169.
Karsten Hopp a4e36d
Files:	    src/edit.c
Karsten Hopp a4e36d
Karsten Hopp a4e36d
Karsten Hopp a4e36d
*** ../vim-7.2.284/src/edit.c	2009-07-09 18:15:19.000000000 +0200
Karsten Hopp a4e36d
--- src/edit.c	2009-11-05 20:25:15.000000000 +0100
Karsten Hopp a4e36d
***************
Karsten Hopp a4e36d
*** 8519,8525 ****
Karsten Hopp a4e36d
  	{
Karsten Hopp a4e36d
  	    save_col = curwin->w_cursor.col;
Karsten Hopp a4e36d
  	    beginline(BL_WHITE);
Karsten Hopp a4e36d
! 	    if (curwin->w_cursor.col < (colnr_T)temp)
Karsten Hopp a4e36d
  		mincol = curwin->w_cursor.col;
Karsten Hopp a4e36d
  	    curwin->w_cursor.col = save_col;
Karsten Hopp a4e36d
  	}
Karsten Hopp a4e36d
--- 8519,8525 ----
Karsten Hopp a4e36d
  	{
Karsten Hopp a4e36d
  	    save_col = curwin->w_cursor.col;
Karsten Hopp a4e36d
  	    beginline(BL_WHITE);
Karsten Hopp a4e36d
! 	    if (curwin->w_cursor.col < save_col)
Karsten Hopp a4e36d
  		mincol = curwin->w_cursor.col;
Karsten Hopp a4e36d
  	    curwin->w_cursor.col = save_col;
Karsten Hopp a4e36d
  	}
Karsten Hopp a4e36d
*** ../vim-7.2.284/src/version.c	2009-11-03 18:46:53.000000000 +0100
Karsten Hopp a4e36d
--- src/version.c	2009-11-11 13:21:25.000000000 +0100
Karsten Hopp a4e36d
***************
Karsten Hopp a4e36d
*** 678,679 ****
Karsten Hopp a4e36d
--- 683,686 ----
Karsten Hopp a4e36d
  {   /* Add new patch number below this line */
Karsten Hopp a4e36d
+ /**/
Karsten Hopp a4e36d
+     285,
Karsten Hopp a4e36d
  /**/
Karsten Hopp a4e36d
Karsten Hopp a4e36d
-- 
Karsten Hopp a4e36d
(letter from Mark to Mike, about the film's probable certificate)
Karsten Hopp a4e36d
      I would like to get back to the Censor and agree to lose the shits, take
Karsten Hopp a4e36d
      the odd Jesus Christ out and lose Oh fuck off, but to retain 'fart in
Karsten Hopp a4e36d
      your general direction', 'castanets of your testicles' and 'oral sex'
Karsten Hopp a4e36d
      and ask him for an 'A' rating on that basis.
Karsten Hopp a4e36d
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp a4e36d
Karsten Hopp a4e36d
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp a4e36d
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp a4e36d
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp a4e36d
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///