SOURCES: 7.0.001-100.gz (NEW), 7.0.101-200.gz (NEW), 7.0.215 (NEW)...

arekm arekm at pld-linux.org
Mon Apr 30 21:51:41 CEST 2007


Author: arekm                        Date: Mon Apr 30 19:51:41 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- new

---- Files affected:
SOURCES:
   7.0.001-100.gz (NONE -> 1.1)  (NEW), 7.0.101-200.gz (NONE -> 1.1)  (NEW), 7.0.215 (NONE -> 1.1)  (NEW), 7.0.217 (NONE -> 1.1)  (NEW), 7.0.218 (NONE -> 1.1)  (NEW), 7.0.219 (NONE -> 1.1)  (NEW), 7.0.220 (NONE -> 1.1)  (NEW), 7.0.221 (NONE -> 1.1)  (NEW), 7.0.222 (NONE -> 1.1)  (NEW), 7.0.223 (NONE -> 1.1)  (NEW), 7.0.224 (NONE -> 1.1)  (NEW), 7.0.225 (NONE -> 1.1)  (NEW), 7.0.226 (NONE -> 1.1)  (NEW), 7.0.227 (NONE -> 1.1)  (NEW), 7.0.228 (NONE -> 1.1)  (NEW), 7.0.229 (NONE -> 1.1)  (NEW), 7.0.230 (NONE -> 1.1)  (NEW), 7.0.231 (NONE -> 1.1)  (NEW), 7.0.232 (NONE -> 1.1)  (NEW), 7.0.233 (NONE -> 1.1)  (NEW), 7.0.234 (NONE -> 1.1)  (NEW), 7.0.235 (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/7.0.001-100.gz
<<Binary file>>

================================================================
Index: SOURCES/7.0.101-200.gz
<<Binary file>>

================================================================
Index: SOURCES/7.0.215
diff -u /dev/null SOURCES/7.0.215:1.1
--- /dev/null	Mon Apr 30 21:51:41 2007
+++ SOURCES/7.0.215	Mon Apr 30 21:51:36 2007
@@ -0,0 +1,86 @@
+To: vim-dev at vim.org
+Subject: patch 7.0.215 (extra)
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.0.215 (extra)
+Problem:    Mac: Scrollbar size isn't set.  Context menu has disabled useless
+	    Help entry.  Call to MoreMasterPointers() is ignored.
+Solution:   Call SetControlViewSize() in gui_mch_set_scrollbar_thumb().  Use
+	    kCMHelpItemRemoveHelp for ContextualMenuSelect().  Remove call to
+	    MoreMasterPointers(). (Nicolas Weber)
+Files:	    src/gui_mac.c
+
+
+*** ../vim-7.0.214/src/gui_mac.c	Tue Oct 17 12:53:31 2006
+--- src/gui_mac.c	Thu Mar  8 16:44:31 2007
+***************
+*** 2800,2808 ****
+  # endif
+  #endif
+  
+-     /* Why did I put that in? (Dany) */
+-     MoreMasterPointers (0x40 * 3); /* we love handles */
+- 
+  #if 0
+      InitCursor();
+  
+--- 2800,2805 ----
+***************
+*** 4966,4971 ****
+--- 4963,4969 ----
+      SetControl32BitMaximum (sb->id, max);
+      SetControl32BitMinimum (sb->id, 0);
+      SetControl32BitValue   (sb->id, val);
++     SetControlViewSize     (sb->id, size);    
+  #ifdef DEBUG_MAC_SB
+      printf("thumb_sb (%x) %x, %x,%x\n",sb->id, val, size, max);
+  #endif
+***************
+*** 5727,5733 ****
+      /* TODO: Get the text selection from Vim */
+  
+      /* Call to Handle Popup */
+!     status = ContextualMenuSelect(CntxMenu, where, false, kCMHelpItemNoHelp,
+  		       HelpName, NULL, &CntxType, &CntxMenuID, &CntxMenuItem);
+  
+      if (status == noErr)
+--- 5725,5731 ----
+      /* TODO: Get the text selection from Vim */
+  
+      /* Call to Handle Popup */
+!     status = ContextualMenuSelect(CntxMenu, where, false, kCMHelpItemRemoveHelp,
+  		       HelpName, NULL, &CntxType, &CntxMenuID, &CntxMenuItem);
+  
+      if (status == noErr)
+*** ../vim-7.0.214/src/version.c	Thu Mar  8 18:16:54 2007
+--- src/version.c	Thu Mar  8 20:38:17 2007
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     215,
+  /**/
+
+-- 
+       When danger reared its ugly head,
+       He bravely turned his tail and fled
+       Yes, Brave Sir Robin turned about
+       And gallantly he chickened out
+       Bravely taking to his feet
+       He beat a very brave retreat
+       Bravest of the brave Sir Robin
+       Petrified of being dead
+       Soiled his pants then brave Sir Robin
+       Turned away and fled.
+                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
+
+ /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\        download, build and distribute -- http://www.A-A-P.org        ///
+ \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

================================================================
Index: SOURCES/7.0.217
diff -u /dev/null SOURCES/7.0.217:1.1
--- /dev/null	Mon Apr 30 21:51:41 2007
+++ SOURCES/7.0.217	Mon Apr 30 21:51:36 2007
@@ -0,0 +1,63 @@
+To: vim-dev at vim.org
+Subject: patch 7.0.217
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.0.217
+Problem:    This hangs when pressing "n": ":%s/\n/,\r/gc". (Ori Avtalion)
+Solution:   Set "skip_match" to advance to the next line.
+Files:	    src/ex_cmds.c
+
+
+*** ../vim-7.0.216/src/ex_cmds.c	Tue Feb 27 16:51:07 2007
+--- src/ex_cmds.c	Thu Mar 15 21:31:35 2007
+***************
+*** 4677,4687 ****
+  			/* For a multi-line match, put matchcol at the NUL at
+  			 * the end of the line and set nmatch to one, so that
+  			 * we continue looking for a match on the next line.
+! 			 * Avoids that ":s/\nB\@=//gc" get stuck. */
+  			if (nmatch > 1)
+  			{
+  			    matchcol = (colnr_T)STRLEN(sub_firstline);
+! 			    nmatch = 1;
+  			}
+  			goto skip;
+  		    }
+--- 4677,4688 ----
+  			/* For a multi-line match, put matchcol at the NUL at
+  			 * the end of the line and set nmatch to one, so that
+  			 * we continue looking for a match on the next line.
+! 			 * Avoids that ":%s/\nB\@=//gc" and ":%s/\n/,\r/gc"
+! 			 * get stuck when pressing 'n'. */
+  			if (nmatch > 1)
+  			{
+  			    matchcol = (colnr_T)STRLEN(sub_firstline);
+! 			    skip_match = TRUE;
+  			}
+  			goto skip;
+  		    }
+*** ../vim-7.0.216/src/version.c	Sun Mar 11 15:53:27 2007
+--- src/version.c	Thu Mar 15 21:36:34 2007
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     217,
+  /**/
+
+-- 
+A mathematician is a device for turning coffee into theorems.
+					Paul Erdos
+A computer programmer is a device for turning coffee into bugs.
+					Bram Moolenaar
+
+ /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\        download, build and distribute -- http://www.A-A-P.org        ///
+ \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

