Karsten Hopp 675724
To: vim_dev@googlegroups.com
Karsten Hopp 675724
Subject: Patch 7.3.612
Karsten Hopp 675724
Fcc: outbox
Karsten Hopp 675724
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 675724
Mime-Version: 1.0
Karsten Hopp 675724
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 675724
Content-Transfer-Encoding: 8bit
Karsten Hopp 675724
------------
Karsten Hopp 675724
Karsten Hopp 675724
Patch 7.3.612
Karsten Hopp 675724
Problem:    Auto formatting messes up text when 'fo' contains "2". (ZyX)
Karsten Hopp 675724
Solution:   Decrement "less_cols". (Tor Perkins)
Karsten Hopp 675724
Files:	    src/misc1.c, src/testdir/test68.in, src/testdir/test68.ok
Karsten Hopp 675724
Karsten Hopp 675724
Karsten Hopp 675724
*** ../vim-7.3.611/src/misc1.c	2012-07-06 16:49:37.000000000 +0200
Karsten Hopp 675724
--- src/misc1.c	2012-07-25 16:03:58.000000000 +0200
Karsten Hopp 675724
***************
Karsten Hopp 675724
*** 1329,1334 ****
Karsten Hopp 675724
--- 1329,1335 ----
Karsten Hopp 675724
  	    for (i = 0; i < padding; i++)
Karsten Hopp 675724
  	    {
Karsten Hopp 675724
  		STRCAT(leader, " ");
Karsten Hopp 675724
+ 		less_cols--;
Karsten Hopp 675724
  		newcol++;
Karsten Hopp 675724
  	    }
Karsten Hopp 675724
  	}
Karsten Hopp 675724
*** ../vim-7.3.611/src/testdir/test68.in	2012-06-29 15:04:34.000000000 +0200
Karsten Hopp 675724
--- src/testdir/test68.in	2012-07-25 15:57:06.000000000 +0200
Karsten Hopp 675724
***************
Karsten Hopp 675724
*** 94,99 ****
Karsten Hopp 675724
--- 94,109 ----
Karsten Hopp 675724
  }
Karsten Hopp 675724
  
Karsten Hopp 675724
  STARTTEST
Karsten Hopp 675724
+ /mno pqr/
Karsten Hopp 675724
+ :setl tw=20 fo=an12wcq comments=s1:/*,mb:*,ex:*/
Karsten Hopp 675724
+ A vwx yz?
Karsten Hopp 675724
+ ENDTEST
Karsten Hopp 675724
+ 
Karsten Hopp 675724
+ /* abc def ghi jkl 
Karsten Hopp 675724
+  *    mno pqr stu
Karsten Hopp 675724
+  */
Karsten Hopp 675724
+ 
Karsten Hopp 675724
+ STARTTEST
Karsten Hopp 675724
  /^#/
Karsten Hopp 675724
  :setl tw=12 fo=tqnc comments=:#
Karsten Hopp 675724
  A foobar?
Karsten Hopp 675724
*** ../vim-7.3.611/src/testdir/test68.ok	2012-06-29 23:57:50.000000000 +0200
Karsten Hopp 675724
--- src/testdir/test68.ok	2012-07-25 16:03:05.000000000 +0200
Karsten Hopp 675724
***************
Karsten Hopp 675724
*** 57,62 ****
Karsten Hopp 675724
--- 57,68 ----
Karsten Hopp 675724
  { 1aa ^^2bb }
Karsten Hopp 675724
  
Karsten Hopp 675724
  
Karsten Hopp 675724
+ /* abc def ghi jkl 
Karsten Hopp 675724
+  *    mno pqr stu 
Karsten Hopp 675724
+  *    vwx yz
Karsten Hopp 675724
+  */
Karsten Hopp 675724
+ 
Karsten Hopp 675724
+ 
Karsten Hopp 675724
  # 1 xxxxx
Karsten Hopp 675724
  #   foobar
Karsten Hopp 675724
  
Karsten Hopp 675724
*** ../vim-7.3.611/src/version.c	2012-07-25 15:36:00.000000000 +0200
Karsten Hopp 675724
--- src/version.c	2012-07-25 16:08:02.000000000 +0200
Karsten Hopp 675724
***************
Karsten Hopp 675724
*** 716,717 ****
Karsten Hopp 675724
--- 716,719 ----
Karsten Hopp 675724
  {   /* Add new patch number below this line */
Karsten Hopp 675724
+ /**/
Karsten Hopp 675724
+     612,
Karsten Hopp 675724
  /**/
Karsten Hopp 675724
Karsten Hopp 675724
-- 
Karsten Hopp 675724
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 675724
169. You hire a housekeeper for your home page.
Karsten Hopp 675724
Karsten Hopp 675724
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 675724
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 675724
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 675724
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///