Karsten Hopp d6a9fe
To: vim-dev@vim.org
Karsten Hopp d6a9fe
Subject: patch 7.0.211
Karsten Hopp d6a9fe
Fcc: outbox
Karsten Hopp d6a9fe
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp d6a9fe
Mime-Version: 1.0
Karsten Hopp d6a9fe
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp d6a9fe
Content-Transfer-Encoding: 8bit
Karsten Hopp d6a9fe
------------
Karsten Hopp d6a9fe
Karsten Hopp d6a9fe
Patch 7.0.211
Karsten Hopp d6a9fe
Problem:    With ":set cindent noai bs=0" using CTRL-U in Insert mode will 
Karsten Hopp d6a9fe
            delete auto-indent.  After ":set ai" it doesn't.
Karsten Hopp d6a9fe
Solution:   Also check 'cindent' being set. (Ryan Lortie)
Karsten Hopp d6a9fe
Files:      src/edit.c
Karsten Hopp d6a9fe
Karsten Hopp d6a9fe
Karsten Hopp d6a9fe
*** ../vim-7.0.210/src/edit.c	Tue Feb 20 03:52:04 2007
Karsten Hopp d6a9fe
--- src/edit.c	Thu Mar  8 13:10:42 2007
Karsten Hopp d6a9fe
***************
Karsten Hopp d6a9fe
*** 8250,8256 ****
Karsten Hopp d6a9fe
  #endif
Karsten Hopp d6a9fe
  	mincol = 0;
Karsten Hopp d6a9fe
  						/* keep indent */
Karsten Hopp d6a9fe
! 	if (mode == BACKSPACE_LINE && curbuf->b_p_ai
Karsten Hopp d6a9fe
  #ifdef FEAT_RIGHTLEFT
Karsten Hopp d6a9fe
  		&& !revins_on
Karsten Hopp d6a9fe
  #endif
Karsten Hopp d6a9fe
--- 8250,8261 ----
Karsten Hopp d6a9fe
  #endif
Karsten Hopp d6a9fe
  	mincol = 0;
Karsten Hopp d6a9fe
  						/* keep indent */
Karsten Hopp d6a9fe
! 	if (mode == BACKSPACE_LINE
Karsten Hopp d6a9fe
! 		&& (curbuf->b_p_ai
Karsten Hopp d6a9fe
! #ifdef FEAT_CINDENT
Karsten Hopp d6a9fe
!                     || cindent_on()
Karsten Hopp d6a9fe
! #endif
Karsten Hopp d6a9fe
! 		   )
Karsten Hopp d6a9fe
  #ifdef FEAT_RIGHTLEFT
Karsten Hopp d6a9fe
  		&& !revins_on
Karsten Hopp d6a9fe
  #endif
Karsten Hopp d6a9fe
*** ../vim-7.0.210/src/version.c	Thu Mar  8 11:05:32 2007
Karsten Hopp d6a9fe
--- src/version.c	Thu Mar  8 13:14:13 2007
Karsten Hopp d6a9fe
***************
Karsten Hopp d6a9fe
*** 668,669 ****
Karsten Hopp d6a9fe
--- 668,671 ----
Karsten Hopp d6a9fe
  {   /* Add new patch number below this line */
Karsten Hopp d6a9fe
+ /**/
Karsten Hopp d6a9fe
+     211,
Karsten Hopp d6a9fe
  /**/
Karsten Hopp d6a9fe
Karsten Hopp d6a9fe
-- 
Karsten Hopp d6a9fe
Microsoft: "Windows NT 4.0 now has the same user-interface as Windows 95"
Karsten Hopp d6a9fe
    Windows 95: "Press CTRL-ALT-DEL to reboot"
Karsten Hopp d6a9fe
Windows NT 4.0: "Press CTRL-ALT-DEL to login"
Karsten Hopp d6a9fe
Karsten Hopp d6a9fe
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp d6a9fe
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp d6a9fe
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp d6a9fe
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///