================================================================
Index: SOURCES/7.0.218
diff -u /dev/null SOURCES/7.0.218:1.1
--- /dev/null	Mon Apr 30 21:51:41 2007
+++ SOURCES/7.0.218	Mon Apr 30 21:51:36 2007
@@ -0,0 +1,52 @@
+To: vim-dev at vim.org
+Subject: patch 7.0.218
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.0.218
+Problem:    "%B" in 'statusline' always shows zero in Insert mode. (DervishD)
+Solution:   Remove the exception for Insert mode, check the column for being
+	    valid instead.
+Files:	    src/buffer.c
+
+
+*** ../vim-7.0.217/src/buffer.c	Tue Mar  6 20:27:03 2007
+--- src/buffer.c	Thu Mar 15 22:50:54 2007
+***************
+*** 3710,3716 ****
+  	case STL_BYTEVAL_X:
+  	    base = 'X';
+  	case STL_BYTEVAL:
+! 	    if (((State & INSERT) && wp == curwin) || empty_line)
+  		num = 0;
+  	    else
+  	    {
+--- 3710,3716 ----
+  	case STL_BYTEVAL_X:
+  	    base = 'X';
+  	case STL_BYTEVAL:
+! 	    if (wp->w_cursor.col > STRLEN(linecont))
+  		num = 0;
+  	    else
+  	    {
+*** ../vim-7.0.217/src/version.c	Thu Mar 15 21:38:30 2007
+--- src/version.c	Thu Mar 15 22:54:05 2007
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     218,
+  /**/
+
+-- 
+Vim is like Emacs without all the typing.  (John "Johann" Spetz)
+
+ /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\        download, build and distribute -- http://www.A-A-P.org        ///
+ \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

================================================================
Index: SOURCES/7.0.219
diff -u /dev/null SOURCES/7.0.219:1.1
--- /dev/null	Mon Apr 30 21:51:41 2007
+++ SOURCES/7.0.219	Mon Apr 30 21:51:36 2007
@@ -0,0 +1,132 @@
+To: vim-dev at vim.org
+Subject: patch 7.0.219
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.0.219
+Problem:    When using the 'editexisting.vim' script and a file is being
+	    edited in another tab page the window is split.  The "+123"
+	    argument is not used.
+Solution:   Make the tab page with the file the current tab page.  Set
+	    v:swapcommand when starting up to the first "+123" or "-c" command
+	    line argument.
+Files:	    runtime/macros/editexisting.vim, src/main.c
+
+
+*** ../vim-7.0.218/runtime/macros/editexisting.vim	Sun Apr 30 20:33:40 2006
+--- runtime/macros/editexisting.vim	Sat Mar 17 22:21:30 2007
+***************
+*** 1,6 ****
+  " Vim Plugin:	Edit the file with an existing Vim if possible
+  " Maintainer:	Bram Moolenaar
+! " Last Change:	2006 Apr 30
+  
+  " This is a plugin, drop it in your (Unix) ~/.vim/plugin or (Win32)
+  " $VIM/vimfiles/plugin directory.  Or make a symbolic link, so that you
+--- 1,6 ----
+  " Vim Plugin:	Edit the file with an existing Vim if possible
+  " Maintainer:	Bram Moolenaar
+! " Last Change:	2007 Mar 17
+  
+  " This is a plugin, drop it in your (Unix) ~/.vim/plugin or (Win32)
+  " $VIM/vimfiles/plugin directory.  Or make a symbolic link, so that you
+***************
+*** 85,93 ****
+  " Function used on the server to make the file visible and possibly execute a
+  " command.
+  func! EditExisting(fname, command)
+!   let n = bufwinnr(a:fname)
+!   if n > 0
+!     exe n . "wincmd w"
+    else
+      exe "split " . escape(a:fname, ' #%"|')
+    endif
+--- 85,107 ----
+  " Function used on the server to make the file visible and possibly execute a
+  " command.
+  func! EditExisting(fname, command)
+!   " Get the window number of the file in the current tab page.
+!   let winnr = bufwinnr(a:fname)
+!   if winnr <= 0
+!     " Not found, look in other tab pages.
+!     let bufnr = bufnr(a:fname)
+!     for i in range(tabpagenr('$'))
+!       if index(tabpagebuflist(i + 1), bufnr) >= 0
+! 	" Make this tab page the current one and find the window number.
+! 	exe 'tabnext ' . (i + 1)
+! 	let winnr = bufwinnr(a:fname)
+! 	break;
+!       endif
+!     endfor
+!   endif
+! 
+!   if winnr > 0
+!     exe winnr . "wincmd w"
+    else
+      exe "split " . escape(a:fname, ' #%"|')
+    endif
+*** ../vim-7.0.218/src/main.c	Tue Feb 27 16:51:07 2007
+--- src/main.c	Sun Mar 18 21:51:48 2007
+***************
+*** 798,803 ****
+--- 798,808 ----
+      create_windows(&params);
+      TIME_MSG("opening buffers");
+  
++ #ifdef FEAT_EVAL
++     /* clear v:swapcommand */
++     set_vim_var_string(VV_SWAPCOMMAND, NULL, -1);
++ #endif
++ 
+      /* Ex starts at last line of the file */
+      if (exmode_active)
+  	curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
+***************
+*** 2202,2207 ****
+--- 2207,2227 ----
+  	    argv_idx = 1;
+  	}
+      }
++ 
++ #ifdef FEAT_EVAL
++     /* If there is a "+123" or "-c" command, set v:swapcommand to the first
++      * one. */
++     if (parmp->n_commands > 0)
++     {
++ 	p = alloc((unsigned)STRLEN(parmp->commands[0]) + 3);
++ 	if (p != NULL)
++ 	{
++ 	    sprintf((char *)p, ":%s\r", parmp->commands[0]);
++ 	    set_vim_var_string(VV_SWAPCOMMAND, p, -1);
++ 	    vim_free(p);
++ 	}
++     }
++ #endif
+  }
+  
+  /*
+*** ../vim-7.0.218/src/version.c	Thu Mar 15 22:54:51 2007
+--- src/version.c	Sun Mar 18 21:49:11 2007
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     219,
+  /**/
+
+-- 
+FATHER:    You only killed the bride's father - that's all -
+LAUNCELOT: Oh dear, I didn't really mean to...
+FATHER:    Didn't mean to?  You put your sword right through his head!
+LAUNCELOT: Gosh - Is he all right?
+                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
+
+ /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\        download, build and distribute -- http://www.A-A-P.org        ///
+ \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

