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