[vim/f18] - patchlevel 641

Karsten Hopp karsten at fedoraproject.org
Thu Oct 4 21:36:55 UTC 2012


commit 3cdf729f5f63fa78a75f073923f400bdd42ea298
Author: Karsten Hopp <karsten at redhat.com>
Date:   Fri Oct 5 00:35:44 2012 +0200

    - patchlevel 641

 7.3.641 |   68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 68 insertions(+), 0 deletions(-)
---
diff --git a/7.3.641 b/7.3.641
new file mode 100644
index 0000000..daacdb4
--- /dev/null
+++ b/7.3.641
@@ -0,0 +1,68 @@
+To: vim_dev at googlegroups.com
+Subject: Patch 7.3.641
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.3.641
+Problem:    ":mkview" uses ":normal" instead of ":normal!" for folds. (Dan)
+Solution:   Add the bang. (Christian Brabandt)
+Files:	    src/fold.c
+
+
+*** ../vim-7.3.640/src/fold.c	2012-08-08 18:01:00.000000000 +0200
+--- src/fold.c	2012-08-29 15:17:39.000000000 +0200
+***************
+*** 3373,3379 ****
+  		/* open nested folds while this fold is open */
+  		if (fprintf(fd, "%ld", fp->fd_top + off) < 0
+  			|| put_eol(fd) == FAIL
+! 			|| put_line(fd, "normal zo") == FAIL)
+  		    return FAIL;
+  		if (put_foldopen_recurse(fd, wp, &fp->fd_nested,
+  							     off + fp->fd_top)
+--- 3373,3379 ----
+  		/* open nested folds while this fold is open */
+  		if (fprintf(fd, "%ld", fp->fd_top + off) < 0
+  			|| put_eol(fd) == FAIL
+! 			|| put_line(fd, "normal! zo") == FAIL)
+  		    return FAIL;
+  		if (put_foldopen_recurse(fd, wp, &fp->fd_nested,
+  							     off + fp->fd_top)
+***************
+*** 3417,3423 ****
+  {
+      if (fprintf(fd, "%ld", fp->fd_top + off) < 0
+  	    || put_eol(fd) == FAIL
+! 	    || fprintf(fd, "normal z%c",
+  			   fp->fd_flags == FD_CLOSED ? 'c' : 'o') < 0
+  	    || put_eol(fd) == FAIL)
+  	return FAIL;
+--- 3417,3423 ----
+  {
+      if (fprintf(fd, "%ld", fp->fd_top + off) < 0
+  	    || put_eol(fd) == FAIL
+! 	    || fprintf(fd, "normal! z%c",
+  			   fp->fd_flags == FD_CLOSED ? 'c' : 'o') < 0
+  	    || put_eol(fd) == FAIL)
+  	return FAIL;
+*** ../vim-7.3.640/src/version.c	2012-08-29 14:23:06.000000000 +0200
+--- src/version.c	2012-08-29 15:18:26.000000000 +0200
+***************
+*** 721,722 ****
+--- 721,724 ----
+  {   /* Add new patch number below this line */
++ /**/
++     641,
+  /**/
+
+-- 
+You cannot propel yourself forward by patting yourself on the back.
+
+ /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\  an exciting new programming language -- http://www.Zimbu.org        ///
+ \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///


More information about the scm-commits mailing list