================================================================
Index: SOURCES/7.0.220
diff -u /dev/null SOURCES/7.0.220:1.1
--- /dev/null	Mon Apr 30 21:51:41 2007
+++ SOURCES/7.0.220	Mon Apr 30 21:51:36 2007
@@ -0,0 +1,53 @@
+To: vim-dev at vim.org
+Subject: patch 7.0.220
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.0.220
+Problem:    Crash when using winnr('#') in a new tab page. (Andy Wokula)
+Solution:   Check for not finding the window.
+Files:	    src/eval.c
+
+
+*** ../vim-7.0.219/src/eval.c	Tue Feb 20 03:18:20 2007
+--- src/eval.c	Sun Mar 25 17:43:53 2007
+***************
+*** 15769,15775 ****
+--- 15769,15783 ----
+      if (nr > 0)
+  	for (wp = (tp == curtab) ? firstwin : tp->tp_firstwin;
+  					      wp != twin; wp = wp->w_next)
++ 	{
++ 	    if (wp == NULL)
++ 	    {
++ 		/* didn't find it in this tabpage */
++ 		nr = 0;
++ 		break;
++ 	    }
+  	    ++nr;
++ 	}
+      return nr;
+  }
+  #endif
+*** ../vim-7.0.219/src/version.c	Sun Mar 18 21:52:09 2007
+--- src/version.c	Sun Mar 25 17:48:20 2007
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     220,
+  /**/
+
+-- 
+Men may not be seen publicly in any kind of strapless gown.
+		[real standing law in Florida, United States of America]
+
+ /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\        download, build and distribute -- http://www.A-A-P.org        ///
+ \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

