[vim] - patchlevel 145

Karsten Hopp karsten at fedoraproject.org
Wed Jan 29 16:04:18 UTC 2014


commit 791da15178124453e11faa2dd198e13c79d4aed4
Author: Karsten Hopp <karsten at redhat.com>
Date:   Wed Jan 29 17:03:22 2014 +0100

    - patchlevel 145

 7.4.145 |   75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 75 insertions(+), 0 deletions(-)
---
diff --git a/7.4.145 b/7.4.145
new file mode 100644
index 0000000..aa7b28d
--- /dev/null
+++ b/7.4.145
@@ -0,0 +1,75 @@
+To: vim_dev at googlegroups.com
+Subject: Patch 7.4.145
+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.4.145
+Problem:    getregtype() does not return zero for unknown register.
+Solution:   Adjust documention: return empty string for unknown register.
+	    Check the register name to be valid. (Yukihiro Nakadaira)
+Files:	    runtime/doc/eval.txt, src/ops.c
+
+
+*** ../vim-7.4.144/runtime/doc/eval.txt	2013-11-09 01:44:38.000000000 +0100
+--- runtime/doc/eval.txt	2014-01-14 12:24:35.000000000 +0100
+***************
+*** 3459,3465 ****
+  		    "v"			for |characterwise| text
+  		    "V"			for |linewise| text
+  		    "<CTRL-V>{width}"	for |blockwise-visual| text
+! 		    0			for an empty or unknown register
+  		<CTRL-V> is one character with value 0x16.
+  		If {regname} is not specified, |v:register| is used.
+  
+--- 3460,3466 ----
+  		    "v"			for |characterwise| text
+  		    "V"			for |linewise| text
+  		    "<CTRL-V>{width}"	for |blockwise-visual| text
+! 		    ""			for an empty or unknown register
+  		<CTRL-V> is one character with value 0x16.
+  		If {regname} is not specified, |v:register| is used.
+  
+*** ../vim-7.4.144/src/ops.c	2013-11-21 14:39:58.000000000 +0100
+--- src/ops.c	2014-01-14 12:28:33.000000000 +0100
+***************
+*** 6240,6246 ****
+      regname = may_get_selection(regname);
+  #endif
+  
+!     /* Should we check for a valid name? */
+      get_yank_register(regname, FALSE);
+  
+      if (y_current->y_array != NULL)
+--- 6240,6248 ----
+      regname = may_get_selection(regname);
+  #endif
+  
+!     if (regname != NUL && !valid_yank_reg(regname, FALSE))
+!         return MAUTO;
+! 
+      get_yank_register(regname, FALSE);
+  
+      if (y_current->y_array != NULL)
+*** ../vim-7.4.144/src/version.c	2014-01-14 12:18:41.000000000 +0100
+--- src/version.c	2014-01-14 12:26:13.000000000 +0100
+***************
+*** 740,741 ****
+--- 740,743 ----
+  {   /* Add new patch number below this line */
++ /**/
++     145,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+151. You find yourself engaged to someone you've never actually met,
+     except through e-mail.
+
+ /// 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