Karsten Hopp d62601
To: vim_dev@googlegroups.com
Karsten Hopp d62601
Subject: Patch 7.3.629
Karsten Hopp d62601
Fcc: outbox
Karsten Hopp d62601
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp d62601
Mime-Version: 1.0
Karsten Hopp d62601
Content-Type: text/plain; charset=UTF-8
Karsten Hopp d62601
Content-Transfer-Encoding: 8bit
Karsten Hopp d62601
------------
Karsten Hopp d62601
Karsten Hopp d62601
Patch 7.3.629
Karsten Hopp d62601
Problem:    There is no way to make 'shiftwidth' follow 'tabstop'.
Karsten Hopp d62601
Solution:   When 'shiftwidth' is zero use the value of 'tabstop'. (Christian
Karsten Hopp d62601
	    Brabandt)
Karsten Hopp d62601
Files:	    src/edit.c, src/ex_getln.c, src/fold.c, src/misc1.c, src/ops.c,
Karsten Hopp d62601
	    src/option.c, src/proto/option.pro
Karsten Hopp d62601
Karsten Hopp d62601
Karsten Hopp d62601
*** ../vim-7.3.628/src/edit.c	2012-07-25 16:46:59.000000000 +0200
Karsten Hopp d62601
--- src/edit.c	2012-08-08 17:55:37.000000000 +0200
Karsten Hopp d62601
***************
Karsten Hopp d62601
*** 8899,8907 ****
Karsten Hopp d62601
  
Karsten Hopp d62601
  	    *inserted_space_p = FALSE;
Karsten Hopp d62601
  	    if (p_sta && in_indent)
Karsten Hopp d62601
! 		ts = curbuf->b_p_sw;
Karsten Hopp d62601
  	    else
Karsten Hopp d62601
! 		ts = curbuf->b_p_sts;
Karsten Hopp d62601
  	    /* Compute the virtual column where we want to be.  Since
Karsten Hopp d62601
  	     * 'showbreak' may get in the way, need to get the last column of
Karsten Hopp d62601
  	     * the previous character. */
Karsten Hopp d62601
--- 8899,8907 ----
Karsten Hopp d62601
  
Karsten Hopp d62601
  	    *inserted_space_p = FALSE;
Karsten Hopp d62601
  	    if (p_sta && in_indent)
Karsten Hopp d62601
! 		ts = (int)get_sw_value();
Karsten Hopp d62601
  	    else
Karsten Hopp d62601
! 		ts = (int)curbuf->b_p_sts;
Karsten Hopp d62601
  	    /* Compute the virtual column where we want to be.  Since
Karsten Hopp d62601
  	     * 'showbreak' may get in the way, need to get the last column of
Karsten Hopp d62601
  	     * the previous character. */
Karsten Hopp d62601
***************
Karsten Hopp d62601
*** 9589,9595 ****
Karsten Hopp d62601
       * When nothing special, insert TAB like a normal character
Karsten Hopp d62601
       */
Karsten Hopp d62601
      if (!curbuf->b_p_et
Karsten Hopp d62601
! 	    && !(p_sta && ind && curbuf->b_p_ts != curbuf->b_p_sw)
Karsten Hopp d62601
  	    && curbuf->b_p_sts == 0)
Karsten Hopp d62601
  	return TRUE;
Karsten Hopp d62601
  
Karsten Hopp d62601
--- 9589,9595 ----
Karsten Hopp d62601
       * When nothing special, insert TAB like a normal character
Karsten Hopp d62601
       */
Karsten Hopp d62601
      if (!curbuf->b_p_et
Karsten Hopp d62601
! 	    && !(p_sta && ind && curbuf->b_p_ts != get_sw_value())
Karsten Hopp d62601
  	    && curbuf->b_p_sts == 0)
Karsten Hopp d62601
  	return TRUE;
Karsten Hopp d62601
  
Karsten Hopp d62601
***************
Karsten Hopp d62601
*** 9605,9611 ****
Karsten Hopp d62601
      AppendToRedobuff((char_u *)"\t");
Karsten Hopp d62601
  
Karsten Hopp d62601
      if (p_sta && ind)		/* insert tab in indent, use 'shiftwidth' */