================================================================
Index: SOURCES/7.0.221
diff -u /dev/null SOURCES/7.0.221:1.1
--- /dev/null	Mon Apr 30 21:51:41 2007
+++ SOURCES/7.0.221	Mon Apr 30 21:51:36 2007
@@ -0,0 +1,82 @@
+To: vim-dev at vim.org
+Subject: patch 7.0.221
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.0.221
+Problem:    finddir() uses 'path' by default, where "." means relative to the
+	    current file.  But it works relative to the current directory.
+	    (Tye Zdrojewski)
+Solution:   Add the current buffer name to find_file_in_path_option() for the
+	    relative file name.
+Files:	    runtime/doc/eval.txt, src/eval.c
+
+
+*** ../vim-7.0.220/runtime/doc/eval.txt	Sun Feb  4 02:59:04 2007
+--- runtime/doc/eval.txt	Mon Mar 26 20:49:06 2007
+***************
+*** 2541,2550 ****
+  
+  
+  finddir({name}[, {path}[, {count}]])				*finddir()*
+! 		Find directory {name} in {path}.  Returns the path of the
+! 		first found match.  When the found directory is below the
+! 		current directory a relative path is returned.  Otherwise a
+! 		full path is returned.
+  		If {path} is omitted or empty then 'path' is used.
+  		If the optional {count} is given, find {count}'s occurrence of
+  		{name} in {path} instead of the first one.
+--- 2565,2576 ----
+  
+  
+  finddir({name}[, {path}[, {count}]])				*finddir()*
+! 		Find directory {name} in {path}.  Supports both downwards and
+! 		upwards recursive directory searches.  See |file-searching|
+! 		for the syntax of {path}.
+! 		Returns the path of the first found match.  When the found
+! 		directory is below the current directory a relative path is
+! 		returned.  Otherwise a full path is returned.
+  		If {path} is omitted or empty then 'path' is used.
+  		If the optional {count} is given, find {count}'s occurrence of
+  		{name} in {path} instead of the first one.
+*** ../vim-7.0.220/src/eval.c	Sun Mar 25 17:50:22 2007
+--- src/eval.c	Sun Mar 25 17:43:53 2007
+***************
+*** 9195,9201 ****
+  		vim_free(fresult);
+  	    fresult = find_file_in_path_option(first ? fname : NULL,
+  					       first ? (int)STRLEN(fname) : 0,
+! 					0, first, path, dir, NULL,
+  					dir ? (char_u *)"" : curbuf->b_p_sua);
+  	    first = FALSE;
+  
+--- 9195,9201 ----
+  		vim_free(fresult);
+  	    fresult = find_file_in_path_option(first ? fname : NULL,
+  					       first ? (int)STRLEN(fname) : 0,
+! 					0, first, path, dir, curbuf->b_ffname,
+  					dir ? (char_u *)"" : curbuf->b_p_sua);
+  	    first = FALSE;
+  
+*** ../vim-7.0.220/src/version.c	Sun Mar 25 17:50:22 2007
+--- src/version.c	Tue Mar 27 10:16:35 2007
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     221,
+  /**/
+
+-- 
+Beer & pretzels can't be served at the same time in any bar or restaurant.
+		[real standing law in North Dakota, United States of America]
+
+ /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\        download, build and distribute -- http://www.A-A-P.org        ///
+ \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

