astepano / rpms / vim

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