Karsten Hopp daeac3
To: vim_dev@googlegroups.com
Karsten Hopp daeac3
Subject: Patch 7.4.284
Karsten Hopp daeac3
Fcc: outbox
Karsten Hopp daeac3
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp daeac3
Mime-Version: 1.0
Karsten Hopp daeac3
Content-Type: text/plain; charset=UTF-8
Karsten Hopp daeac3
Content-Transfer-Encoding: 8bit
Karsten Hopp daeac3
------------
Karsten Hopp daeac3
Karsten Hopp daeac3
Patch 7.4.284
Karsten Hopp daeac3
Problem:    Setting 'langmap' in the modeline can cause trouble.  E.g. mapping
Karsten Hopp daeac3
	    ":" breaks many commands. (Jens-Wolfhard Schicke-Uffmann)
Karsten Hopp daeac3
Solution:   Disallow setting 'langmap' from the modeline.
Karsten Hopp daeac3
Files:	    src/option.c
Karsten Hopp daeac3
Karsten Hopp daeac3
Karsten Hopp daeac3
*** ../vim-7.4.283/src/option.c	2014-05-07 15:10:17.661108310 +0200
Karsten Hopp daeac3
--- src/option.c	2014-05-13 12:11:39.677552445 +0200
Karsten Hopp daeac3
***************
Karsten Hopp daeac3
*** 1652,1658 ****
Karsten Hopp daeac3
  #endif
Karsten Hopp daeac3
  #endif
Karsten Hopp daeac3
  				(char_u *)0L} SCRIPTID_INIT},
Karsten Hopp daeac3
!     {"langmap",     "lmap", P_STRING|P_VI_DEF|P_COMMA|P_NODUP,
Karsten Hopp daeac3
  #ifdef FEAT_LANGMAP
Karsten Hopp daeac3
  			    (char_u *)&p_langmap, PV_NONE,
Karsten Hopp daeac3
  			    {(char_u *)"",	/* unmatched } */
Karsten Hopp daeac3
--- 1652,1658 ----
Karsten Hopp daeac3
  #endif
Karsten Hopp daeac3
  #endif
Karsten Hopp daeac3
  				(char_u *)0L} SCRIPTID_INIT},
Karsten Hopp daeac3
!     {"langmap",     "lmap", P_STRING|P_VI_DEF|P_COMMA|P_NODUP|P_SECURE,
Karsten Hopp daeac3
  #ifdef FEAT_LANGMAP
Karsten Hopp daeac3
  			    (char_u *)&p_langmap, PV_NONE,
Karsten Hopp daeac3
  			    {(char_u *)"",	/* unmatched } */
Karsten Hopp daeac3
*** ../vim-7.4.283/src/version.c	2014-05-09 20:33:01.102790466 +0200
Karsten Hopp daeac3
--- src/version.c	2014-05-13 12:12:21.273552809 +0200
Karsten Hopp daeac3
***************
Karsten Hopp daeac3
*** 736,737 ****
Karsten Hopp daeac3
--- 736,739 ----
Karsten Hopp daeac3
  {   /* Add new patch number below this line */
Karsten Hopp daeac3
+ /**/
Karsten Hopp daeac3
+     284,
Karsten Hopp daeac3
  /**/
Karsten Hopp daeac3
Karsten Hopp daeac3
-- 
Karsten Hopp daeac3
We are the Borg of GNU GPL.  We will assimilate your source code.
Karsten Hopp daeac3
Resistance is futile.
Karsten Hopp daeac3
Karsten Hopp daeac3
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp daeac3
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp daeac3
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp daeac3
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///