================================================================
Index: SOURCES/7.0.222
diff -u /dev/null SOURCES/7.0.222:1.1
--- /dev/null	Mon Apr 30 21:51:41 2007
+++ SOURCES/7.0.222	Mon Apr 30 21:51:36 2007
@@ -0,0 +1,137 @@
+To: vim-dev at vim.org
+Subject: patch 7.0.222
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.0.222
+Problem:    Perl indenting using 'cindent' works almost right.
+Solution:   Recognize '#' to start a comment. (Alex Manoussakis)  Added '#'
+	    flag in 'cinoptions'.
+Files:	    runtime/doc/indent.txt, src/misc1.c
+
+
+*** ../vim-7.0.221/runtime/doc/indent.txt	Sun May  7 17:00:59 2006
+--- runtime/doc/indent.txt	Sat Mar 17 16:27:57 2007
+***************
+*** 1,4 ****
+! *indent.txt*    For Vim version 7.0.  Last change: 2006 Apr 30
+  
+  
+  		  VIM REFERENCE MANUAL    by Bram Moolenaar
+--- 1,4 ----
+! *indent.txt*    For Vim version 7.0.  Last change: 2007 Mar 17
+  
+  
+  		  VIM REFERENCE MANUAL    by Bram Moolenaar
+***************
+*** 434,443 ****
+  	      limits the time needed to search for the start of a comment.
+  	      (default 30 lines).
+  
+  
+  The defaults, spelled out in full, are:
+  	cinoptions=>s,e0,n0,f0,{0,}0,^0,:s,=s,l0,b0,gs,hs,ps,ts,is,+s,c3,C0,
+! 		   /0,(2s,us,U0,w0,W0,m0,j0,)20,*30
+  
+  Vim puts a line in column 1 if:
+  - It starts with '#' (preprocessor directives), if 'cinkeys' contains '#'.
+--- 434,448 ----
+  	      limits the time needed to search for the start of a comment.
+  	      (default 30 lines).
+  
++ 	#N    When N is non-zero recognize shell/Perl comments, starting with
++ 	      '#'.  Default N is zero: don't recognizes '#' comments.  Note
++ 	      that lines starting with # will still be seen as preprocessor
++ 	      lines.
++ 
+  
+  The defaults, spelled out in full, are:
+  	cinoptions=>s,e0,n0,f0,{0,}0,^0,:s,=s,l0,b0,gs,hs,ps,ts,is,+s,c3,C0,
+! 		   /0,(2s,us,U0,w0,W0,m0,j0,)20,*30,#0
+  
+  Vim puts a line in column 1 if:
+  - It starts with '#' (preprocessor directives), if 'cinkeys' contains '#'.
+*** ../vim-7.0.221/src/misc1.c	Tue Oct 24 21:15:09 2006
+--- src/misc1.c	Sat Mar 17 16:36:00 2007
+***************
+*** 4796,4803 ****
+--- 4796,4806 ----
+  static int	find_last_paren __ARGS((char_u *l, int start, int end));
+  static int	find_match __ARGS((int lookfor, linenr_T ourscope, int ind_maxparen, int ind_maxcomment));
+  
++ static int	ind_hash_comment = 0;   /* # starts a comment */
++ 
+  /*
+   * Skip over white space and C comments within the line.
++  * Also skip over Perl/shell comments if desired.
+   */
+      static char_u *
+  cin_skipcomment(s)
+***************
+*** 4805,4811 ****
+--- 4808,4824 ----
+  {
+      while (*s)
+      {
++ 	char_u *prev_s = s;
++ 
<<Diff was trimmed, longer than 597 lines>>


More information about the pld-cvs-commit mailing list