SOURCES: 7.1.245 (NEW), 7.1.246 (NEW), 7.1.247 (NEW), 7.1.248 (NEW...

adamg adamg at pld-linux.org
Fri Mar 14 23:10:40 CET 2008


Author: adamg                        Date: Fri Mar 14 22:10:40 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- new

---- Files affected:
SOURCES:
   7.1.245 (NONE -> 1.1)  (NEW), 7.1.246 (NONE -> 1.1)  (NEW), 7.1.247 (NONE -> 1.1)  (NEW), 7.1.248 (NONE -> 1.1)  (NEW), 7.1.249 (NONE -> 1.1)  (NEW), 7.1.250 (NONE -> 1.1)  (NEW), 7.1.251 (NONE -> 1.1)  (NEW), 7.1.252 (NONE -> 1.1)  (NEW), 7.1.253 (NONE -> 1.1)  (NEW), 7.1.254 (NONE -> 1.1)  (NEW), 7.1.255 (NONE -> 1.1)  (NEW), 7.1.256 (NONE -> 1.1)  (NEW), 7.1.257 (NONE -> 1.1)  (NEW), 7.1.258 (NONE -> 1.1)  (NEW), 7.1.259 (NONE -> 1.1)  (NEW), 7.1.260 (NONE -> 1.1)  (NEW), 7.1.261 (NONE -> 1.1)  (NEW), 7.1.262 (NONE -> 1.1)  (NEW), 7.1.263 (NONE -> 1.1)  (NEW), 7.1.264 (NONE -> 1.1)  (NEW), 7.1.265 (NONE -> 1.1)  (NEW), 7.1.266 (NONE -> 1.1)  (NEW), 7.1.267 (NONE -> 1.1)  (NEW), 7.1.268 (NONE -> 1.1)  (NEW), 7.1.269 (NONE -> 1.1)  (NEW), 7.1.270 (NONE -> 1.1)  (NEW), 7.1.271 (NONE -> 1.1)  (NEW), 7.1.272 (NONE -> 1.1)  (NEW), 7.1.273 (NONE -> 1.1)  (NEW), 7.1.274 (NONE -> 1.1)  (NEW), 7.1.275 (NONE -> 1.1)  (NEW), 7.1.276 (NONE -> 1.1)  (NEW), 7.1.277 (NONE -> 1.1)  (NEW
 ), 7.1.278 (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/7.1.245
diff -u /dev/null SOURCES/7.1.245:1.1
--- /dev/null	Fri Mar 14 23:10:40 2008
+++ SOURCES/7.1.245	Fri Mar 14 23:10:34 2008
@@ -0,0 +1,92 @@
+To: vim-dev at vim.org
+Subject: Patch 7.1.245
+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.1.245
+Problem:    Pressing CTRL-\ three times causes Vim to quit.  (Ranganath Rao).
+	    Also for f CTRL-\ CTRL-\.
+Solution:   When going to cooked mode in mch_delay() set a flag to ignore
+	    SIGQUIT.
+Files:	    src/os_unix.c
+
+
+*** ../vim-7.1.244/src/os_unix.c	Sun Jan 13 16:30:23 2008
+--- src/os_unix.c	Sun Feb 10 22:07:27 2008
+***************
+*** 195,200 ****
+--- 195,201 ----
+  static int	show_shell_mess = TRUE;
+  #endif
+  static int	deadly_signal = 0;	    /* The signal we caught */
++ static int	in_mch_delay = FALSE;	    /* sleeping in mch_delay() */
+  
+  static int curr_tmode = TMODE_COOK;	/* contains current terminal mode */
+  
+***************
+*** 538,544 ****
+      if (ignoreinput)
+      {
+  	/* Go to cooked mode without echo, to allow SIGINT interrupting us
+! 	 * here */
+  	old_tmode = curr_tmode;
+  	if (curr_tmode == TMODE_RAW)
+  	    settmode(TMODE_SLEEP);
+--- 539,547 ----
+      if (ignoreinput)
+      {
+  	/* Go to cooked mode without echo, to allow SIGINT interrupting us
+! 	 * here.  But we don't want QUIT to kill us (CTRL-\ used in a
+! 	 * shell may produce SIGQUIT). */
+! 	in_mch_delay = TRUE;
+  	old_tmode = curr_tmode;
+  	if (curr_tmode == TMODE_RAW)
+  	    settmode(TMODE_SLEEP);
+***************
+*** 602,607 ****
+--- 605,611 ----
+  #endif
+  
+  	settmode(old_tmode);
++ 	in_mch_delay = FALSE;
+      }
+      else
+  	WaitForChar(msec);
+***************
+*** 922,927 ****
+--- 926,939 ----
+  #endif
+  
+  #ifdef SIGHASARG
++ # ifdef SIGQUIT
++     /* While in mch_delay() we go to cooked mode to allow a CTRL-C to
++      * interrupt us.  But in cooked mode we may also get SIGQUIT, e.g., when
++      * pressing CTRL-\, but we don't want Vim to exit then. */
++     if (in_mch_delay && sigarg == SIGQUIT)
++ 	SIGRETURN;
++ # endif
++ 
+      /* When SIGHUP, SIGQUIT, etc. are blocked: postpone the effect and return
+       * here.  This avoids that a non-reentrant function is interrupted, e.g.,
+       * free().  Calling free() again may then cause a crash. */
+*** ../vim-7.1.244/src/version.c	Wed Feb  6 17:33:19 2008
+--- src/version.c	Sun Feb 10 22:04:09 2008
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     245,
+  /**/
+
+-- 
+Me?  A skeptic?  I trust you have proof.
+
+ /// 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.1.246
diff -u /dev/null SOURCES/7.1.246:1.1
--- /dev/null	Fri Mar 14 23:10:40 2008
+++ SOURCES/7.1.246	Fri Mar 14 23:10:34 2008
@@ -0,0 +1,72 @@
+To: vim-dev at vim.org
+Subject: Patch 7.1.246
+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.1.246
+Problem:    Configure hangs when the man pager is something strange. (lorien)
+Solution:   Set MANPAGER and PAGER to "cat". (Micah Cowan)
+Files:	    src/auto/configure, src/configure.in
+
+
+*** ../vim-7.1.245/src/auto/configure	Tue Jan  1 16:25:33 2008
+--- src/auto/configure	Wed Feb 13 10:22:56 2008
+***************
+*** 14259,14265 ****
+  echo "$as_me:$LINENO: checking how to run man with a section nr" >&5
+  echo $ECHO_N "checking how to run man with a section nr... $ECHO_C" >&6
+  MANDEF="man"
+! (eval man -s 2 read) < /dev/null > /dev/null 2>&5 && MANDEF="man -s"
+  echo "$as_me:$LINENO: result: $MANDEF" >&5
+  echo "${ECHO_T}$MANDEF" >&6
+  if test "$MANDEF" = "man -s"; then
+--- 14259,14265 ----
+  echo "$as_me:$LINENO: checking how to run man with a section nr" >&5
+  echo $ECHO_N "checking how to run man with a section nr... $ECHO_C" >&6
+  MANDEF="man"
+! (eval MANPAGER=cat PAGER=cat man -s 2 read) < /dev/null > /dev/null 2>&5 && MANDEF="man -s"
+  echo "$as_me:$LINENO: result: $MANDEF" >&5
+  echo "${ECHO_T}$MANDEF" >&6
+  if test "$MANDEF" = "man -s"; then
+*** ../vim-7.1.245/src/configure.in	Tue Jan  1 16:25:33 2008
+--- src/configure.in	Fri Jan 25 20:51:51 2008
+***************
+*** 2726,2732 ****
+  dnl Check how we can run man with a section number
+  AC_MSG_CHECKING(how to run man with a section nr)
+  MANDEF="man"
+! (eval man -s 2 read) < /dev/null > /dev/null 2>&AC_FD_CC && MANDEF="man -s"
+  AC_MSG_RESULT($MANDEF)
+  if test "$MANDEF" = "man -s"; then
+    AC_DEFINE(USEMAN_S)
+--- 2726,2732 ----
+  dnl Check how we can run man with a section number
+  AC_MSG_CHECKING(how to run man with a section nr)
+  MANDEF="man"
+! (eval MANPAGER=cat PAGER=cat man -s 2 read) < /dev/null > /dev/null 2>&AC_FD_CC && MANDEF="man -s"
+  AC_MSG_RESULT($MANDEF)
+  if test "$MANDEF" = "man -s"; then
+    AC_DEFINE(USEMAN_S)
+*** ../vim-7.1.245/src/version.c	Sun Feb 10 22:25:12 2008
+--- src/version.c	Wed Feb 13 10:26:47 2008
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     246,
+  /**/
+
+-- 
+Anyone who is capable of getting themselves made President should on no
+account be allowed to do the job.
+		-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
+
+ /// 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.1.247
diff -u /dev/null SOURCES/7.1.247:1.1
--- /dev/null	Fri Mar 14 23:10:40 2008
+++ SOURCES/7.1.247	Fri Mar 14 23:10:34 2008
@@ -0,0 +1,162 @@
+To: vim-dev at vim.org
+Subject: Patch 7.1.247
+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.1.247
+Problem:    When using Netbeans backspacing in Insert mode skips a character
+	    now and then. (Ankit Jain)
+Solution:   Avoid calling netbeans_removed(), it frees the line pointer.
+	    (partly by Dominique Pelle).
+Files:	    src/misc1.c
+
+
+*** ../vim-7.1.246/src/misc1.c	Sat Jan 19 15:55:51 2008
+--- src/misc1.c	Wed Feb 13 10:56:16 2008
+***************
+*** 2270,2282 ****
+      /*
+       * If the old line has been allocated the deletion can be done in the
+       * existing line. Otherwise a new line has to be allocated
+       */
+-     was_alloced = ml_line_alloced();	    /* check if oldp was allocated */
+  #ifdef FEAT_NETBEANS_INTG
+!     if (was_alloced && usingNetbeans)
+! 	netbeans_removed(curbuf, lnum, col, count);
+!     /* else is handled by ml_replace() */
+  #endif
+      if (was_alloced)
+  	newp = oldp;			    /* use same allocated memory */
+      else
+--- 2270,2285 ----
+      /*
+       * If the old line has been allocated the deletion can be done in the
+       * existing line. Otherwise a new line has to be allocated
++      * Can't do this when using Netbeans, because we would need to invoke
++      * netbeans_removed(), which deallocates the line.  Let ml_replace() take
++      * care of notifiying Netbeans.
+       */
+  #ifdef FEAT_NETBEANS_INTG
+!     if (usingNetbeans)
+! 	was_alloced = FALSE;
+!     else
+  #endif
++ 	was_alloced = ml_line_alloced();    /* check if oldp was allocated */
+      if (was_alloced)
+  	newp = oldp;			    /* use same allocated memory */
+      else
+***************
+*** 3978,3984 ****
+  	    /* remove trailing path separator */
+  #ifndef MACOS_CLASSIC
+  	    /* With MacOS path (with  colons) the final colon is required */
+! 	    /* to avoid confusion between absoulute and relative path */
+  	    if (pend > p && after_pathsep(p, pend))
+  		--pend;
+  #endif
+--- 3981,3987 ----
+  	    /* remove trailing path separator */
+  #ifndef MACOS_CLASSIC
+  	    /* With MacOS path (with  colons) the final colon is required */
+! 	    /* to avoid confusion between absolute and relative path */
+  	    if (pend > p && after_pathsep(p, pend))
+  		--pend;
+  #endif
+***************
+*** 5689,5695 ****
+  	    else if (lookfor_ctor_init || class_or_struct)
+  	    {
+  		/* we have something found, that looks like the start of
+! 		 * cpp-base-class-declaration or contructor-initialization */
+  		cpp_base_class = TRUE;
+  		lookfor_ctor_init = class_or_struct = FALSE;
+  		*col = 0;
+--- 5692,5698 ----
+  	    else if (lookfor_ctor_init || class_or_struct)
+  	    {
+  		/* we have something found, that looks like the start of
+! 		 * cpp-base-class-declaration or constructor-initialization */
+  		cpp_base_class = TRUE;
+  		lookfor_ctor_init = class_or_struct = FALSE;
+  		*col = 0;
+***************
+*** 6146,6152 ****
+      pos_T	our_paren_pos;
+      char_u	*start;
+      int		start_brace;
+! #define BRACE_IN_COL0		1	    /* '{' is in comumn 0 */
+  #define BRACE_AT_START		2	    /* '{' is at start of line */
+  #define BRACE_AT_END		3	    /* '{' is at end of line */
+      linenr_T	ourscope;
+--- 6149,6155 ----
+      pos_T	our_paren_pos;
+      char_u	*start;
+      int		start_brace;
+! #define BRACE_IN_COL0		1	    /* '{' is in column 0 */
+  #define BRACE_AT_START		2	    /* '{' is at start of line */
+  #define BRACE_AT_END		3	    /* '{' is at end of line */
+      linenr_T	ourscope;
+***************
+*** 6369,6375 ****
+  		    if (curwin->w_cursor.lnum > 1)
+  		    {
+  			/* If the start comment string matches in the previous
+! 			 * line, use the indent of that line pluss offset.  If
+  			 * the middle comment string matches in the previous
+  			 * line, use the indent of that line.  XXX */
+  			look = skipwhite(ml_get(curwin->w_cursor.lnum - 1));
+--- 6372,6378 ----
+  		    if (curwin->w_cursor.lnum > 1)
+  		    {
+  			/* If the start comment string matches in the previous
+! 			 * line, use the indent of that line plus offset.  If
+  			 * the middle comment string matches in the previous
+  			 * line, use the indent of that line.  XXX */
+  			look = skipwhite(ml_get(curwin->w_cursor.lnum - 1));
+***************
+*** 8222,8228 ****
+  
+  		    if (*that && *that != ';') /* not a comment line */
+  		    {
+! 			/* test *that != '(' to accomodate first let/do
+  			 * argument if it is more than one line */
+  			if (!vi_lisp && *that != '(' && *that != '[')
+  			    firsttry++;
+--- 8225,8231 ----
+  
+  		    if (*that && *that != ';') /* not a comment line */
+  		    {
+! 			/* test *that != '(' to accommodate first let/do
+  			 * argument if it is more than one line */
+  			if (!vi_lisp && *that != '(' && *that != '[')
+  			    firsttry++;
+*** ../vim-7.1.246/src/version.c	Wed Feb 13 10:27:28 2008
+--- src/version.c	Wed Feb 13 10:56:42 2008
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     247,
+  /**/
+
+-- 
+Far back in the mists of ancient time, in the great and glorious days of the
+former Galactic Empire, life was wild, rich and largely tax free.
+Mighty starships plied their way between exotic suns, seeking adventure and
+reward among the furthest reaches of Galactic space.  In those days, spirits
+were brave, the stakes were high, men were real men, women were real women
+and small furry creatures from Alpha Centauri were real small furry creatures
+from Alpha Centauri.  And all dared to brave unknown terrors, to do mighty
+deeds, to boldly split infinitives that no man had split before -- and thus
+was the Empire forged.
+		-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
+
+ /// 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.1.248
diff -u /dev/null SOURCES/7.1.248:1.1
--- /dev/null	Fri Mar 14 23:10:41 2008
+++ SOURCES/7.1.248	Fri Mar 14 23:10:34 2008
@@ -0,0 +1,138 @@
+To: vim-dev at vim.org
+Subject: Patch 7.1.248
+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.1.248
+Problem:    Can't set the '" mark.  Can't know if setpos() was successful.
+Solution:   Allow setting the '" mark with setpos().  Have setpos() return a
+	    value indicating success/failure.
+Files:	    runtime/doc/eval.txt, src/eval.c, src/mark.c
+
+
+*** ../vim-7.1.247/runtime/doc/eval.txt	Sat Jan 12 16:45:25 2008
+--- runtime/doc/eval.txt	Wed Feb 13 11:49:16 2008
+***************
+*** 1,4 ****
+! *eval.txt*      For Vim version 7.1.  Last change: 2008 Jan 11
+  
+  
+  		  VIM REFERENCE MANUAL    by Bram Moolenaar
+--- 1,4 ----
+! *eval.txt*      For Vim version 7.1.  Last change: 2008 Feb 13
+  
+  
+  		  VIM REFERENCE MANUAL    by Bram Moolenaar
+***************
+*** 4523,4528 ****
+--- 4528,4536 ----
+  		character.  E.g., a position within a <Tab> or after the last
+  		character.
+  
++ 		Returns 0 when the position could be set, -1 otherwise.
++ 		An error message is given if {expr} is invalid.
++ 
+  		Also see |getpos()|
+  
+  		This does not restore the preferred column for moving
+*** ../vim-7.1.247/src/eval.c	Tue Jan 22 11:58:41 2008
+--- src/eval.c	Wed Feb 13 11:54:09 2008
+***************
+*** 14776,14799 ****
+      int		fnum;
+      char_u	*name;
+  
+      name = get_tv_string_chk(argvars);
+      if (name != NULL)
+      {
+  	if (list2fpos(&argvars[1], &pos, &fnum) == OK)
+  	{
+  	    --pos.col;
+! 	    if (name[0] == '.')		/* cursor */
+  	    {
+  		if (fnum == curbuf->b_fnum)
+  		{
+  		    curwin->w_cursor = pos;
+  		    check_cursor();
+  		}
+  		else
+  		    EMSG(_(e_invarg));
+  	    }
+! 	    else if (name[0] == '\'')	/* mark */
+! 		(void)setmark_pos(name[1], &pos, fnum);
+  	    else
+  		EMSG(_(e_invarg));
+  	}
+--- 14778,14808 ----
+      int		fnum;
+      char_u	*name;
+  
++     rettv->vval.v_number = -1;
+      name = get_tv_string_chk(argvars);
+      if (name != NULL)
+      {
+  	if (list2fpos(&argvars[1], &pos, &fnum) == OK)
+  	{
+  	    --pos.col;
+! 	    if (name[0] == '.' && name[1] == NUL)
+  	    {
++ 		/* set cursor */
+  		if (fnum == curbuf->b_fnum)
+  		{
+  		    curwin->w_cursor = pos;
+  		    check_cursor();
++ 		    rettv->vval.v_number = 0;
+  		}
+  		else
+  		    EMSG(_(e_invarg));
+  	    }
+! 	    else if (name[0] == '\'' && name[1] != NUL && name[2] == NUL)
+! 	    {
+! 		/* set mark */
+! 		if (setmark_pos(name[1], &pos, fnum) == OK)
+! 		    rettv->vval.v_number = 0;
+! 	    }
+  	    else
+  		EMSG(_(e_invarg));
+  	}
+*** ../vim-7.1.247/src/mark.c	Thu Jan  3 20:21:34 2008
+--- src/mark.c	Wed Feb 13 11:42:30 2008
+***************
+*** 79,84 ****
+--- 79,90 ----
+  	return OK;
+      }
+  
++     if (c == '"')
++     {
++ 	curbuf->b_last_cursor = *pos;
++ 	return OK;
++     }
++ 
+      /* Allow setting '[ and '] for an autocommand that simulates reading a
+       * file. */
+      if (c == '[')
+*** ../vim-7.1.247/src/version.c	Wed Feb 13 10:57:11 2008
+--- src/version.c	Wed Feb 13 12:39:23 2008
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     248,
+  /**/
+
+-- 
+"Making it up?  Why should I want to make anything up?  Life's bad enough
+as it is without wanting to invent any more of it."
+		-- Marvin, the Paranoid Android in Douglas Adams'
+		   "The Hitchhiker's Guide to the Galaxy"
+
+ /// 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.1.249
diff -u /dev/null SOURCES/7.1.249:1.1
--- /dev/null	Fri Mar 14 23:10:41 2008
+++ SOURCES/7.1.249	Fri Mar 14 23:10:34 2008
@@ -0,0 +1,76 @@
+To: vim-dev at vim.org
+Subject: Patch 7.1.249
+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.1.249
+Problem:    After "U" the cursor can be past end of line.  (Adri Verhoef)
+Solution:   Adjust the cursor position in u_undoline().
+Files:	    src/undo.c
+
+
+*** ../vim-7.1.248/src/undo.c	Sat Nov 10 22:50:20 2007
+--- src/undo.c	Wed Feb 13 15:17:54 2008
+***************
+*** 1814,1826 ****
+      if (undo_off)
+  	return;
+  
+!     if (curbuf->b_u_line_ptr == NULL ||
+! 			curbuf->b_u_line_lnum > curbuf->b_ml.ml_line_count)
+      {
+  	beep_flush();
+  	return;
+      }
+! 	/* first save the line for the 'u' command */
+      if (u_savecommon(curbuf->b_u_line_lnum - 1,
+  				curbuf->b_u_line_lnum + 1, (linenr_T)0) == FAIL)
+  	return;
+--- 1814,1827 ----
+      if (undo_off)
+  	return;
+  
+!     if (curbuf->b_u_line_ptr == NULL
+! 			|| curbuf->b_u_line_lnum > curbuf->b_ml.ml_line_count)
+      {
+  	beep_flush();
+  	return;
+      }
+! 
+!     /* first save the line for the 'u' command */
+      if (u_savecommon(curbuf->b_u_line_lnum - 1,
+  				curbuf->b_u_line_lnum + 1, (linenr_T)0) == FAIL)
+  	return;
+***************
+*** 1840,1845 ****
+--- 1841,1847 ----
+  	curbuf->b_u_line_colnr = curwin->w_cursor.col;
+      curwin->w_cursor.col = t;
+      curwin->w_cursor.lnum = curbuf->b_u_line_lnum;
++     check_cursor_col();
+  }
+  
+  /*
+*** ../vim-7.1.248/src/version.c	Wed Feb 13 12:41:30 2008
+--- src/version.c	Wed Feb 13 15:20:12 2008
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     249,
+  /**/
+
+-- 
+How To Keep A Healthy Level Of Insanity:
+1. At lunch time, sit in your parked car with sunglasses on and point
+   a hair dryer at passing cars. See if they slow down.
+
+ /// 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.1.250
diff -u /dev/null SOURCES/7.1.250:1.1
--- /dev/null	Fri Mar 14 23:10:41 2008
+++ SOURCES/7.1.250	Fri Mar 14 23:10:34 2008
@@ -0,0 +1,54 @@
+To: vim-dev at vim.org
+Subject: Patch 7.1.250
+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.1.250
+Problem:    ":setglobal fenc=anything" gives an error message in a buffer
+	    where 'modifiable' is off.  (Ben Schmidt)
+Solution:   Don't give an error if 'modifiable' doesn't matter.
+Files:	    src/option.c
+
+
+*** ../vim-7.1.249/src/option.c	Sat Jan 19 15:55:51 2008
+--- src/option.c	Wed Feb 13 18:31:39 2008
+***************
+*** 5671,5677 ****
+      {
<<Diff was trimmed, longer than 597 lines>>


More information about the pld-cvs-commit mailing list