Karsten Hopp d62601
! 	temp = (int)curbuf->b_p_sw;
Karsten Hopp d62601
      else if (curbuf->b_p_sts > 0) /* use 'softtabstop' when set */
Karsten Hopp d62601
  	temp = (int)curbuf->b_p_sts;
Karsten Hopp d62601
      else			/* otherwise use 'tabstop' */
Karsten Hopp d62601
--- 9605,9611 ----
Karsten Hopp d62601
      AppendToRedobuff((char_u *)"\t");
Karsten Hopp d62601
  
Karsten Hopp d62601
      if (p_sta && ind)		/* insert tab in indent, use 'shiftwidth' */
Karsten Hopp d62601
! 	temp = (int)get_sw_value();
Karsten Hopp d62601
      else if (curbuf->b_p_sts > 0) /* use 'softtabstop' when set */
Karsten Hopp d62601
  	temp = (int)curbuf->b_p_sts;
Karsten Hopp d62601
      else			/* otherwise use 'tabstop' */
Karsten Hopp d62601
*** ../vim-7.3.628/src/ex_getln.c	2012-06-29 13:44:37.000000000 +0200
Karsten Hopp d62601
--- src/ex_getln.c	2012-08-08 17:39:40.000000000 +0200
Karsten Hopp d62601
***************
Karsten Hopp d62601
*** 2268,2277 ****
Karsten Hopp d62601
  
Karsten Hopp d62601
  	    if (c1 == Ctrl_T)
