|
Karsten Hopp |
80fe19 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
80fe19 |
Subject: Patch 7.3.1265
|
|
Karsten Hopp |
80fe19 |
Fcc: outbox
|
|
Karsten Hopp |
80fe19 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
80fe19 |
Mime-Version: 1.0
|
|
Karsten Hopp |
80fe19 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
80fe19 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
80fe19 |
------------
|
|
Karsten Hopp |
80fe19 |
|
|
Karsten Hopp |
80fe19 |
Patch 7.3.1265 (after 7.3.1249)
|
|
Karsten Hopp |
80fe19 |
Problem: Accepting "Vim:" for a modeline causes errors too often.
|
|
Karsten Hopp |
80fe19 |
Solution: Require "Vim:" to be followed by "set".
|
|
Karsten Hopp |
80fe19 |
Files: src/buffer.c
|
|
Karsten Hopp |
80fe19 |
|
|
Karsten Hopp |
80fe19 |
|
|
Karsten Hopp |
80fe19 |
*** ../vim-7.3.1264/src/buffer.c 2013-06-26 20:04:28.000000000 +0200
|
|
Karsten Hopp |
80fe19 |
--- src/buffer.c 2013-06-29 14:57:59.000000000 +0200
|
|
Karsten Hopp |
80fe19 |
***************
|
|
Karsten Hopp |
80fe19 |
*** 5105,5110 ****
|
|
Karsten Hopp |
80fe19 |
--- 5105,5112 ----
|
|
Karsten Hopp |
80fe19 |
e = s + 3;
|
|
Karsten Hopp |
80fe19 |
vers = getdigits(&e);
|
|
Karsten Hopp |
80fe19 |
if (*e == ':'
|
|
Karsten Hopp |
80fe19 |
+ && (s[0] != 'V'
|
|
Karsten Hopp |
80fe19 |
+ || STRNCMP(skipwhite(e + 1), "set", 3) == 0)
|
|
Karsten Hopp |
80fe19 |
&& (s[3] == ':'
|
|
Karsten Hopp |
80fe19 |
|| (VIM_VERSION_100 >= vers && isdigit(s[3]))
|
|
Karsten Hopp |
80fe19 |
|| (VIM_VERSION_100 < vers && s[3] == '<')
|
|
Karsten Hopp |
80fe19 |
*** ../vim-7.3.1264/src/version.c 2013-06-29 14:47:18.000000000 +0200
|
|
Karsten Hopp |
80fe19 |
--- src/version.c 2013-06-29 15:01:52.000000000 +0200
|
|
Karsten Hopp |
80fe19 |
***************
|
|
Karsten Hopp |
80fe19 |
*** 730,731 ****
|
|
Karsten Hopp |
80fe19 |
--- 730,733 ----
|
|
Karsten Hopp |
80fe19 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
80fe19 |
+ /**/
|
|
Karsten Hopp |
80fe19 |
+ 1265,
|
|
Karsten Hopp |
80fe19 |
/**/
|
|
Karsten Hopp |
80fe19 |
|
|
Karsten Hopp |
80fe19 |
--
|
|
Karsten Hopp |
80fe19 |
You know you use Vim too much when you have this alias in your
|
|
Karsten Hopp |
80fe19 |
~/.bashrc file: alias :e=/bin/vim (Eljay Love-Jensen)
|
|
Karsten Hopp |
80fe19 |
|
|
Karsten Hopp |
80fe19 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
80fe19 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
80fe19 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
80fe19 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|