Karsten Hopp d62601
  	    {
Karsten Hopp d62601
  		p = (char_u *)line_ga.ga_data;
Karsten Hopp d62601
  		p[line_ga.ga_len] = NUL;
Karsten Hopp d62601
  		indent = get_indent_str(p, 8);
Karsten Hopp d62601
! 		indent += curbuf->b_p_sw - indent % curbuf->b_p_sw;
Karsten Hopp d62601
  add_indent:
Karsten Hopp d62601
  		while (get_indent_str(p, 8) < indent)
Karsten Hopp d62601
  		{
Karsten Hopp d62601
--- 2268,2279 ----
Karsten Hopp d62601
  
Karsten Hopp d62601
  	    if (c1 == Ctrl_T)
Karsten Hopp d62601
  	    {
Karsten Hopp d62601
+ 		long        sw = get_sw_value();
Karsten Hopp d62601
+ 
Karsten Hopp d62601
  		p = (char_u *)line_ga.ga_data;
Karsten Hopp d62601
  		p[line_ga.ga_len] = NUL;
Karsten Hopp d62601
  		indent = get_indent_str(p, 8);
Karsten Hopp d62601
! 		indent += sw - indent % sw;
Karsten Hopp d62601
  add_indent:
Karsten Hopp d62601
  		while (get_indent_str(p, 8) < indent)
Karsten Hopp d62601
  		{
Karsten Hopp d62601
***************
Karsten Hopp d62601
*** 2323,2329 ****
Karsten Hopp d62601
  		    p[line_ga.ga_len] = NUL;
Karsten Hopp d62601
  		    indent = get_indent_str(p, 8);
Karsten Hopp d62601
  		    --indent;
Karsten Hopp d62601
! 		    indent -= indent % curbuf->b_p_sw;
Karsten Hopp d62601
  		}
Karsten Hopp d62601
  		while (get_indent_str(p, 8) > indent)
Karsten Hopp d62601
  		{
Karsten Hopp d62601
--- 2325,2331 ----
Karsten Hopp d62601
  		    p[line_ga.ga_len] = NUL;
Karsten Hopp d62601
  		    indent = get_indent_str(p, 8);
Karsten Hopp d62601
  		    --indent;
Karsten Hopp d62601
! 		    indent -= indent % get_sw_value();
Karsten Hopp d62601
  		}
Karsten Hopp d62601
  		while (get_indent_str(p, 8) > indent)
Karsten Hopp d62601
  		{
Karsten Hopp d62601
*** ../vim-7.3.628/src/fold.c	2012-02-29 19:19:57.000000000 +0100
Karsten Hopp d62601
--- src/fold.c	2012-08-08 17:40:11.000000000 +0200
Karsten Hopp d62601
***************
Karsten Hopp d62601
*** 3025,3031 ****
Karsten Hopp d62601
  	    flp->lvl = -1;
Karsten Hopp d62601
      }
Karsten Hopp d62601
      else
Karsten Hopp d62601
! 	flp->lvl = get_indent_buf(buf, lnum) / buf->b_p_sw;
Karsten Hopp d62601
      if (flp->lvl > flp->wp->w_p_fdn)
Karsten Hopp d62601
      {
Karsten Hopp d62601
  	flp->lvl = flp->wp->w_p_fdn;
Karsten Hopp d62601
--- 3025,3031 ----
Karsten Hopp d62601
  	    flp->lvl = -1;
Karsten Hopp d62601
      }
Karsten Hopp d62601
      else
Karsten Hopp d62601
! 	flp->lvl = get_indent_buf(buf, lnum) / get_sw_value();
Karsten Hopp d62601
      if (flp->lvl > flp->wp->w_p_fdn)
Karsten Hopp d62601
      {
Karsten Hopp d62601
  	flp->lvl = flp->wp->w_p_fdn;
Karsten Hopp d62601
*** ../vim-7.3.628/src/misc1.c	2012-07-25 16:09:59.000000000 +0200
Karsten Hopp d62601
--- src/misc1.c	2012-08-08 17:43:07.000000000 +0200
Karsten Hopp d62601
***************
Karsten Hopp d62601
*** 1389,1397 ****
Karsten Hopp d62601
  #ifdef FEAT_SMARTINDENT
Karsten Hopp d62601
  	if (did_si)
Karsten Hopp d62601
  	{
Karsten Hopp d62601
  	    if (p_sr)
Karsten Hopp d62601
! 		newindent -= newindent % (int)curbuf->b_p_sw;
Karsten Hopp d62601
! 	    newindent += (int)curbuf->b_p_sw;
Karsten Hopp d62601
  	}
Karsten Hopp d62601
  #endif
Karsten Hopp d62601
  	/* Copy the indent */
Karsten Hopp d62601
--- 1389,1399 ----
Karsten Hopp d62601
  #ifdef FEAT_SMARTINDENT
Karsten Hopp d62601
  	if (did_si)
Karsten Hopp d62601
  	{
Karsten Hopp d62601
+ 	    int        sw = (int)get_sw_value();
Karsten Hopp d62601
+ 
Karsten Hopp d62601
  	    if (p_sr)
Karsten Hopp d62601
! 		newindent -= newindent % sw;
Karsten Hopp d62601
! 	    newindent += sw;
Karsten Hopp d62601
  	}
Karsten Hopp d62601
  #endif
Karsten Hopp d62601
  	/* Copy the indent */
Karsten Hopp d62601
***************
Karsten Hopp d62601
*** 6461,6471 ****
Karsten Hopp d62601
      int
Karsten Hopp d62601
  get_c_indent()
Karsten Hopp d62601
  {
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * spaces from a block's opening brace the prevailing indent for that
Karsten Hopp d62601
       * block should be
Karsten Hopp d62601
       */
Karsten Hopp d62601
!     int ind_level = curbuf->b_p_sw;
Karsten Hopp d62601
  
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * spaces from the edge of the line an open brace that's at the end of a
Karsten Hopp d62601
--- 6463,6476 ----
Karsten Hopp d62601
      int
Karsten Hopp d62601
  get_c_indent()
Karsten Hopp d62601
  {
Karsten Hopp d62601
+     int sw = (int)get_sw_value();
Karsten Hopp d62601
+ 
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * spaces from a block's opening brace the prevailing indent for that
Karsten Hopp d62601
       * block should be
Karsten Hopp d62601
       */
Karsten Hopp d62601
! 
Karsten Hopp d62601
!     int ind_level = sw;
Karsten Hopp d62601
  
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * spaces from the edge of the line an open brace that's at the end of a
Karsten Hopp d62601
***************
Karsten Hopp d62601
*** 6512,6523 ****
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * spaces from the switch() indent a "case xx" label should be located
Karsten Hopp d62601
       */
Karsten Hopp d62601
!     int ind_case = curbuf->b_p_sw;
Karsten Hopp d62601
  
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * spaces from the "case xx:" code after a switch() should be located
Karsten Hopp d62601
       */
Karsten Hopp d62601
!     int ind_case_code = curbuf->b_p_sw;
Karsten Hopp d62601
  
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * lineup break at end of case in switch() with case label
Karsten Hopp d62601
--- 6517,6528 ----
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * spaces from the switch() indent a "case xx" label should be located
Karsten Hopp d62601
       */
Karsten Hopp d62601
!     int ind_case = sw;
Karsten Hopp d62601
  
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * spaces from the "case xx:" code after a switch() should be located
Karsten Hopp d62601
       */
Karsten Hopp d62601
!     int ind_case_code = sw;
Karsten Hopp d62601
  
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * lineup break at end of case in switch() with case label
Karsten Hopp d62601
***************
Karsten Hopp d62601
*** 6528,6572 ****
Karsten Hopp d62601
       * spaces from the class declaration indent a scope declaration label
Karsten Hopp d62601
       * should be located
Karsten Hopp d62601
       */
Karsten Hopp d62601
!     int ind_scopedecl = curbuf->b_p_sw;
Karsten Hopp d62601
  
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * spaces from the scope declaration label code should be located
Karsten Hopp d62601
       */
Karsten Hopp d62601
!     int ind_scopedecl_code = curbuf->b_p_sw;
Karsten Hopp d62601
  
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * amount K&R-style parameters should be indented
Karsten Hopp d62601
       */
Karsten Hopp d62601
!     int ind_param = curbuf->b_p_sw;
Karsten Hopp d62601
  
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * amount a function type spec should be indented
Karsten Hopp d62601
       */
Karsten Hopp d62601
!     int ind_func_type = curbuf->b_p_sw;
Karsten Hopp d62601
  
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * amount a cpp base class declaration or constructor initialization
Karsten Hopp d62601
       * should be indented
Karsten Hopp d62601
       */
Karsten Hopp d62601
!     int ind_cpp_baseclass = curbuf->b_p_sw;
Karsten Hopp d62601
  
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * additional spaces beyond the prevailing indent a continuation line
Karsten Hopp d62601
       * should be located
Karsten Hopp d62601
       */
Karsten Hopp d62601
!     int ind_continuation = curbuf->b_p_sw;
Karsten Hopp d62601
  
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * spaces from the indent of the line with an unclosed parentheses
Karsten Hopp d62601
       */
Karsten Hopp d62601
!     int ind_unclosed = curbuf->b_p_sw * 2;
Karsten Hopp d62601
  
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * spaces from the indent of the line with an unclosed parentheses, which
Karsten Hopp d62601
       * itself is also unclosed
Karsten Hopp d62601
       */
Karsten Hopp d62601
!     int ind_unclosed2 = curbuf->b_p_sw;
Karsten Hopp d62601
  
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * suppress ignoring spaces from the indent of a line starting with an
Karsten Hopp d62601
--- 6533,6577 ----
Karsten Hopp d62601
       * spaces from the class declaration indent a scope declaration label
Karsten Hopp d62601
       * should be located
Karsten Hopp d62601
       */
Karsten Hopp d62601
!     int ind_scopedecl = sw;
Karsten Hopp d62601
  
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * spaces from the scope declaration label code should be located
Karsten Hopp d62601
       */
Karsten Hopp d62601
!     int ind_scopedecl_code = sw;
Karsten Hopp d62601
  
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * amount K&R-style parameters should be indented
Karsten Hopp d62601
       */
Karsten Hopp d62601
!     int ind_param = sw;
Karsten Hopp d62601
  
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * amount a function type spec should be indented
Karsten Hopp d62601
       */
Karsten Hopp d62601
!     int ind_func_type = sw;
Karsten Hopp d62601
  
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * amount a cpp base class declaration or constructor initialization
Karsten Hopp d62601
       * should be indented
Karsten Hopp d62601
       */
Karsten Hopp d62601
!     int ind_cpp_baseclass = sw;
Karsten Hopp d62601
  
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * additional spaces beyond the prevailing indent a continuation line
Karsten Hopp d62601
       * should be located
Karsten Hopp d62601
       */
Karsten Hopp d62601
!     int ind_continuation = sw;
Karsten Hopp d62601
  
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * spaces from the indent of the line with an unclosed parentheses
Karsten Hopp d62601
       */
Karsten Hopp d62601
!     int ind_unclosed = sw * 2;
Karsten Hopp d62601
  
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * spaces from the indent of the line with an unclosed parentheses, which
Karsten Hopp d62601
       * itself is also unclosed
Karsten Hopp d62601
       */
Karsten Hopp d62601
!     int ind_unclosed2 = sw;
Karsten Hopp d62601
  
Karsten Hopp d62601
      /*
Karsten Hopp d62601
       * suppress ignoring spaces from the indent of a line starting with an
Karsten Hopp d62601
***************
Karsten Hopp d62601
*** 6719,6730 ****
Karsten Hopp d62601
  	if (*options == 's')	    /* "2s" means two times 'shiftwidth' */
Karsten Hopp d62601
  	{
Karsten Hopp d62601
  	    if (options == digits)
Karsten Hopp d62601
! 		n = curbuf->b_p_sw;	/* just "s" is one 'shiftwidth' */
Karsten Hopp d62601
  	    else
Karsten Hopp d62601
  	    {
Karsten Hopp d62601
! 		n *= curbuf->b_p_sw;
Karsten Hopp d62601
  		if (divider)
Karsten Hopp d62601
! 		    n += (curbuf->b_p_sw * fraction + divider / 2) / divider;
Karsten Hopp d62601
  	    }
Karsten Hopp d62601
  	    ++options;
Karsten Hopp d62601
  	}
Karsten Hopp d62601
--- 6724,6735 ----
Karsten Hopp d62601
  	if (*options == 's')	    /* "2s" means two times 'shiftwidth' */
Karsten Hopp d62601
  	{
Karsten Hopp d62601
  	    if (options == digits)
Karsten Hopp d62601
! 		n = sw;	/* just "s" is one 'shiftwidth' */
Karsten Hopp d62601
  	    else
Karsten Hopp d62601
  	    {
Karsten Hopp d62601
! 		n *= sw;
Karsten Hopp d62601
  		if (divider)
Karsten Hopp d62601
! 		    n += (sw * fraction + divider / 2) / divider;
Karsten Hopp d62601
  	    }
Karsten Hopp d62601
  	    ++options;
Karsten Hopp d62601
  	}
Karsten Hopp d62601
*** ../vim-7.3.628/src/ops.c	2012-07-10 16:49:08.000000000 +0200
Karsten Hopp d62601
--- src/ops.c	2012-08-08 17:34:28.000000000 +0200
Karsten Hopp d62601
***************
Karsten Hopp d62601
*** 332,338 ****
Karsten Hopp d62601
  {
Karsten Hopp d62601
      int		count;
Karsten Hopp d62601
      int		i, j;
Karsten Hopp d62601
!     int		p_sw = (int)curbuf->b_p_sw;
Karsten Hopp d62601
  
Karsten Hopp d62601
      count = get_indent();	/* get current indent */
Karsten Hopp d62601
  
Karsten Hopp d62601
--- 332,338 ----
Karsten Hopp d62601
  {
Karsten Hopp d62601
      int		count;
Karsten Hopp d62601
      int		i, j;
Karsten Hopp d62601
!     int		p_sw = (int)get_sw_value();
Karsten Hopp d62601
  
Karsten Hopp d62601
      count = get_indent();	/* get current indent */
Karsten Hopp d62601
  
Karsten Hopp d62601
***************
Karsten Hopp d62601
*** 388,394 ****
Karsten Hopp d62601
      int			total;
Karsten Hopp d62601
      char_u		*newp, *oldp;
Karsten Hopp d62601
      int			oldcol = curwin->w_cursor.col;
Karsten Hopp d62601
!     int			p_sw = (int)curbuf->b_p_sw;
Karsten Hopp d62601
      int			p_ts = (int)curbuf->b_p_ts;
Karsten Hopp d62601
      struct block_def	bd;
Karsten Hopp d62601
      int			incr;
Karsten Hopp d62601
--- 388,394 ----
Karsten Hopp d62601
      int			total;
Karsten Hopp d62601
      char_u		*newp, *oldp;
Karsten Hopp d62601
      int			oldcol = curwin->w_cursor.col;
Karsten Hopp d62601
!     int			p_sw = (int)get_sw_value();
Karsten Hopp d62601
      int			p_ts = (int)curbuf->b_p_ts;
Karsten Hopp d62601
      struct block_def	bd;
Karsten Hopp d62601
      int			incr;
Karsten Hopp d62601
*** ../vim-7.3.628/src/option.c	2012-07-10 18:31:49.000000000 +0200
Karsten Hopp d62601
--- src/option.c	2012-08-08 17:45:01.000000000 +0200
Karsten Hopp d62601
***************
Karsten Hopp d62601
*** 8125,8131 ****
Karsten Hopp d62601
      need_mouse_correct = TRUE;
Karsten Hopp d62601
  #endif
Karsten Hopp d62601
  
Karsten Hopp d62601
!     if (curbuf->b_p_sw <= 0)
Karsten Hopp d62601
      {
Karsten Hopp d62601
  	errmsg = e_positive;
Karsten Hopp d62601
  	curbuf->b_p_sw = curbuf->b_p_ts;
Karsten Hopp d62601
--- 8125,8131 ----
Karsten Hopp d62601
      need_mouse_correct = TRUE;
Karsten Hopp d62601
  #endif
Karsten Hopp d62601
  
Karsten Hopp d62601
!     if (curbuf->b_p_sw < 0)
Karsten Hopp d62601
      {
Karsten Hopp d62601
  	errmsg = e_positive;
Karsten Hopp d62601
  	curbuf->b_p_sw = curbuf->b_p_ts;
Karsten Hopp d62601
***************
Karsten Hopp d62601
*** 11419,11421 ****
Karsten Hopp d62601
--- 11419,11431 ----
Karsten Hopp d62601
  {
Karsten Hopp d62601
      return check_opt_strings(p, p_ff_values, FALSE);
Karsten Hopp d62601
  }
Karsten Hopp d62601
+ 
Karsten Hopp d62601
+ /*
Karsten Hopp d62601
+  * Return the effective shiftwidth value for current buffer, using the
Karsten Hopp d62601
+  * 'tabstop' value when 'shiftwidth' is zero.
Karsten Hopp d62601
+  */
Karsten Hopp d62601
+     long
Karsten Hopp d62601
+ get_sw_value()
Karsten Hopp d62601
+ {
Karsten Hopp d62601
+     return curbuf->b_p_sw ? curbuf->b_p_sw : curbuf->b_p_ts;
Karsten Hopp d62601
+ }
Karsten Hopp d62601
*** ../vim-7.3.628/src/proto/option.pro	2011-01-22 00:11:42.000000000 +0100
Karsten Hopp d62601
--- src/proto/option.pro	2012-08-08 17:34:33.000000000 +0200
Karsten Hopp d62601
***************
Karsten Hopp d62601
*** 56,59 ****
Karsten Hopp d62601
--- 56,60 ----
Karsten Hopp d62601
  void save_file_ff __ARGS((buf_T *buf));
Karsten Hopp d62601
  int file_ff_differs __ARGS((buf_T *buf, int ignore_empty));
Karsten Hopp d62601
  int check_ff_value __ARGS((char_u *p));
Karsten Hopp d62601
+ long get_sw_value __ARGS((void));
Karsten Hopp d62601
  /* vim: set ft=c : */
Karsten Hopp d62601
*** ../vim-7.3.628/src/version.c	2012-08-08 17:31:36.000000000 +0200
Karsten Hopp d62601
--- src/version.c	2012-08-08 17:57:48.000000000 +0200
Karsten Hopp d62601
***************
Karsten Hopp d62601
*** 716,717 ****
Karsten Hopp d62601
--- 716,719 ----
Karsten Hopp d62601
  {   /* Add new patch number below this line */
Karsten Hopp d62601
+ /**/
Karsten Hopp d62601
+     629,
Karsten Hopp d62601
  /**/
Karsten Hopp d62601
Karsten Hopp d62601
-- 
Karsten Hopp d62601
hundred-and-one symptoms of being an internet addict:
Karsten Hopp d62601
228. You spend Saturday night making the counter on your home page
Karsten Hopp d62601
     pass that 2000 mark.
Karsten Hopp d62601
Karsten Hopp d62601
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp d62601
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp d62601
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp d62601
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///